Searched defs:CStr (Results 1 – 13 of 13) sorted by relevance
/linux/rust/kernel/ |
H A D | str.rs | 200 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 …]
|
H A 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()
|
H A D | auxiliary.rs | 32 name: &'static CStr, in register() 113 pub const fn new(modname: &'static CStr, name: &'static CStr) -> Self { in new() 303 pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Result<Self> { in new()
|
H A D | error.rs | 161 pub fn name(&self) -> Option<&'static CStr> { in name() 178 pub fn name(&self) -> Option<&'static CStr> { in name()
|
H A D | faux.rs | 27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
|
H A D | pci.rs | 37 name: &'static CStr, in register() 404 name: &CStr, in iomap_region_sized()
|
H A D | kunit.rs | 197 name: &'static kernel::str::CStr, in kunit_case()
|
H A D | platform.rs | 32 name: &'static CStr, in register()
|
H A D | workqueue.rs | 372 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> in new()
|
H A D | configfs.rs | 149 name: &'static CStr, in new()
|
H A D | cpufreq.rs | 724 const NAME: &'static CStr; variable
|
/linux/drivers/cpufreq/ |
H A D | rcpufreq_dt.rs | 59 const NAME: &'static CStr = c_str!("cpufreq-dt"); variable
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 582 const NAME: &'static CStr; global() variable
|