Searched refs:from_raw_file (Results 1 – 2 of 2) sorted by relevance
190 let file = unsafe { File::from_raw_file(raw_file) }; in open()221 T::release(ptr, unsafe { File::from_raw_file(file) }); in release()238 let file = unsafe { File::from_raw_file(file) }; in ioctl()263 let file = unsafe { File::from_raw_file(file) }; in compat_ioctl()283 let file = unsafe { File::from_raw_file(file) }; in show_fdinfo()
274 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a LocalFile { in from_raw_file() method348 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a File { in from_raw_file() method367 unsafe { LocalFile::from_raw_file(self as *const File as *const bindings::file) } in deref()