Searched defs:CStr (Results  1 – 11 of 11) sorted by relevance
| /rust/kernel/ | 
| D | firmware.rs | 62     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()
  | 
| D | str.rs | 152 pub struct CStr([u8]);  struct 154 impl CStr {  implementation 230     pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr {  in from_bytes_with_nul_unchecked() 243     pub unsafe fn from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr {  in from_bytes_with_nul_unchecked_mut() 378 impl fmt::Display for CStr {  implementation 407 impl fmt::Debug for CStr {  implementation 438 impl AsRef<BStr> for CStr {  implementation 445 impl Deref for CStr {  implementation 454 impl Index<ops::RangeFrom<usize>> for CStr {  implementation 467 impl Index<ops::RangeFull> for CStr {  implementation [all …] 
 | 
| D | error.rs | 162     pub fn name(&self) -> Option<&'static CStr> {  in name() 179     pub fn name(&self) -> Option<&'static CStr> {  in name()
  | 
| D | kunit.rs | 173     name: &'static kernel::str::CStr,  in kunit_case()
  | 
| D | uaccess.rs | 307     pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> {  in strcpy_into_buf()
  | 
| D | workqueue.rs | 369     pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self>  in new()
  | 
| /rust/kernel/sync/ | 
| D | poll.rs | 76     pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> {  in new()
  | 
| D | condvar.rs | 106     pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> {  in new()
  | 
| D | lock.rs | 124     pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> {  in new()
  | 
| /rust/kernel/sync/lock/ | 
| D | global.rs | 23     const NAME: &'static CStr;  variable
  | 
| /rust/kernel/net/ | 
| D | phy.rs | 582     const NAME: &'static CStr;  variable
  |