| /linux/include/linux/ |
| H A D | file.h | 120 extern void fd_install(unsigned int fd, struct file *file); 202 fd_install(guard->fd, guard->file); in fd_publish()
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 427 pub fn fd_install(self, file: ARef<File>) { in fd_install() method 437 unsafe { bindings::fd_install(self.fd, file.as_ptr()) }; in fd_install()
|
| /linux/io_uring/ |
| H A D | openclose.c | 179 fd_install(ret, file); in io_openat2() 416 fd_install(fds[0], files[0]); in io_pipe_fd() 417 fd_install(fds[1], files[1]); in io_pipe_fd()
|
| H A D | net.c | 1726 fd_install(fd, file); in io_connect_bpf_populate() 1844 fd_install(fd, file); in io_connect()
|
| /linux/fs/ |
| H A D | file.c | 261 /* make sure all fd_install() have seen resize_in_progress in expand_fdtable() 276 /* coupled with smp_rmb() in fd_install() */ in expand_fdtable() 500 * alloc_fd() might have already claimed a slot, while fd_install() in dup_fd() 733 * This is moved out of line from fd_install() to convince gcc to optimize that 749 * fd_install - install a file pointer in the fd array 756 void fd_install(unsigned int fd, struct file *file) in fd_install() function 778 EXPORT_SYMBOL(fd_install); 1462 * fd_install(fd, file); // only now ->fd[fd] == file in do_dup2() 1465 * in the array until the matching fd_install(). in do_dup2() 1469 * the invariant and make fd_install() overwrit in do_dup2() [all...] |
| H A D | pipe.c | 1062 fd_install(fd[0], files[0]); in create_pipe_files() 1063 fd_install(fd[1], files[1]); in create_pipe_files() 1087 fd_install(fd[0], files[0]); in __do_pipe_flags() 1088 fd_install(fd[1], files[1]); in __do_pipe_flags()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | eventq.c | 473 fd_install(fdno, fault->common.filep); in iommufd_fault_alloc() 561 fd_install(fdno, veventq->common.filep); in iommufd_veventq_alloc()
|
| /linux/drivers/dma-buf/ |
| H A D | dma-buf.c | 481 fd_install(fd, sync_file->file); in dma_buf_export_sync_file() 801 fd_install(fd, dmabuf->file); in dma_buf_fd() 822 fd_install(fd, dmabuf->file); in dma_buf_fd_install()
|
| H A D | sync_file.c | 253 fd_install(fd, fence3->file); in sync_file_ioctl_merge()
|
| /linux/Documentation/driver-api/ |
| H A D | sync_file.rst | 61 fd_install(fd, sync_file->file);
|
| /linux/drivers/char/tpm/ |
| H A D | tpm_vtpm_proxy.c | 649 fd_install(vtpm_new_dev.fd, vtpm_file); in vtpmx_ioc_new_dev()
|
| /linux/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_submit.c | 465 fd_install(submit->out_fence_fd, submit->sync_file->file); in virtio_gpu_install_out_fence_fd()
|
| /linux/kernel/liveupdate/ |
| H A D | luo_session.c | 303 fd_install(argp->fd, file); in luo_session_retrieve_fd()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_syncobj.c | 693 fd_install(fd, file); in drm_syncobj_handle_to_fd() 794 fd_install(fd, sync_file->file);
|
| H A D | drm_lease.c | 570 fd_install(fd, lessee_file); in drm_mode_create_lease_ioctl()
|
| /linux/net/core/ |
| H A D | scm.c | 543 fd_install(pidfd, pidfd_file); in scm_pidfd_recv()
|
| /linux/sound/core/ |
| H A D | compress_offload.c | 1153 file descriptors are allocated before fd_install() */ in snd_compr_task_start() 1172 fd_install(fd_i, task->input->file); in snd_compr_task_start() 1173 fd_install(fd_o, task->output->file); in snd_compr_task_start()
|
| /linux/kernel/ |
| H A D | pid.c | 680 fd_install(pidfd, pidfd_file); in pidfd_create()
|
| /linux/fs/notify/fanotify/ |
| H A D | fanotify_user.c | 941 fd_install(fd, f); in copy_event_to_user() 944 fd_install(pidfd, pidfd_file); in copy_event_to_user()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_submit.c | 826 fd_install(out_fence_fd, sync_file->file); in msm_ioctl_gem_submit()
|
| /linux/drivers/infiniband/core/ |
| H A D | rdma_core.c | 681 fd_install(fd, filp); in alloc_commit_fd_uobject()
|
| /linux/drivers/xen/ |
| H A D | gntdev-dmabuf.c | 403 fd_install(take_fd(ret), no_free_ptr(gntdev_dmabuf)->dmabuf->file); in dmabuf_exp_from_pages()
|
| /linux/virt/kvm/ |
| H A D | guest_memfd.c | 988 fd_install(fd, file); in kvm_gmem_init()
|
| /linux/net/ |
| H A D | socket.c | 589 fd_install(fd, newfile); in sock_map_fd() 1923 fd_install(fd1, newfile1); in __sys_socketpair() 1924 fd_install(fd2, newfile2); in __sys_socketpair()
|
| /linux/drivers/virt/nitro_enclaves/ |
| H A D | ne_misc_dev.c | 1704 fd_install(enclave_fd, enclave_file); in ne_create_vm_ioctl()
|