Home
last modified time | relevance | path

Searched refs:MFD_CLOEXEC (Results 1 – 21 of 21) sorted by relevance

/external/strace/xlat/
Dmemfd_create_flags.h6 #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),
Dmemfd_create_flags.in1 MFD_CLOEXEC 1
/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c599 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 …]
Dfuse_test.c270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create02.c53 {"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 },
Dmemfd_create_common.h24 #define FLAGS_ALL_ARRAY_INITIALIZER {MFD_CLOEXEC, MFD_ALLOW_SEALING}
25 #define FLAGS_ALL_MASK (MFD_CLOEXEC | MFD_ALLOW_SEALING)
/external/ltp/include/lapi/
Dmemfd.h20 #ifndef MFD_CLOEXEC
21 # define MFD_CLOEXEC 0x0001U macro
/external/honggfuzz/libhfcommon/
Dfiles.c401 #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/
Dmemfd.h8 #define MFD_CLOEXEC 0x0001U macro
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c36 memfd = memfd_create("udmabuf-test", MFD_CLOEXEC); in main()
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory.cc47 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in Create()
/external/mesa3d/src/intel/vulkan/
Danv_gem_stubs.c41 int fd = memfd_create("fake bo", MFD_CLOEXEC); in anv_gem_create()
Danv_allocator.c255 pool->fd = memfd_create("block pool", MFD_CLOEXEC); in anv_block_pool_init()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc60 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in SharedRingBuffer()
/external/perfetto/src/tracing/api_impl/
Dconsumer_api.cc156 static_cast<int>(syscall(__NR_memfd_create, memfd_name, MFD_CLOEXEC))); in Initialize()
/external/syzkaller/sys/linux/
Dsys_386.const278 MFD_CLOEXEC = 1
Dsys_amd64.const278 MFD_CLOEXEC = 1
Dsys_arm.const278 MFD_CLOEXEC = 1
Dsys_ppc64le.const278 MFD_CLOEXEC = 1
Dsys_arm64.const278 MFD_CLOEXEC = 1
Dsys.txt939 memfd_flags = MFD_CLOEXEC, MFD_ALLOW_SEALING