Home
last modified time | relevance | path

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

123

/linux-6.12.1/include/linux/
Dfile.h96 extern int get_unused_fd_flags(unsigned flags);
100 get_unused_fd_flags(flags), unsigned flags)
/linux-6.12.1/fs/
Dfile.c548 int get_unused_fd_flags(unsigned flags) in get_unused_fd_flags() function
552 EXPORT_SYMBOL(get_unused_fd_flags);
1289 new_fd = get_unused_fd_flags(o_flags); in receive_fd()
1385 ret = get_unused_fd_flags(0); in SYSCALL_DEFINE1()
Danon_inodes.c229 error = get_unused_fd_flags(flags); in __anon_inode_getfd()
Dinit.c262 fd = get_unused_fd_flags(0); in init_dup()
Deventfd.c408 fd = get_unused_fd_flags(flags); in do_eventfd()
Dfhandle.c347 fd = get_unused_fd_flags(open_flag); in do_handle_open()
Dsignalfd.c274 ufd = get_unused_fd_flags(flags & O_CLOEXEC); in do_signalfd4()
Dpipe.c977 error = get_unused_fd_flags(flags); in __do_pipe_flags()
982 error = get_unused_fd_flags(flags); in __do_pipe_flags()
/linux-6.12.1/drivers/misc/
Dntsync.c152 fd = get_unused_fd_flags(O_CLOEXEC); in ntsync_obj_get_fd()
/linux-6.12.1/net/handshake/
Dnetlink.c113 fd = get_unused_fd_flags(O_CLOEXEC); in handshake_nl_accept_doit()
/linux-6.12.1/mm/
Dsecretmem.c249 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1()
Dmemfd.c381 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
/linux-6.12.1/kernel/bpf/
Dtoken.c196 fd = get_unused_fd_flags(O_CLOEXEC); in bpf_token_create()
/linux-6.12.1/arch/powerpc/platforms/cell/spufs/
Dinode.c284 ret = get_unused_fd_flags(0); in spufs_context_open()
500 ret = get_unused_fd_flags(0); in spufs_gang_open()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dpapr-vpd.c479 fd = get_unused_fd_flags(O_RDONLY | O_CLOEXEC); in papr_vpd_create_handle()
/linux-6.12.1/Documentation/driver-api/
Dsync_file.rst57 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-6.12.1/drivers/dma-buf/
Dsync_file.c210 int fd = get_unused_fd_flags(O_CLOEXEC); in sync_file_ioctl_merge()
Dsw_sync.c368 int fd = get_unused_fd_flags(O_CLOEXEC); in sw_sync_ioctl_create_fence()
Ddma-buf.c370 fd = get_unused_fd_flags(O_CLOEXEC); in dma_buf_export_sync_file()
721 fd = get_unused_fd_flags(flags); in dma_buf_fd()
/linux-6.12.1/drivers/media/mc/
Dmc-request.c306 fd = get_unused_fd_flags(O_CLOEXEC); in media_request_alloc()
/linux-6.12.1/drivers/misc/cxl/
Dapi.c402 rc = get_unused_fd_flags(flags); in cxl_get_fd()
/linux-6.12.1/drivers/iommu/iommufd/
Dfault.c397 fdno = get_unused_fd_flags(O_CLOEXEC); in iommufd_fault_alloc()
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c421 err = get_unused_fd_flags(O_CLOEXEC); in virtio_gpu_init_submit()
/linux-6.12.1/drivers/char/tpm/
Dtpm_vtpm_proxy.c549 fd = get_unused_fd_flags(O_RDWR); in vtpm_proxy_create_device()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_syncobj.c677 fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_get_fd()
773 int fd = get_unused_fd_flags(O_CLOEXEC); in drm_syncobj_export_sync_file()

123