Searched refs:memfd_create (Results 1 - 17 of 17) sorted by relevance
/linux-master/tools/testing/selftests/drivers/dma-buf/ |
H A D | udmabuf.c | 21 static int memfd_create(const char *name, unsigned int flags) function 40 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hugepage-mmap.c | 73 fd = memfd_create("hugepage-mmap", MFD_HUGETLB); 75 ksft_exit_fail_msg("memfd_create() failed: %s\n", strerror(errno));
|
H A D | gup_longterm.c | 242 fd = memfd_create("test", 0); 244 ksft_test_result_fail("memfd_create() failed\n"); 310 fd = memfd_create("test", flags); 312 ksft_test_result_skip("memfd_create() failed\n");
|
H A D | hugepage-mremap.c | 119 fd = memfd_create(argv[0], MFD_HUGETLB);
|
H A D | hugetlb-read-hwpoison.c | 242 fd = memfd_create("hugetlb_tmp", MFD_HUGETLB);
|
H A D | mremap_dontunmap.c | 133 int mem_fd = memfd_create("memfd", MFD_CLOEXEC); 134 BUG_ON(mem_fd < 0, "memfd_create");
|
H A D | hugetlb-madvise.c | 85 fd = memfd_create(argv[0], MFD_HUGETLB); 87 perror("memfd_create() failed");
|
H A D | uffd-common.c | 30 mem_fd = memfd_create("uffd-test", memfd_flags); 32 err("memfd_create");
|
H A D | cow.c | 1531 fd = memfd_create("test", 0); 1533 ksft_test_result_fail("memfd_create() failed\n"); 1631 fd = memfd_create("test", flags); 1633 ksft_test_result_skip("memfd_create() failed\n");
|
H A D | pagemap_ioctl.c | 1569 fd = memfd_create("uffd-test", MFD_HUGETLB | MFD_NOEXEC_SEAL); 1616 fd = memfd_create(__FILE__".tmp00", MFD_NOEXEC_SEAL);
|
H A D | khugepaged.c | 443 finfo.fd = memfd_create("khugepaged-selftest-collapse-shmem", 0); 445 perror("memfd_create()");
|
/linux-master/mm/ |
H A D | memfd.c | 2 * memfd_create system call and file sealing support 275 "%s[%d]: memfd_create() requires MFD_NOEXEC_SEAL with vm.memfd_noexec=%d\n", 283 SYSCALL_DEFINE2(memfd_create,
|
/linux-master/kernel/ |
H A D | sys_ni.c | 249 COND_SYSCALL(memfd_create); variable
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 1219 * int memfd_create(const char *name, unsigned int flags); 1229 int memfd_create(const char *name, unsigned int flags) function
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 776 fd = memfd_create("kvm_selftest", memfd_flags); 777 TEST_ASSERT(fd != -1, __KVM_SYSCALL_ERROR("memfd_create()", fd));
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 4070 memfd = memfd_create("test", 0); 4231 memfd = memfd_create("test", 0);
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 3837 fd = memfd_create("name", MFD_CLOEXEC);
|
Completed in 214 milliseconds