Home
last modified time | relevance | path

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

/rust/kernel/
A Dstr.rs209 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 Ddriver.rs38 name: &'static CStr, in register()
73 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new()
A Dfirmware.rs62 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 Dauxiliary.rs31 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 Dfaux.rs27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
A Derror.rs162 pub fn name(&self) -> Option<&'static CStr> { in name()
179 pub fn name(&self) -> Option<&'static CStr> { in name()
A Dpci.rs36 name: &'static CStr, in register()
421 name: &'a CStr, in iomap_region_sized()
430 name: &'a CStr, in iomap_region()
A Dworkqueue.rs504 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 Dkunit.rs200 name: &'static kernel::str::CStr, in kunit_case()
A Dplatform.rs34 name: &'static CStr, in register()
A Duaccess.rs347 pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> { in strcpy_into_buf()
A Dlib.rs328 pub fn file_from_location<'a>(loc: &'a core::panic::Location<'a>) -> &'a core::ffi::CStr { in file_from_location()
A Dconfigfs.rs149 name: &'static CStr, in new()
A Dcpufreq.rs724 const NAME: &'static CStr; variable
/rust/kernel/device/
A Dproperty.rs113 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 Dpoll.rs76 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
A Dcondvar.rs103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
A Dlock.rs130 pub fn new(t: T, name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
/rust/kernel/sync/lock/
A Dglobal.rs24 const NAME: &'static CStr; variable
/rust/kernel/io/
A Dresource.rs141 pub fn name(&self) -> Option<&CStr> { in name()
/rust/kernel/net/
A Dphy.rs575 const NAME: &'static CStr; variable

Completed in 29 milliseconds