Searched refs:fget (Results 1 – 25 of 29) sorted by relevance
12
262 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget() method264 let ptr = ptr::NonNull::new(unsafe { bindings::fget(fd) }).ok_or(BadFdError)?; in fget()
66 extern struct file *fget(unsigned int fd);
353 pipe = fget(pipefd); in autofs_dev_ioctl_setpipefd()718 fp = fget(param->ioctlfd); in _autofs_dev_ioctl()
171 pipe = fget(result->uint_32); in autofs_parse_fd()
149 filp = fget(fd); in kvm_vfio_file_add()
619 file = fget(fd); in __kvm_gmem_create()
81 struct file *file = fget(fd); in sync_file_fdget()
397 struct file *memfd = fget(list[i].memfd); in udmabuf_create()
839 file = fget(fd); in dma_buf_get()
199 struct file *fp = fget(clockid_to_fd(id)); in get_clock_desc()
327 file = fget(fd); in eventfd_fget()
189 outp->fh = fget(outp->fd); in coda_psdev_write()
297 file = fget(fd); in io_ring_add_registered_fd()
299 file = fget(sc.fd); in io_sync_cancel()
77 f->filp = fget(fd); in hl_dio_fd_register()
390 f = fget(fdno); in lookup_get_fd_uobject()
551 struct file *file = fget(arg); in loop_change_fd()1009 struct file *file = fget(config->fd); in loop_configure()
483 file = fget(input.fd); in mshv_vtl_ioctl_set_poll_file()
1282 file = fget(fd); in ksys_mmap_pgoff()
1057 drm_file = fget(args->drm_fd); in kfd_ioctl_acquire_vm()2431 drm_file = fget(device_buckets[i].drm_fd); in criu_restore_devices()
2021 file = fget(fd); in xe_drm_pagemap_from_fd()
1514 struct file *file = fget(fd); in get_tap_socket()
1464 struct file *file = fget(group_fds[file_idx]); in vfio_pci_ioctl_pci_hot_reset_groups()
631 file = fget(fd); in sockfd_lookup()
1322 file = fget(nla_get_s32(data[IFLA_PPP_DEV_FD])); in ppp_nl_newlink()