Home
last modified time | relevance | path

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

12

/linux/rust/kernel/
H A Ddebugfs.rs53 fn create(name: &CStr, parent: Option<&Dir>) -> Self { in create()
76 name: &'a CStr, in create_file()
146 name: &'a CStr, in read_only_file()
173 name: &'a CStr, in read_binary_file()
210 name: &'a CStr, in read_callback_file()
228 name: &'a CStr, in read_write_file()
244 name: &'a CStr, in read_write_binary_file()
262 name: &'a CStr, in read_write_callback_file()
287 name: &'a CStr, in write_only_file()
304 name: &'a CStr, in write_binary_file()
[all …]
H A Dauxiliary.rs33 name: &'static CStr, in register()
109 pub const fn new(modname: &'static CStr, name: &'static CStr) -> Self { in new()
313 name: &'a CStr, in new()
315 modname: &'a CStr, in new()
H A Dfirmware.rs69 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
87 pub fn request(name: &CStr, dev: &Device) -> Result<Self> { in request()
93 pub fn request_nowarn(name: &CStr, dev: &Device) -> Result<Self> { in request_nowarn()
H A Ddriver.rs127 name: &'static CStr, in register()
162 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new()
H A Derror.rs179 pub fn name(&self) -> Option<&'static CStr> { in name()
198 pub fn name(&self) -> Option<&'static CStr> { in name()
H A Dfaux.rs27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
H A Dstr.rs199 impl Sealed for super::CStr {} implementation
278 impl fmt::Display for CStr { implementation
320 impl CStrExt for CStr { implementation
372 impl AsRef<BStr> for CStr { implementation
H A Di2c.rs102 name: &'static CStr, in register()
433 pub const fn new(type_: &'static CStr, addr: u16) -> Self { in new()
H A Dplatform.rs36 name: &'static CStr, in register()
H A Dlib.rs352 pub fn file_from_location<'a>(loc: &'a core::panic::Location<'a>) -> &'a core::ffi::CStr { in file_from_location()
H A Duaccess.rs390 pub fn strcpy_into_buf<'buf>(self, buf: &'buf mut [u8]) -> Result<&'buf CStr> { in strcpy_into_buf()
H A Dpci.rs60 name: &'static CStr, in register()
H A Dusb.rs37 name: &'static CStr, in register()
H A Dconfigfs.rs149 name: &'static CStr, in new()
/linux/rust/kernel/debugfs/
H A Dentry.rs31 pub(crate) fn dynamic_dir(name: &CStr, parent: Option<Arc<Self>>) -> Self { in dynamic_dir()
53 name: &CStr, in dynamic_file()
84 pub(crate) fn dir(name: &CStr, parent: Option<&'a Entry<'_>>) -> Self { in dir()
104 name: &CStr, in file()
/linux/rust/kernel/pci/
H A Dio.rs131 name: &'a CStr, in iomap_region_sized()
140 name: &'a CStr, in iomap_region()
H A Dirq.rs180 name: &'static CStr, in request_irq()
195 name: &'static CStr, in request_threaded_irq()
/linux/rust/kernel/sync/
H A Dpoll.rs76 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
H A Dcondvar.rs103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
H A Dlock.rs133 name: &'static CStr, in new()
/linux/rust/kernel/sync/lock/
H A Dglobal.rs24 const NAME: &'static CStr; variable
/linux/drivers/cpufreq/
H A Drcpufreq_dt.rs55 const NAME: &'static CStr = c_str!("cpufreq-dt"); variable
/linux/rust/kernel/io/
H A Dresource.rs144 pub fn name(&self) -> Option<&CStr> { in name()
/linux/drivers/block/rnull/
H A Dconfigfs.rs51 name: &CStr, in make_group()
/linux/rust/quote/
H A Dto_tokens.rs223 impl ToTokens for CStr { implementation

12