HomeSort by relevance Sort by last modified time
    Searched defs:memfd (Results 1 - 7 of 7) sorted by null

  /bionic/libc/kernel/uapi/linux/
udmabuf.h 25 __u32 memfd; member in struct:udmabuf_create
31 __u32 memfd; member in struct:udmabuf_create_item
  /external/kernel-headers/original/uapi/linux/
udmabuf.h 11 __u32 memfd; member in struct:udmabuf_create
18 __u32 memfd; member in struct:udmabuf_create_item
  /external/linux-kselftest/tools/testing/selftests/drivers/dma-buf/
udmabuf.c 12 #include <linux/memfd.h>
26 int devfd, memfd, buf, ret; local
36 memfd = memfd_create("udmabuf-test", MFD_CLOEXEC);
37 if (memfd < 0) {
38 printf("%s: [skip,no-memfd]\n", TEST_PREFIX);
43 ret = ftruncate(memfd, size);
45 printf("%s: [FAIL,memfd-truncate]\n", TEST_PREFIX);
52 create.memfd = memfd;
62 create.memfd = memfd
    [all...]
  /external/bcc/src/cc/usdt/
usdt.cc 95 int memfd = ::open(procmem.c_str(), O_RDWR); local
96 if (memfd < 0)
101 if (::lseek(memfd, address, SEEK_SET) < 0 ||
102 ::read(memfd, &original, 2) != 2) {
103 ::close(memfd);
109 if (::lseek(memfd, address, SEEK_SET) < 0 ||
110 ::write(memfd, &original, 2) != 2) {
111 ::close(memfd);
115 ::close(memfd);
  /bionic/tests/
dlext_test.cpp 32 #include <linux/memfd.h>
948 int memfd = syscall(__NR_memfd_create, "foobar", MFD_CLOEXEC); local
    [all...]
  /frameworks/av/services/camera/libcameraservice/api2/
HeicCompositeStream.cpp 21 #include <linux/memfd.h>
339 int memfd = syscall(__NR_memfd_create, "HEIF-try-memfd", MFD_CLOEXEC); local
340 if (memfd == -1) {
346 close(memfd);
    [all...]
  /external/syzkaller/executor/
common_linux.h 688 int memfd = syscall(SYZ_memfd_create, "syz_read_part_table", 0); local
689 if (memfd == -1) {
693 if (ftruncate(memfd, size)) {
698 if (pwrite(memfd, segs[i].data, segs[i].size, segs[i].offset) < 0) {
708 if (ioctl(loopfd, LOOP_SET_FD, memfd)) {
715 if (ioctl(loopfd, LOOP_SET_FD, memfd)) {
750 close(memfd);
791 int memfd = syscall(SYZ_memfd_create, "syz_mount_image", 0); local
792 if (memfd == -1) {
796 if (ftruncate(memfd, size))
    [all...]

Completed in 313 milliseconds