Home
last modified time | relevance | path

Searched defs:CStr (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/rust/kernel/
Dstr.rs200 pub struct CStr([u8]); struct
202 impl CStr { impl
278 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()
291 pub unsafe fn from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr { in from_bytes_with_nul_unchecked_mut()
427 impl fmt::Display for CStr { implementation
457 impl fmt::Debug for CStr { implementation
489 impl AsRef<BStr> for CStr { implementation
496 impl Deref for CStr { implementation
505 impl Index<ops::RangeFrom<usize>> for CStr { implementation
518 impl Index<ops::RangeFull> for CStr { implementation
[all …]
Dfirmware.rs62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
79 pub fn request(name: &CStr, dev: &Device) -> Result<Self> { in request()
85 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> { in request_nowarn()
Ddriver.rs38 name: &'static CStr, in register()
73 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new()
Derror.rs161 pub fn name(&self) -> Option<&'static CStr> { in name()
178 pub fn name(&self) -> Option<&'static CStr> { in name()
Dfaux.rs27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
Dkunit.rs173 name: &'static kernel::str::CStr, in kunit_case()
Dpci.rs37 name: &'static CStr, in register()
397 name: &CStr, in iomap_region_sized()
Dplatform.rs33 name: &'static CStr, in register()
Dworkqueue.rs372 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> in new()
/linux-6.15/drivers/net/phy/
Dax88796b_rust.rs44 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
Dqt2025.rs39 const NAME: &'static CStr = c_str!("QT2025 10Gpbs SFP+"); variable
/linux-6.15/drivers/gpu/nova-core/
Dfirmware.rs33 module_name: &'static kernel::str::CStr, in create()
/linux-6.15/rust/kernel/sync/
Dpoll.rs92 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
Dcondvar.rs103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
Dlock.rs130 pub fn new(t: T, name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
/linux-6.15/rust/kernel/sync/lock/
Dglobal.rs24 const NAME: &'static CStr; variable
/linux-6.15/rust/kernel/net/
Dphy.rs582 const NAME: &'static CStr; variable