Home
last modified time | relevance | path

Searched refs:memfd_create (Results 1 – 25 of 108) sorted by relevance

12345

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dandroid-cloexec-memfd-create.cpp15 extern "C" int memfd_create(const char *name, unsigned int flags);
18 memfd_create(NULL, MFD_ALLOW_SEALING); in a()
21 TEMP_FAILURE_RETRY(memfd_create(NULL, MFD_ALLOW_SEALING)); in a()
27 memfd_create(NULL, 3); in f()
30 TEMP_FAILURE_RETRY(memfd_create(NULL, 3)); in f()
35 memfd_create(NULL, flag); in f()
36 TEMP_FAILURE_RETRY(memfd_create(NULL, flag)); in f()
40 int memfd_create(const char *name, unsigned int flags);
43 memfd_create(NULL, MFD_ALLOW_SEALING); in d()
44 TEMP_FAILURE_RETRY(memfd_create(NULL, MFD_ALLOW_SEALING)); in d()
[all …]
/external/virglrenderer/vtest/
Dvtest_shm.c36 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
52 fd = memfd_create(str, MFD_ALLOW_SEALING); in vtest_new_shm()
69 int mfd = memfd_create("test", MFD_ALLOW_SEALING); in vtest_shm_check()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dandroid-cloexec-memfd-create.rst6 ``memfd_create()`` should include ``MFD_CLOEXEC`` in its type argument to avoid
14 memfd_create(name, MFD_ALLOW_SEALING);
18 memfd_create(name, MFD_ALLOW_SEALING | MFD_CLOEXEC);
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c18 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
36 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
/external/crosvm/sys_util/src/
Dshm.rs30 unsafe fn memfd_create(name: *const c_char, flags: c_uint) -> c_int { in memfd_create() function
131 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()
289 let fd = memfd_create(b"/test_memfd_create\0".as_ptr() as *const c_char, 0); in kernel_has_memfd()
/external/igt-gpu-tools/lib/stubs/syscalls/sys/
Dmman.h35 #define memfd_create missing_memfd_create macro
/external/strace/
Dmemfd_create.c45 SYS_FUNC(memfd_create) in SYS_FUNC() argument
/external/rust/crates/nix/src/sys/
Dmemfd.rs14 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> { in memfd_create() function
/external/ltp/include/lapi/syscalls/
Dhppa.in22 memfd_create 340
Daarch64.in260 memfd_create 279
Dmips_n64.in314 memfd_create 314
Dia64.in301 memfd_create 1340
Dx86_64.in310 memfd_create 319
Dsparc64.in315 memfd_create 348
/external/crosvm/tests/
Dplugin.policy41 memfd_create: 1
/external/crosvm/seccomp/aarch64/
Dwl_device.policy14 memfd_create: arg1 == 3
/external/crosvm/seccomp/arm/
Dwl_device.policy15 memfd_create: arg1 == 3
Dgpu_device.policy72 memfd_create: arg1 == 3
/external/crosvm/seccomp/x86_64/
Dwl_device.policy13 memfd_create: arg1 == 3
Dgpu_device.policy67 memfd_create: arg1 == 3 || arg1 == 1
/external/wayland/cursor/
Dos-compatibility.c124 fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
/external/mesa3d/src/drm-shim/
Ddevice.c51 memfd_create(const char *name, unsigned int flags) in memfd_create() function
85 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()
/external/swiftshader/src/Reactor/
DExecutableMemory.cpp143 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
170 static int fd = memfd_create(MACRO_STRINGIFY(REACTOR_ANONYMOUS_MMAP_NAME), 0); in anonymousFd()
/external/wayland/
Dmeson.build38 'memfd_create',
/external/mesa3d/docs/relnotes/
D17.2.7.rst66 - anv_allocator.c:113:1: error: static declaration of ‘memfd_create
212 - anv: Check if memfd_create is already defined.

12345