Home
last modified time | relevance | path

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

123456

/external/virglrenderer/vtest/
Dvtest_shm.c36 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
54 fd = memfd_create(str, MFD_ALLOW_SEALING); in vtest_new_shm()
71 int mfd = memfd_create("test", MFD_ALLOW_SEALING); in vtest_shm_check()
/external/rust/crates/nix/patches/
Dmemfd.diff5 @@ -49,7 +49,9 @@ pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> {
8 // If the OS is Linux, gnu and musl expose a memfd_create symbol but not uclibc
11 + // ANDROID: Our glibc is too old to have memfd_create.
/external/rust/crates/nix/src/sys/
Dmemfd.rs43 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> { in memfd_create() function
58 libc::memfd_create(name.as_ptr(), flags.bits()) in memfd_create()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/unix/
Dshm.rs12 use nix::sys::memfd::memfd_create;
38 let raw_fd = memfd_create( in new()
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c21 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
39 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
/external/musl/src/linux/
Dmemfd_create.c5 int memfd_create(const char *name, unsigned flags) in memfd_create() function
/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/ltp/include/lapi/syscalls/
Dhppa.in23 memfd_create 340
/external/crosvm/docs/book/src/running_crosvm/
Drequirements.md6 - `virtio-wayland` - The `memfd_create` syscall, introduced in Linux 3.17, and a Wayland compositor.
/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/crosvm/tests/
Dplugin.policy43 memfd_create: 1
/external/wayland/cursor/
Dos-compatibility.c124 fd = memfd_create("wayland-cursor", MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
/external/swiftshader/src/Reactor/
DExecutableMemory.cpp149 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function
176 static int fd = memfd_create(MACRO_STRINGIFY(REACTOR_ANONYMOUS_MMAP_NAME), 0); in anonymousFd()
/external/crosvm/jail/seccomp/x86_64/
Dswap_monitor.policy30 memfd_create: 1
Dcommon_device.policy33 memfd_create: 1
Dvideo_device.policy77 memfd_create: 1
/external/crosvm/jail/seccomp/aarch64/
Dcommon_device.policy31 memfd_create: 1
/external/virglrenderer/src/mesa/util/
Danon_file.c121 fd = memfd_create(debug_name, MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
/external/crosvm/jail/seccomp/arm/
Dcommon_device.policy36 memfd_create: 1
Dgpu_common.policy88 memfd_create: arg1 == 3
/external/musl/include/sys/
Dmman.h132 int memfd_create (const char *, unsigned);
/external/cronet/base/allocator/partition_allocator/
Dpartition_address_space.cc174 int regular_pool_fd = memfd_create("/regular_pool", MFD_CLOEXEC); in Init()
188 int brp_pool_fd = memfd_create("/brp_pool", MFD_CLOEXEC); in Init()
/external/virglrenderer/
DAndroid.bp153 // Provide a C proto for memfd_create
160 // Provide a C proto for memfd_create
/external/crosvm/base/src/sys/unix/
Dshm.rs56 unsafe fn memfd_create(name: *const c_char, flags: c_uint) -> c_int { in memfd_create() function
151 let fd = unsafe { memfd_create(shm_name, MFD_CLOEXEC | MFD_ALLOW_SEALING) }; in new()

123456