Home
last modified time | relevance | path

Searched refs:get_unused_fd_flags (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/fs/
Danon_inodes.c131 error = get_unused_fd_flags(flags); in anon_inode_getfd()
Dfile.c592 int get_unused_fd_flags(unsigned flags) in get_unused_fd_flags() function
596 EXPORT_SYMBOL(get_unused_fd_flags);
1152 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1241 ret = get_unused_fd_flags(0); in SYSCALL_DEFINE1()
Dfhandle.c227 fd = get_unused_fd_flags(open_flag); in do_handle_open()
Dnsfs.c155 fd = get_unused_fd_flags(O_CLOEXEC); in open_related_ns()
Dinit.c260 fd = get_unused_fd_flags(0); in init_dup()
Deventfd.c434 fd = get_unused_fd_flags(flags); in do_eventfd()
Dpipe.c965 error = get_unused_fd_flags(flags); in __do_pipe_flags()
970 error = get_unused_fd_flags(flags); in __do_pipe_flags()
/kernel/linux/linux-5.10/include/linux/
Dfile.h90 extern int get_unused_fd_flags(unsigned flags);
/kernel/linux/linux-5.10/mm/
Dmemfd.c309 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dinode.c284 ret = get_unused_fd_flags(0); in spufs_context_open()
503 ret = get_unused_fd_flags(0); in spufs_gang_open()
/kernel/linux/linux-5.10/drivers/dma-buf/
Dsw_sync.c330 int fd = get_unused_fd_flags(O_CLOEXEC); in sw_sync_ioctl_create_fence()
Dsync_file.c327 int fd = get_unused_fd_flags(O_CLOEXEC); in sync_file_ioctl_merge()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dsync_file.rst57 fd = get_unused_fd_flags(O_CLOEXEC);
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-request.c306 fd = get_unused_fd_flags(O_CLOEXEC); in media_request_alloc()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dapi.c401 rc = get_unused_fd_flags(flags); in cxl_get_fd()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_syncobj.c595 fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_get_fd()
691 int fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_export_sync_file()
Ddrm_lease.c573 fd = get_unused_fd_flags(cl->flags & (O_CLOEXEC | O_NONBLOCK)); in drm_mode_create_lease_ioctl()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_vtpm_proxy.c550 fd = get_unused_fd_flags(O_RDWR); in vtpm_proxy_create_device()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c120 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_execbuffer_ioctl()
/kernel/linux/linux-5.10/fs/autofs/
Ddev-ioctl.c230 fd = get_unused_fd_flags(O_CLOEXEC); in autofs_dev_ioctl_open_mountpoint()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-cdev.c369 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in linehandle_create()
1412 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in linereq_create()
1819 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in lineevent_create()
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_iter.c598 fd = get_unused_fd_flags(flags); in bpf_iter_new_fd()
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c520 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Drdma_core.c479 new_fd = get_unused_fd_flags(O_CLOEXEC); in alloc_begin_fd_uobject()
/kernel/linux/linux-5.10/drivers/tty/
Dpty.c623 fd = get_unused_fd_flags(flags); in ptm_open_peer()

123