Searched refs:MFD_CLOEXEC (Results 1 – 21 of 21) sorted by relevance
/external/strace/xlat/ |
D | memfd_create_flags.h | 6 #if defined(MFD_CLOEXEC) || (defined(HAVE_DECL_MFD_CLOEXEC) && HAVE_DECL_MFD_CLOEXEC) 8 static_assert((MFD_CLOEXEC) == (1), "MFD_CLOEXEC != 1"); 11 # define MFD_CLOEXEC 1 38 XLAT(MFD_CLOEXEC),
|
D | memfd_create_flags.in | 1 MFD_CLOEXEC 1
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | memfd_test.c | 599 mfd_fail_new("", ~MFD_CLOEXEC); in test_create() 605 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create() 613 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create() 629 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic() 660 MFD_CLOEXEC); in test_basic() 681 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write() 707 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink() 733 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow() 759 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize() 785 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_share_dup() [all …]
|
D | fuse_test.c | 270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create02.c | 53 {"invalid flags fail 3", "test", ~MFD_CLOEXEC, EINVAL }, 58 {"valid flags 1 pass", "test", MFD_CLOEXEC, 0 }, 60 {"valid flags 3 pass", "test", MFD_CLOEXEC | MFD_ALLOW_SEALING, 0 },
|
D | memfd_create_common.h | 24 #define FLAGS_ALL_ARRAY_INITIALIZER {MFD_CLOEXEC, MFD_ALLOW_SEALING} 25 #define FLAGS_ALL_MASK (MFD_CLOEXEC | MFD_ALLOW_SEALING)
|
/external/ltp/include/lapi/ |
D | memfd.h | 20 #ifndef MFD_CLOEXEC 21 # define MFD_CLOEXEC 0x0001U macro
|
/external/honggfuzz/libhfcommon/ |
D | files.c | 401 #if !defined(MFD_CLOEXEC) /* sys/memfd.h is not always present */ in files_mapSharedMem() 402 #define MFD_CLOEXEC 0x0001U in files_mapSharedMem() macro 412 *fd = syscall(__NR_memfd_create, name, (uintptr_t)MFD_CLOEXEC); in files_mapSharedMem()
|
/external/kernel-headers/original/uapi/linux/ |
D | memfd.h | 8 #define MFD_CLOEXEC 0x0001U macro
|
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 36 memfd = memfd_create("udmabuf-test", MFD_CLOEXEC); in main()
|
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory.cc | 47 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in Create()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_gem_stubs.c | 41 int fd = memfd_create("fake bo", MFD_CLOEXEC); in anv_gem_create()
|
D | anv_allocator.c | 255 pool->fd = memfd_create("block pool", MFD_CLOEXEC); in anv_block_pool_init()
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.cc | 60 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in SharedRingBuffer()
|
/external/perfetto/src/tracing/api_impl/ |
D | consumer_api.cc | 156 static_cast<int>(syscall(__NR_memfd_create, memfd_name, MFD_CLOEXEC))); in Initialize()
|
/external/syzkaller/sys/linux/ |
D | sys_386.const | 278 MFD_CLOEXEC = 1
|
D | sys_amd64.const | 278 MFD_CLOEXEC = 1
|
D | sys_arm.const | 278 MFD_CLOEXEC = 1
|
D | sys_ppc64le.const | 278 MFD_CLOEXEC = 1
|
D | sys_arm64.const | 278 MFD_CLOEXEC = 1
|
D | sys.txt | 939 memfd_flags = MFD_CLOEXEC, MFD_ALLOW_SEALING
|