Home
last modified time | relevance | path

Searched refs:LocalFile (Results 1 – 2 of 2) sorted by relevance

/linux-6.14.4/rust/kernel/fs/
Dfile.rs222 pub struct LocalFile { struct
228 unsafe impl AlwaysRefCounted for LocalFile { implementation
236 unsafe fn dec_ref(obj: ptr::NonNull<LocalFile>) { in dec_ref() argument
243 impl LocalFile { implementation
253 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget() argument
274 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a LocalFile { in from_raw_file() argument
297 pub unsafe fn assume_no_fdget_pos(me: ARef<LocalFile>) -> ARef<File> { in assume_no_fdget_pos()
359 type Target = LocalFile;
361 fn deref(&self) -> &LocalFile { in deref() argument
367 unsafe { LocalFile::from_raw_file(self as *const File as *const bindings::file) } in deref()
/linux-6.14.4/rust/kernel/
Dfs.rs8 pub use self::file::{File, LocalFile};