/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 | 668 mfd_fail_new("", ~MFD_CLOEXEC); in test_create() 674 fd = mfd_assert_new("", 0, MFD_CLOEXEC); in test_create() 682 fd = mfd_assert_new("", 0, MFD_ALLOW_SEALING | MFD_CLOEXEC); in test_create() 698 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_basic() 729 MFD_CLOEXEC); in test_basic() 750 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_write() 777 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_future_write() 816 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_shrink() 842 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_grow() 868 MFD_CLOEXEC | MFD_ALLOW_SEALING); in test_seal_resize() [all …]
|
D | fuse_test.c | 270 MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create02.c | 43 {"invalid flags fail 3", "test", ~MFD_CLOEXEC, EINVAL }, 48 {"valid flags 1 pass", "test", MFD_CLOEXEC, 0 }, 50 {"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/swiftshader/src/System/Linux/ |
D | MemFd.cpp | 24 #ifndef MFD_CLOEXEC 25 # define MFD_CLOEXEC 0x0001U macro 72 fd_ = syscall(__NR_memfd_create, name, MFD_CLOEXEC); in allocate()
|
/external/perfetto/src/tracing/ipc/ |
D | memfd.h | 28 #ifndef MFD_CLOEXEC 29 #define MFD_CLOEXEC 0x0001U macro
|
D | memfd.cc | 67 MFD_CLOEXEC | MFD_ALLOW_SEALING))); in HasMemfdSupport()
|
D | posix_shared_memory.cc | 44 CreateMemfd("perfetto_shmem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in Create()
|
/external/ltp/include/lapi/ |
D | memfd.h | 20 #ifndef MFD_CLOEXEC 21 # define MFD_CLOEXEC 0x0001U macro
|
/external/kernel-headers/original/uapi/linux/ |
D | memfd.h | 8 #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/crosvm/seccomp/arm/ |
D | wl_device.policy | 15 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|
/external/crosvm/seccomp/x86_64/ |
D | wl_device.policy | 15 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|
D | gpu_device.policy | 56 # Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|
/external/mesa3d/src/util/ |
D | anon_file.c | 129 fd = syscall(SYS_memfd_create, debug_name, MFD_CLOEXEC); in os_create_anonymous_file()
|
/external/crosvm/sys_util/src/ |
D | shm.rs | 25 const MFD_CLOEXEC: c_uint = 0x0001; constant 112 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()
|
/external/crosvm/tests/ |
D | mini_plugin_template.c | 100 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_dirty_log.c | 112 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_ioevent.c | 135 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_irqfd.c | 156 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_adder.c | 152 int mem_fd = syscall(SYS_memfd_create, "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
D | plugin_vcpu_pause.c | 173 "guest_mem", MFD_CLOEXEC | MFD_ALLOW_SEALING); in main()
|
/external/mesa3d/src/drm-shim/ |
D | device.c | 85 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()
|