Searched refs:memfd (Results 1 – 13 of 13) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 26 int devfd, memfd, buf, ret; in main() local 36 memfd = memfd_create("udmabuf-test", MFD_CLOEXEC); in main() 37 if (memfd < 0) { in main() 43 ret = ftruncate(memfd, size); in main() 52 create.memfd = memfd; in main() 62 create.memfd = memfd; in main() 72 create.memfd = 0; /* stdin */ in main() 82 create.memfd = memfd; in main() 93 close(memfd); in main()
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 95 int memfd = ::open(procmem.c_str(), O_RDWR); in add_to_semaphore() local 96 if (memfd < 0) in add_to_semaphore() 101 if (::lseek(memfd, address, SEEK_SET) < 0 || in add_to_semaphore() 102 ::read(memfd, &original, 2) != 2) { in add_to_semaphore() 103 ::close(memfd); in add_to_semaphore() 109 if (::lseek(memfd, address, SEEK_SET) < 0 || in add_to_semaphore() 110 ::write(memfd, &original, 2) != 2) { in add_to_semaphore() 111 ::close(memfd); in add_to_semaphore() 115 ::close(memfd); in add_to_semaphore()
|
/external/kernel-headers/original/uapi/linux/ |
D | udmabuf.h | 11 __u32 memfd; member 18 __u32 memfd; member
|
/external/syzkaller/executor/ |
D | common_linux.h | 688 int memfd = syscall(SYZ_memfd_create, "syz_read_part_table", 0); in syz_read_part_table() local 689 if (memfd == -1) { in syz_read_part_table() 693 if (ftruncate(memfd, size)) { in syz_read_part_table() 698 if (pwrite(memfd, segs[i].data, segs[i].size, segs[i].offset) < 0) { in syz_read_part_table() 708 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { in syz_read_part_table() 715 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { in syz_read_part_table() 750 close(memfd); in syz_read_part_table() 791 int memfd = syscall(SYZ_memfd_create, "syz_mount_image", 0); in syz_mount_image() local 792 if (memfd == -1) { in syz_mount_image() 796 if (ftruncate(memfd, size)) { in syz_mount_image() [all …]
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | .gitignore | 4 memfd-test-file
|
D | run_fuse_test.sh | 13 ./fuse_test ./mnt/memfd $@
|
/external/linux-kselftest/tools/testing/selftests/ |
D | Makefile | 22 TARGETS += memfd
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 1276 int memfd = syscall(SYZ_memfd_create, "syz_read_part_table", 0); 1277 if (memfd == -1) { 1281 if (ftruncate(memfd, size)) { 1286 if (pwrite(memfd, segs[i].data, segs[i].size, segs[i].offset) < 0) { 1296 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { 1303 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { 1337 close(memfd); 1367 int memfd = syscall(SYZ_memfd_create, "syz_mount_image", 0); 1368 if (memfd == -1) { 1372 if (ftruncate(memfd, size)) { [all …]
|
/external/linux-kselftest/android/ |
D | README.md | 213 ### memfd/
|
/external/strace/ |
D | configure.ac | 408 linux/memfd.h
|
D | config.h.in | 785 /* Define to 1 if you have the <linux/memfd.h> header file. */
|
D | ChangeLog | 10665 * configure.ac (AC_CHECK_HEADERS): Add linux/memfd.h. 10676 argument is NAME_MAX - strlen("memfd:").
|
/external/syzkaller/sys/linux/ |
D | sys.txt | 50 include <uapi/linux/memfd.h>
|