Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/linux/
Dfile.h91 extern int get_unused_fd_flags(unsigned flags);
95 get_unused_fd_flags(flags), unsigned flags)
/Linux-v6.6/fs/
Dfile.c562 int get_unused_fd_flags(unsigned flags) in get_unused_fd_flags() function
566 EXPORT_SYMBOL(get_unused_fd_flags);
1195 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1292 ret = get_unused_fd_flags(0); in SYSCALL_DEFINE1()
Danon_inodes.c189 error = get_unused_fd_flags(flags); in __anon_inode_getfd()
Dfhandle.c234 fd = get_unused_fd_flags(open_flag); in do_handle_open()
Dnsfs.c156 fd = get_unused_fd_flags(O_CLOEXEC); in open_related_ns()
Dinit.c264 fd = get_unused_fd_flags(0); in init_dup()
Deventfd.c414 fd = get_unused_fd_flags(flags); in do_eventfd()
Dpipe.c967 error = get_unused_fd_flags(flags); in __do_pipe_flags()
972 error = get_unused_fd_flags(flags); in __do_pipe_flags()
/Linux-v6.6/net/handshake/
Dnetlink.c113 fd = get_unused_fd_flags(O_CLOEXEC); in handshake_nl_accept_doit()
/Linux-v6.6/mm/
Dsecretmem.c249 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1()
Dmemfd.c351 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/Linux-v6.6/drivers/dma-buf/
Dsync_file.c210 int fd = get_unused_fd_flags(O_CLOEXEC); in sync_file_ioctl_merge()
Dsw_sync.c330 int fd = get_unused_fd_flags(O_CLOEXEC); in sw_sync_ioctl_create_fence()
Ddma-buf.c354 fd = get_unused_fd_flags(O_CLOEXEC); in dma_buf_export_sync_file()
707 fd = get_unused_fd_flags(flags); in dma_buf_fd()
/Linux-v6.6/arch/powerpc/platforms/cell/spufs/
Dinode.c283 ret = get_unused_fd_flags(0); in spufs_context_open()
499 ret = get_unused_fd_flags(0); in spufs_gang_open()
/Linux-v6.6/Documentation/driver-api/
Dsync_file.rst57 fd = get_unused_fd_flags(O_CLOEXEC);
/Linux-v6.6/drivers/media/mc/
Dmc-request.c306 fd = get_unused_fd_flags(O_CLOEXEC); in media_request_alloc()
/Linux-v6.6/drivers/misc/cxl/
Dapi.c402 rc = get_unused_fd_flags(flags); in cxl_get_fd()
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c421 err = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_init_submit()
/Linux-v6.6/fs/cachefiles/
Dondemand.c203 fd = get_unused_fd_flags(O_WRONLY); in cachefiles_ondemand_get_fd()
/Linux-v6.6/drivers/char/tpm/
Dtpm_vtpm_proxy.c550 fd = get_unused_fd_flags(O_RDWR); in vtpm_proxy_create_device()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_syncobj.c669 fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_get_fd()
765 int fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_export_sync_file()
Ddrm_lease.c533 fd = get_unused_fd_flags(cl->flags & (O_CLOEXEC | O_NONBLOCK)); in drm_mode_create_lease_ioctl()
/Linux-v6.6/fs/autofs/
Ddev-ioctl.c231 fd = get_unused_fd_flags(O_CLOEXEC); in autofs_dev_ioctl_open_mountpoint()
/Linux-v6.6/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c509 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit()

123