/rust/kernel/ |
A D | str.rs | 209 pub struct CStr([u8]); struct 211 impl CStr { implementation 287 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked() 300 pub unsafe fn from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr { in from_bytes_with_nul_unchecked_mut() 458 impl fmt::Display for CStr { implementation 488 impl fmt::Debug for CStr { implementation 520 impl AsRef<BStr> for CStr { implementation 527 impl Deref for CStr { implementation 536 impl Index<ops::RangeFrom<usize>> for CStr { implementation 549 impl Index<ops::RangeFull> for CStr { implementation [all …]
|
A 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()
|
A D | firmware.rs | 62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal() 80 pub fn request(name: &CStr, dev: &Device) -> Result<Self> { in request() 86 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> { in request_nowarn()
|
A D | auxiliary.rs | 31 name: &'static CStr, in register() 107 pub const fn new(modname: &'static CStr, name: &'static CStr) -> Self { in new() 298 pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Result<Self> { in new()
|
A D | faux.rs | 27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
|
A D | error.rs | 162 pub fn name(&self) -> Option<&'static CStr> { in name() 179 pub fn name(&self) -> Option<&'static CStr> { in name()
|
A D | pci.rs | 36 name: &'static CStr, in register() 421 name: &'a CStr, in iomap_region_sized() 430 name: &'a CStr, in iomap_region()
|
A D | workqueue.rs | 504 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> in new() 673 work_name: &'static CStr, in new() 675 timer_name: &'static CStr, in new()
|
A D | kunit.rs | 200 name: &'static kernel::str::CStr, in kunit_case()
|
A D | platform.rs | 34 name: &'static CStr, in register()
|
A D | uaccess.rs | 347 pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> { in strcpy_into_buf()
|
A D | lib.rs | 328 pub fn file_from_location<'a>(loc: &'a core::panic::Location<'a>) -> &'a core::ffi::CStr { in file_from_location()
|
A D | configfs.rs | 149 name: &'static CStr, in new()
|
A D | cpufreq.rs | 724 const NAME: &'static CStr; variable
|
/rust/kernel/device/ |
A D | property.rs | 113 pub fn property_match_string(&self, name: &CStr, match_str: &CStr) -> Result<usize> { in property_match_string() 131 name: &'name CStr, in property_read_array_vec() 192 name: &'name CStr, in property_read() 260 prop: &CStr, in property_get_reference_args() 478 name: &CStr, in read_array_from_fwnode_property()
|
/rust/kernel/sync/ |
A D | poll.rs | 76 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
A D | condvar.rs | 103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
A D | lock.rs | 130 pub fn new(t: T, name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
/rust/kernel/sync/lock/ |
A D | global.rs | 24 const NAME: &'static CStr; variable
|
/rust/kernel/io/ |
A D | resource.rs | 141 pub fn name(&self) -> Option<&CStr> { in name()
|
/rust/kernel/net/ |
A D | phy.rs | 575 const NAME: &'static CStr; variable
|