Home
last modified time | relevance | path

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

/linux/rust/kernel/fs/
H A Dfile.rs230 pub struct LocalFile { struct
234 // SAFETY: The type invariants guarantee that `LocalFile` is always ref-counted. This implementation argument
236 unsafe impl AlwaysRefCounted for LocalFile { implementation
244 unsafe fn dec_ref(obj: ptr::NonNull<LocalFile>) { in dec_ref()
252 impl LocalFile { implementation
262 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget()
283 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a LocalFile { in from_raw_file()
370 fn deref(&self) -> &LocalFile { in deref()