Searched defs:File (Results 1 – 9 of 9) sorted by relevance
/linux/rust/kernel/fs/ |
H A D | file.rs | 181 pub struct File { struct 187 unsafe impl Send for File {} implementation 191 unsafe impl Sync for File {} implementation 195 unsafe impl AlwaysRefCounted for File { implementation 203 unsafe fn dec_ref(obj: ptr::NonNull<File>) { in dec_ref() 301 pub unsafe fn assume_no_fdget_pos(me: ARef<LocalFile>) -> ARef<File> { in assume_no_fdget_pos() 342 impl File { implementation 352 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a File { in from_raw_file() 362 impl core::ops::Deref for File { implementation 422 pub fn fd_install(self, file: ARef<File>) { in fd_install()
|
/linux/rust/kernel/drm/ |
H A D | file.rs | 26 pub struct File<T: DriverFile>(Opaque<bindings::drm_file>, PhantomData<T>); struct 28 impl<T: DriverFile> File<T> { implementation 99 impl<T: DriverFile> super::private::Sealed for File<T> {} implementation
|
H A D | driver.rs | 106 type File: drm::file::DriverFile; global() typedef
|
/linux/rust/kernel/ |
H A D | miscdevice.rs | 179 _file: &File, in show_fdinfo() argument 121 open(_file: &File, _misc: &MiscDeviceRegistration<Self>) -> Result<Self::Ptr> open() argument 124 release(device: Self::Ptr, _file: &File) release() argument 138 mmap( _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, _file: &File, _vma: &VmaNew, ) -> Result mmap() argument 151 ioctl( _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, _file: &File, _cmd: u32, _arg: usize, ) -> Result<isize> ioctl() argument 168 compat_ioctl( _device: <Self::Ptr as ForeignOwnable>::Borrowed<'_>, _file: &File, _cmd: u32, _arg: usize, ) -> Result<isize> compat_ioctl() argument [all...] |
/linux/rust/kernel/drm/gem/ |
H A D | mod.rs | 33 /// Open a new handle to an existing object, associated with a File. in close() argument 146 fn lookup_handle<D, F>(file: &drm::File<F>, handle: u32) -> Result<ARef<Self>> in create_handle() argument 25 open( _obj: &<<T as IntoGEMObject>::Driver as drm::Driver>::Object, _file: &drm::File<<<T as IntoGEMObject>::Driver as drm::Driver>::File>, ) -> Result open() argument 158 lookup_handle( file: &drm::File<<<Self as IntoGEMObject>::Driver as drm::Driver>::File>, handle: u32, ) -> Result<ARef<Self>> lookup_handle() argument [all...] |
/linux/samples/rust/ |
H A D | rust_misc_device.rs | 160 open(_file: &File, misc: &MiscDeviceRegistration<Self>) -> Result<Pin<KBox<Self>>> open() argument 176 ioctl(me: Pin<&RustMiscDevice>, _file: &File, cmd: u32, arg: usize) -> Result<isize> ioctl() argument
|
/linux/rust/kernel/sync/ |
H A D | poll.rs | 52 pub fn register_wait(&self, file: &File, cv: &PollCondVar) { in register_wait()
|
/linux/Documentation/kernel-hacking/ |
H A D | locking.rst | 699 Using Atomic Operations For The Reference Count
|
/linux/drivers/net/hippi/ |
H A D | rrunner.h | 669 char File[13][8]; member
|