Searched defs:CStr (Results 1 – 14 of 14) sorted by relevance
/linux-6.14.4/rust/kernel/ |
D | str.rs | 154 pub struct CStr([u8]); struct 156 impl CStr { implementation 232 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked() 245 pub unsafe fn from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr { in from_bytes_with_nul_unchecked_mut() 381 impl fmt::Display for CStr { implementation 411 impl fmt::Debug for CStr { implementation 443 impl AsRef<BStr> for CStr { implementation 450 impl Deref for CStr { implementation 459 impl Index<ops::RangeFrom<usize>> for CStr { implementation 472 impl Index<ops::RangeFull> for CStr { implementation [all …]
|
D | firmware.rs | 58 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal() 75 pub fn request(name: &CStr, dev: &Device) -> Result<Self> { in request() 81 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> { in request_nowarn()
|
D | driver.rs | 38 name: &'static CStr, in register() 73 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new()
|
D | error.rs | 160 pub fn name(&self) -> Option<&'static CStr> { in name() 177 pub fn name(&self) -> Option<&'static CStr> { in name()
|
D | pci.rs | 33 name: &'static CStr, in register() 416 name: &CStr, in iomap_region_sized()
|
D | platform.rs | 29 name: &'static CStr, in register()
|
D | workqueue.rs | 372 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> in new()
|
/linux-6.14.4/drivers/net/phy/ |
D | ax88796b_rust.rs | 44 const NAME: &'static CStr = c_str!("Asix Electronics AX88772A"); variable 108 const NAME: &'static CStr = c_str!("Asix Electronics AX88772C"); variable 128 const NAME: &'static CStr = c_str!("Asix Electronics AX88796B"); variable
|
D | qt2025.rs | 39 const NAME: &'static CStr = c_str!("QT2025 10Gpbs SFP+"); variable
|
/linux-6.14.4/rust/kernel/sync/ |
D | poll.rs | 92 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
|
D | condvar.rs | 104 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
|
D | lock.rs | 132 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
|
/linux-6.14.4/rust/kernel/sync/lock/ |
D | global.rs | 23 const NAME: &'static CStr; variable
|
/linux-6.14.4/rust/kernel/net/ |
D | phy.rs | 582 const NAME: &'static CStr; variable
|