/linux/rust/kernel/ |
H A D | str.rs | 209 pub struct CStr([u8]); global() struct 211 impl CStr { global() implementation 287 from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr from_bytes_with_nul_unchecked() argument 300 from_bytes_with_nul_unchecked_mut(bytes: &mut [u8]) -> &mut CStr from_bytes_with_nul_unchecked_mut() argument 458 impl fmt::Display for CStr { global() implementation 488 impl fmt::Debug for CStr { global() implementation 520 impl AsRef<BStr> for CStr { global() implementation 527 impl Deref for CStr { global() implementation 536 impl Index<ops::RangeFrom<usize>> for CStr { global() implementation 549 impl Index<ops::RangeFull> for CStr { global() implementation 570 impl<Idx> Index<Idx> for CStr global() implementation [all...] |
H A D | firmware.rs | 62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal() argument 80 pub fn request(name: &CStr, dev: &Device) -> Result<Self> { in request() argument 86 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> { in request_nowarn() argument
|
H A D | driver.rs | 123 name: &'static CStr, in register() 158 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new()
|
H A D | auxiliary.rs | 31 name: &'static CStr, in register() argument 107 pub const fn new(modname: &'static CStr, name: &'static CStr) -> Self { in new() argument 298 pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Result<Self> { in new() argument
|
H A D | error.rs | 179 pub fn name(&self) -> Option<&'static CStr> { in name() argument 162 name(&self) -> Option<&'static CStr> name() argument
|
H A D | workqueue.rs | 504 new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> where T: WorkItem<ID>, new() argument 673 new( work_name: &'static CStr, work_key: Pin<&'static LockClassKey>, timer_name: &'static CStr, timer_key: Pin<&'static LockClassKey>, ) -> impl PinInit<Self> where T: WorkItem<ID>, new() argument 675 new( work_name: &'static CStr, work_key: Pin<&'static LockClassKey>, timer_name: &'static CStr, timer_key: Pin<&'static LockClassKey>, ) -> impl PinInit<Self> where T: WorkItem<ID>, new() argument
|
H A D | pci.rs | 36 register( pdrv: &Opaque<Self::RegType>, name: &'static CStr, module: &'static ThisModule, ) -> Result register() argument 421 iomap_region_sized<'a, const SIZE: usize>( &'a self, bar: u32, name: &'a CStr, ) -> impl PinInit<Devres<Bar<SIZE>>, Error> + 'a iomap_region_sized() argument 430 iomap_region<'a>( &'a self, bar: u32, name: &'a CStr, ) -> impl PinInit<Devres<Bar>, Error> + 'a iomap_region() argument
|
H A D | faux.rs | 27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
|
H A D | kunit.rs | 200 name: &'static kernel::str::CStr, in kunit_case() argument
|
H A D | platform.rs | 34 register( pdrv: &Opaque<Self::RegType>, name: &'static CStr, module: &'static ThisModule, ) -> Result register() argument
|
H A D | uaccess.rs | 347 pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> { in strcpy_into_buf()
|
H A D | lib.rs | 340 pub fn file_from_location<'a>(loc: &'a core::panic::Location<'a>) -> &'a core::ffi::CStr { in file_from_location()
|
H A D | configfs.rs | 149 name: &'static CStr, in new() argument
|
H A D | cpufreq.rs | 723 const NAME: &'static CStr; variable
|
/linux/rust/kernel/device/ |
H A D | property.rs | 113 property_match_string(&self, name: &CStr, match_str: &CStr) -> Result<usize> property_match_string() argument 131 property_read_array_vec<'fwnode, 'name, T: PropertyInt>( &'fwnode self, name: &'name CStr, len: usize, ) -> Result<PropertyGuard<'fwnode, 'name, KVec<T>>> property_read_array_vec() argument 192 property_read<'fwnode, 'name, T: Property>( &'fwnode self, name: &'name CStr, ) -> PropertyGuard<'fwnode, 'name, T> property_read() argument 260 property_get_reference_args( &self, prop: &CStr, nargs: NArgs<'_>, index: u32, ) -> Result<FwNodeReferenceArgs> property_get_reference_args() argument 478 read_array_from_fwnode_property<'a>( fwnode: &FwNode, name: &CStr, out: &'a mut [MaybeUninit<Self>], ) -> Result<&'a mut [Self]> read_array_from_fwnode_property() argument [all...] |
/linux/rust/kernel/sync/ |
H A D | poll.rs | 76 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
H A D | condvar.rs | 103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
H A D | lock.rs | 130 pub fn new(t: T, name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
|
/linux/drivers/cpufreq/ |
H A D | rcpufreq_dt.rs | 55 const NAME: &'static CStr = c_str!("cpufreq-dt"); variable
|
/linux/rust/kernel/io/ |
H A D | resource.rs | 141 pub fn name(&self) -> Option<&CStr> { in name()
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 575 const NAME: &'static CStr; global() variable
|