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 create(name: &CStr, parent: Option<&Dir>) -> Self create() argument
76 create_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, file_ops: &'static FileOps<T>, ) -> impl PinInit<File<T>, E> + 'a where T: Sync + 'static, create_file() argument
146 read_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Send + Sync + 'static, read_only_file() argument
173 read_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + Send + Sync + 'static, read_binary_file() argument
210 read_callback_file<'a, T, E: 'a, F>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument
228 read_write_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Writer + Reader + Send + Sync + 'static, read_write_file() argument
244 read_write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryWriter + BinaryReader + Send + Sync + 'static, read_write_binary_file() argument
262 read_write_callback_file<'a, T, E: 'a, F, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _f: &'static F, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument
287 write_only_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: Reader + Send + Sync + 'static, write_only_file() argument
304 write_binary_file<'a, T, E: 'a>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, ) -> impl PinInit<File<T>, E> + 'a where T: BinaryReader + Send + Sync + 'static, write_binary_file() argument
319 write_callback_file<'a, T, E: 'a, W>( &'a self, name: &'a CStr, data: impl PinInit<T, E> + 'a, _w: &'static W, ) -> impl PinInit<File<T>, E> + 'a where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_callback_file() argument
365 scope<'a, T: 'a, E: 'a, F>( &'a self, data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Scope<T>, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, scope() argument
464 dir<E: 'a, F>( data: impl PinInit<T, E> + 'a, name: &'a CStr, init: F, ) -> impl PinInit<Self, E> + 'a where F: for<'data, 'dir> FnOnce(&'data T, &'dir ScopedDir<'data, 'dir>) + 'a, dir() argument
517 create_file<T: Sync>(&self, name: &CStr, data: &'data T, vtable: &'static FileOps<T>) create_file() argument
529 read_only_file<T: Writer + Send + Sync + 'static>(&self, name: &CStr, data: &'data T) read_only_file() argument
541 read_binary_file<T: BinaryWriter + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_binary_file() argument
558 read_callback_file<T, F>(&self, name: &CStr, data: &'data T, _f: &'static F) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, read_callback_file() argument
577 read_write_file<T: Writer + Reader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_write_file() argument
593 read_write_binary_file<T: BinaryWriter + BinaryReader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) read_write_binary_file() argument
612 read_write_callback_file<T, F, W>( &self, name: &CStr, data: &'data T, _f: &'static F, _w: &'static W, ) where T: Send + Sync + 'static, F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, read_write_callback_file() argument
634 write_only_file<T: Reader + Send + Sync + 'static>(&self, name: &CStr, data: &'data T) write_only_file() argument
647 write_binary_file<T: BinaryReader + Send + Sync + 'static>( &self, name: &CStr, data: &'data T, ) write_binary_file() argument
663 write_only_callback_file<T, W>(&self, name: &CStr, data: &'data T, _w: &'static W) where T: Send + Sync + 'static, W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, write_only_callback_file() argument
[all...]
H A Dauxiliary.rs53 name: &'static CStr, in register()
131 pub const fn new(modname: &'static CStr, name: &'static CStr) -> Self { in new()
344 name: &'a CStr, in new()
346 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.rs151 name: &'static CStr, in register()
218 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 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 Dfaux.rs27 new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> new() argument
H A Dkunit.rs202 name: &'static kernel::str::CStr, in kunit_case()
H A Di2c.rs111 name: &'static CStr, in register()
442 pub const fn new(type_: &'static CStr, addr: u16) -> Self { in new()
H A Dlib.rs352 file_from_location<'a>(loc: &'a core::panic::Location<'a>) -> &'a core::ffi::CStr file_from_location() argument
H A Dplatform.rs62 name: &'static CStr, in register()
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.rs76 name: &'static CStr, in register()
H A Dusb.rs55 name: &'static CStr, in register()
H A Dconfigfs.rs149 new( name: &'static CStr, item_type: &'static ItemType<Subsystem<Data>, Data>, data: impl PinInit<Data, Error>, ) -> impl PinInit<Self, Error> new() argument
/linux/rust/kernel/debugfs/
H A Dentry.rs31 dynamic_dir(name: &CStr, parent: Option<Arc<Self>>) -> Self dynamic_dir() argument
53 dynamic_file<T>( name: &CStr, parent: Arc<Self>, data: &T, file_ops: &'static FileOps<T>, ) -> Self dynamic_file() argument
84 dir(name: &CStr, parent: Option<&'a Entry<'_>>) -> Self dir() argument
104 file<T>( name: &CStr, parent: &'a Entry<'_>, data: &'a T, file_ops: &FileOps<T>, ) -> Self file() argument
/linux/rust/kernel/pci/
H A Dirq.rs180 name: &'static CStr, in request_irq()
195 name: &'static CStr, in request_threaded_irq()
H A Dio.rs294 name: &'a CStr, in iomap_region_sized()
303 name: &'a CStr, in iomap_region()
/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() argument
/linux/rust/kernel/irq/
H A Drequest.rs202 name: &'static CStr, in new()
422 name: &'static CStr, in new()
/linux/rust/kernel/sync/lock/
H A Dglobal.rs24 const NAME: &'static CStr; variable
/linux/rust/kernel/io/
H A Dresource.rs144 pub fn name(&self) -> Option<&CStr> { in name()
/linux/rust/quote/
H A Dto_tokens.rs223 impl ToTokens for CStr { implementation

12