Home
last modified time | relevance | path

Searched refs:fget (Results 1 – 25 of 28) sorted by relevance

12

/linux/rust/kernel/fs/
H A Dfile.rs262 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget() method
264 let ptr = ptr::NonNull::new(unsafe { bindings::fget(fd) }).ok_or(BadFdError)?; in fget()
/linux/include/linux/
H A Dfile.h66 extern struct file *fget(unsigned int fd);
/linux/fs/autofs/
H A Ddev-ioctl.c353 pipe = fget(pipefd); in autofs_dev_ioctl_setpipefd()
718 fp = fget(param->ioctlfd); in _autofs_dev_ioctl()
/linux/virt/kvm/
H A Dvfio.c149 filp = fget(fd); in kvm_vfio_file_add()
H A Dguest_memfd.c619 file = fget(fd); in __kvm_gmem_create()
/linux/drivers/dma-buf/
H A Dsync_file.c81 struct file *file = fget(fd); in sync_file_fdget()
H A Ddma-buf.c819 file = fget(fd); in dma_buf_get()
/linux/kernel/time/
H A Dposix-clock.c199 struct file *fp = fget(clockid_to_fd(id)); in get_clock_desc()
/linux/fs/
H A Deventfd.c327 file = fget(fd); in eventfd_fget()
/linux/fs/coda/
H A Dpsdev.c189 outp->fh = fget(outp->fd); in coda_psdev_write()
/linux/io_uring/
H A Dtctx.c297 file = fget(fd); in io_ring_add_registered_fd()
H A Drsrc.c336 struct file *file = fget(fd); in __io_sqe_files_update()
536 file = fget(fd); in io_files_update_with_index_alloc()
652 file = fget(fd); in io_sqe_files_register()
H A Dcancel.c299 file = fget(sc.fd); in io_sync_cancel()
H A Dio_uring.c1583 struct file *file = fget(fd); in io_file_get_normal()
2573 file = fget(fd); in io_uring_ctx_get_file()
/linux/drivers/accel/habanalabs/common/
H A Dhldio.c77 f->filp = fget(fd); in hl_dio_fd_register()
/linux/drivers/block/
H A Dloop.c549 struct file *file = fget(arg); in loop_change_fd()
1007 struct file *file = fget(config->fd); in loop_configure()
/linux/drivers/hv/
H A Dmshv_vtl_main.c483 file = fget(input.fd); in mshv_vtl_ioctl_set_poll_file()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1014 drm_file = fget(args->drm_fd); in kfd_ioctl_acquire_vm()
2387 drm_file = fget(device_buckets[i].drm_fd); in criu_restore_devices()
/linux/kernel/
H A Dseccomp.c1738 kaddfd.file = fget(addfd.srcfd); in seccomp_notify_addfd()
/linux/drivers/vhost/
H A Dnet.c1514 struct file *file = fget(fd); in get_tap_socket()
/linux/drivers/gpu/drm/xe/
H A Dxe_svm.c2021 file = fget(fd); in xe_drm_pagemap_from_fd()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c1464 struct file *file = fget(group_fds[file_idx]); in vfio_pci_ioctl_pci_hot_reset_groups()
/linux/net/
H A Dsocket.c631 file = fget(fd); in sockfd_lookup()
/linux/drivers/net/ppp/
H A Dppp_generic.c1322 file = fget(nla_get_s32(data[IFLA_PPP_DEV_FD])); in ppp_nl_newlink()
/linux/drivers/android/
H A Dbinder.c2388 file = fget(fd); in binder_translate_fd()

12