Searched refs:O_CLOEXEC (Results 126 - 150 of 154) sorted by relevance

1234567

/linux-master/fs/
H A Dpipe.c968 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE))
H A Dnamespace.c2701 BUILD_BUG_ON(OPEN_TREE_CLOEXEC != O_CLOEXEC);
2721 fd = get_unused_fd_flags(flags & O_CLOEXEC);
4048 ret = get_unused_fd_flags((flags & FSMOUNT_CLOEXEC) ? O_CLOEXEC : 0);
H A Duserfaultfd.c2205 BUILD_BUG_ON(UFFD_CLOEXEC != O_CLOEXEC);
/linux-master/tools/testing/selftests/landlock/
H A Dnet_test.c1551 path_beneath.parent_fd = open("/dev", O_PATH | O_DIRECTORY | O_CLOEXEC);
/linux-master/drivers/vfio/
H A Dvfio_main.c820 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c4109 addfd.newfd_flags = ~O_CLOEXEC;
4112 addfd.newfd_flags = O_CLOEXEC;
4256 addfd.newfd_flags = O_CLOEXEC;
/linux-master/ipc/
H A Dmqueue.c909 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c1985 ret = anon_inode_getfd("kvm-htab", &kvm_htab_fops, ctx, rwflag | O_CLOEXEC);
/linux-master/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c96 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK | UFFD_USER_MODE_ONLY);
/linux-master/tools/testing/selftests/bpf/
H A Dveristat.c379 fd = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c1579 ib, O_RDWR | O_CLOEXEC);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c1572 fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/net/
H A Dsocket.c1650 BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC);
1715 return sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK));
/linux-master/io_uring/
H A Dio_uring.c3815 fd = get_unused_fd_flags(O_RDWR | O_CLOEXEC);
3831 O_RDWR | O_CLOEXEC, NULL);
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-core.c2331 if (flags & ~(O_CLOEXEC | O_ACCMODE)) {
2332 dprintk(q, 1, "queue does support only O_CLOEXEC and access mode flags\n");
/linux-master/tools/testing/selftests/iommu/
H A Diommufd.c1172 ASSERT_EQ(0, pipe2(pipefds, O_CLOEXEC));
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c3437 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/kernel/
H A Dfork.c2025 pidfd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/nvme/host/
H A Dtcp.c1675 sock_file = sock_alloc_file(queue->sock, O_CLOEXEC, NULL);
/linux-master/drivers/nvme/target/
H A Dtcp.c1901 sock_file = sock_alloc_file(queue->sock, O_CLOEXEC, NULL);
/linux-master/tools/perf/
H A Dbuiltin-trace.c92 #ifndef O_CLOEXEC
93 # define O_CLOEXEC 02000000 macro
/linux-master/tools/lib/bpf/
H A Dbtf.c1103 fd = open(path, O_RDONLY | O_CLOEXEC);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c4106 out_fence_fd = get_unused_fd_flags(O_CLOEXEC);
/linux-master/drivers/gpu/drm/i915/
H A Di915_perf.c3931 f_flags |= O_CLOEXEC;
/linux-master/net/unix/
H A Daf_unix.c3081 fd = get_unused_fd_flags(O_CLOEXEC);

Completed in 446 milliseconds

1234567