/third_party/rust/crates/rustix/src/fs/ |
H A D | memfd_create.rs | 6 /// `memfd_create(path, flags)` 11 /// [Linux]: https://man7.org/linux/man-pages/man2/memfd_create.2.html 13 pub fn memfd_create<P: path::Arg>(path: P, flags: MemfdFlags) -> io::Result<OwnedFd> { in memfd_create() functions 14 path.into_with_c_str(|path| backend::fs::syscalls::memfd_create(path, flags)) in memfd_create()
|
H A D | mod.rs | 49 mod memfd_create; modules 203 pub use memfd_create::{memfd_create, MemfdFlags};
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | memfd_create.c | 22 * @tc.desc : Process memfd_create success. 28 int fd = memfd_create(tmpfile, 0); in memfd_create_0100() 39 * @tc.desc: Process memfd_create fail. because param is error. 45 int fd = memfd_create(tmpfile, -1); in memfd_create_0200()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | memfd.rs | 11 /// Options that change the behavior of [`memfd_create`]. 28 /// See also the file sealing notes given in [`memfd_create(2)`]. 30 /// [`memfd_create(2)`]: https://man7.org/linux/man-pages/man2/memfd_create.2.html 40 /// For more information, see [`memfd_create(2)`]. 42 /// [`memfd_create(2)`]: https://man7.org/linux/man-pages/man2/memfd_create.2.html 43 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> { in memfd_create() functions 47 // Android does not have a memfd_create symbol in memfd_create() 51 // If the OS is Linux, gnu and musl expose a memfd_create symbo in memfd_create() [all...] |
/third_party/rust/crates/rustix/tests/io/ |
H A D | seals.rs | 5 fcntl_add_seals, fcntl_get_seals, ftruncate, memfd_create, MemfdFlags, SealFlags, in test_seals() 10 let fd = match memfd_create("test", MemfdFlags::CLOEXEC | MemfdFlags::ALLOW_SEALING) { in test_seals()
|
/third_party/musl/src/linux/ |
H A D | memfd_create.c | 5 int memfd_create(const char *name, unsigned flags) in memfd_create() function
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | memfd-wrappers.h | 29 * Before glibc version 2.27 there was no wrapper for memfd_create(2), 37 static inline int memfd_create(const char *name, unsigned int flags) { in memfd_create() function 41 /* memfd_create(2) flags */
|
H A D | shm.c | 171 fd = memfd_create("pulseaudio", MFD_ALLOW_SEALING); in sharedmem_create()
|
/third_party/mesa3d/src/util/ |
H A D | anon_file.c | 121 fd = memfd_create(debug_name, MFD_CLOEXEC | MFD_ALLOW_SEALING); in os_create_anonymous_file()
|
/third_party/mesa3d/src/drm-shim/ |
H A D | device.c | 51 memfd_create(const char *name, unsigned int flags) in memfd_create() function 89 shim_device.mem_fd = memfd_create("shim mem", MFD_CLOEXEC); in drm_shim_device_init()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ExecutableMemory.cpp | 149 static int memfd_create(const char *name, unsigned int flags) in memfd_create() function 172 // memfd_create fails, -1 is returned. Note, the mappings should be 176 static int fd = memfd_create(MACRO_STRINGIFY(REACTOR_ANONYMOUS_MMAP_NAME), 0); in anonymousFd()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mman.h | 126 int memfd_create (const char *, unsigned);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mman.h | 130 int memfd_create (const char *, unsigned);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mman.h | 130 int memfd_create (const char *, unsigned);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mman.h | 135 int memfd_create (const char *, unsigned);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mman.h | 130 int memfd_create (const char *, unsigned);
|
/third_party/musl/include/sys/ |
H A D | mman.h | 132 int memfd_create (const char *, unsigned);
|
/third_party/rust/crates/rustix/src/backend/libc/fs/ |
H A D | syscalls.rs | 1243 pub(crate) fn memfd_create(path: &CStr, flags: MemfdFlags) -> io::Result<OwnedFd> { 1246 fn memfd_create( in memfd_create() functions 1254 fn memfd_create( in memfd_create() functions 1260 unsafe { ret_owned_fd(memfd_create(c_str(path), flags.bits())) }
|
/third_party/alsa-utils/axfer/test/ |
H A D | container-test.c | 161 fd = memfd_create(name, 0); in callback()
|
H A D | mapper-test.c | 243 cntr_fds[i] = memfd_create(path, 0); in test_mapper()
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitProtExecAllocator.c | 118 fd = memfd_create("sljit", MFD_CLOEXEC); in create_tempfile()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/ |
H A D | mod.rs | 765 pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int; in memfd_create() functions
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_memory_helper.c | 112 /* Use memfd only for 32 bits. Check for memfd_create support */ 717 memfd_file->fd = memfd_create("gallium_nine_ram", 0); in nine_memfd_allocator()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/ |
H A D | syscalls.rs | 1363 pub(crate) fn memfd_create(name: &CStr, flags: MemfdFlags) -> io::Result<OwnedFd> {
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/ |
H A D | mod.rs | 1333 pub fn memfd_create(name: *const ::c_char, flags: ::c_uint) -> ::c_int; in memfd_create() functions
|