Searched refs:O_CLOEXEC (Results 101 - 125 of 154) sorted by relevance
1234567
/linux-master/drivers/gpu/drm/ |
H A D | drm_syncobj.c | 677 fd = get_unused_fd_flags(O_CLOEXEC); 773 int fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/fs/notify/fanotify/ |
H A D | fanotify_user.c | 109 __O_SYNC | O_DSYNC | O_CLOEXEC | \ 1477 f_flags |= O_CLOEXEC;
|
/linux-master/fs/ |
H A D | open.c | 1187 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC) 1208 u64 strip = __FMODE_NONOTIFY | O_CLOEXEC; 1218 * open_flags like O_CLOEXEC.
|
H A D | fcntl.c | 359 err = f_dupfd(argi, filp, O_CLOEXEC);
|
H A D | pipe.c | 968 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE))
|
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 1026 fd = inotify_init1(IN_NONBLOCK|O_CLOEXEC); 1150 fd = open(path, O_RDWR|O_CREAT|O_CLOEXEC, 0640);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 1022 flags | O_CLOEXEC); 2407 O_RDWR | O_CLOEXEC); 3193 fd = get_unused_fd_flags(O_CLOEXEC); 3204 file = anon_inode_getfile("bpf_link", &bpf_link_fops, link, O_CLOEXEC); 3232 return anon_inode_getfd("bpf-link", &bpf_link_fops, link, O_CLOEXEC); 5516 fd = anon_inode_getfd("bpf-stats", &bpf_stats_fops, NULL, O_CLOEXEC);
|
H A D | bpf_iter.c | 646 flags = O_RDONLY | O_CLOEXEC;
|
/linux-master/kernel/ |
H A D | seccomp.c | 110 * @flags: The flags for the new file descriptor. At the moment, only O_CLOEXEC 1676 if (addfd.newfd_flags & ~O_CLOEXEC) 1940 listener = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/tools/perf/util/ |
H A D | evlist.c | 1886 fd = open(s, O_RDWR | O_NONBLOCK | O_CLOEXEC); 1897 fd = open(p, O_RDWR | O_NONBLOCK | O_CLOEXEC);
|
/linux-master/drivers/virt/nitro_enclaves/ |
H A D | ne_misc_dev.c | 1654 enclave_fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | ocxl_hw.c | 1213 flags = O_RDWR | O_CLOEXEC;
|
/linux-master/drivers/vfio/ |
H A D | group.c | 324 fdno = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_vio.c | 337 stt, O_RDWR | O_CLOEXEC);
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 698 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/drivers/xen/ |
H A D | gntdev-dmabuf.c | 392 ret = dma_buf_fd(gntdev_dmabuf->dmabuf, O_CLOEXEC);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | token.c | 237 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW);
|
/linux-master/fs/9p/ |
H A D | vfs_inode_dotl.c | 135 { O_CLOEXEC, P9_DOTL_CLOEXEC },
|
/linux-master/tools/bpf/bpftool/ |
H A D | feature.c | 155 fd = open(path, O_RDONLY | O_CLOEXEC);
|
/linux-master/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 324 fd = open(path, O_RDWR | O_CLOEXEC);
|
/linux-master/drivers/dma-buf/ |
H A D | dma-buf.c | 370 fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/virt/kvm/ |
H A D | kvm_main.c | 4166 return anon_inode_getfd(name, &kvm_vcpu_fops, vcpu, O_RDWR | O_CLOEXEC); 4358 fd = get_unused_fd_flags(O_CLOEXEC); 4777 ret = anon_inode_getfd(ops->name, &kvm_device_fops, dev, O_RDWR | O_CLOEXEC); 5048 fd = get_unused_fd_flags(O_CLOEXEC); 5414 fd = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/tools/lib/bpf/ |
H A D | linker.c | 305 linker->fd = open(file, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644); 560 obj->fd = open(filename, O_RDONLY | O_CLOEXEC);
|
/linux-master/drivers/iommu/iommufd/ |
H A D | selftest.c | 1082 fdno = get_unused_fd_flags(O_CLOEXEC);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | net_test.c | 1551 path_beneath.parent_fd = open("/dev", O_PATH | O_DIRECTORY | O_CLOEXEC);
|
Completed in 426 milliseconds
1234567