Home
last modified time | relevance | path

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

123

/linux-5.19.10/include/linux/
Dfile.h88 extern int get_unused_fd_flags(unsigned flags);
/linux-5.19.10/fs/
Dfile.c562 int get_unused_fd_flags(unsigned flags) in get_unused_fd_flags() function
566 EXPORT_SYMBOL(get_unused_fd_flags);
1168 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1265 ret = get_unused_fd_flags(0); in SYSCALL_DEFINE1()
Danon_inodes.c189 error = get_unused_fd_flags(flags); in __anon_inode_getfd()
Dfhandle.c227 fd = get_unused_fd_flags(open_flag); in do_handle_open()
Dinit.c264 fd = get_unused_fd_flags(0); in init_dup()
Dnsfs.c155 fd = get_unused_fd_flags(O_CLOEXEC); in open_related_ns()
Deventfd.c430 fd = get_unused_fd_flags(flags); in do_eventfd()
Dpipe.c966 error = get_unused_fd_flags(flags); in __do_pipe_flags()
971 error = get_unused_fd_flags(flags); in __do_pipe_flags()
/linux-5.19.10/mm/
Dmemfd.c309 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
Dsecretmem.c245 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1()
/linux-5.19.10/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-5.19.10/drivers/dma-buf/
Dsw_sync.c330 int fd = get_unused_fd_flags(O_CLOEXEC); in sw_sync_ioctl_create_fence()
Dsync_file.c317 int fd = get_unused_fd_flags(O_CLOEXEC); in sync_file_ioctl_merge()
/linux-5.19.10/Documentation/driver-api/
Dsync_file.rst57 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-5.19.10/drivers/misc/cxl/
Dapi.c402 rc = get_unused_fd_flags(flags); in cxl_get_fd()
/linux-5.19.10/drivers/media/mc/
Dmc-request.c306 fd = get_unused_fd_flags(O_CLOEXEC); in media_request_alloc()
/linux-5.19.10/fs/cachefiles/
Dondemand.c203 fd = get_unused_fd_flags(O_WRONLY); in cachefiles_ondemand_get_fd()
/linux-5.19.10/drivers/char/tpm/
Dtpm_vtpm_proxy.c550 fd = get_unused_fd_flags(O_RDWR); in vtpm_proxy_create_device()
/linux-5.19.10/drivers/gpu/drm/
Ddrm_syncobj.c614 fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_get_fd()
710 int fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_export_sync_file()
Ddrm_lease.c530 fd = get_unused_fd_flags(cl->flags & (O_CLOEXEC | O_NONBLOCK)); in drm_mode_create_lease_ioctl()
/linux-5.19.10/fs/autofs/
Ddev-ioctl.c231 fd = get_unused_fd_flags(O_CLOEXEC); in autofs_dev_ioctl_open_mountpoint()
/linux-5.19.10/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c507 out_fence_fd = get_unused_fd_flags(O_CLOEXEC); in etnaviv_ioctl_gem_submit()
/linux-5.19.10/drivers/gpio/
Dgpiolib-cdev.c367 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in linehandle_create()
1612 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in linereq_create()
2001 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in lineevent_create()
/linux-5.19.10/kernel/bpf/
Dbpf_iter.c634 fd = get_unused_fd_flags(flags); in bpf_iter_new_fd()
/linux-5.19.10/drivers/infiniband/core/
Drdma_core.c473 new_fd = get_unused_fd_flags(O_CLOEXEC); in alloc_begin_fd_uobject()

123