Home
last modified time | relevance | path

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

/Linux-v6.6/rust/kernel/
Dstr.rs63 pub struct CStr([u8]); struct
65 impl CStr { impl
141 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()
211 impl fmt::Display for CStr { implementation
240 impl fmt::Debug for CStr { implementation
271 impl AsRef<BStr> for CStr { implementation
278 impl Deref for CStr { implementation
287 impl Index<ops::RangeFrom<usize>> for CStr { implementation
300 impl Index<ops::RangeFull> for CStr { implementation
321 impl<Idx> Index<Idx> for CStr implementation
Derror.rs142 pub fn name(&self) -> Option<&'static CStr> { in name()
159 pub fn name(&self) -> Option<&'static CStr> { in name()
/Linux-v6.6/rust/kernel/sync/
Dcondvar.rs95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
Dlock.rs103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()