memfd 126 drivers/dma-buf/udmabuf.c struct file *memfd = NULL; memfd 158 drivers/dma-buf/udmabuf.c memfd = fget(list[i].memfd); memfd 159 drivers/dma-buf/udmabuf.c if (!memfd) memfd 161 drivers/dma-buf/udmabuf.c if (!shmem_mapping(file_inode(memfd)->i_mapping)) memfd 163 drivers/dma-buf/udmabuf.c seals = memfd_fcntl(memfd, F_GET_SEALS, 0); memfd 174 drivers/dma-buf/udmabuf.c file_inode(memfd)->i_mapping, pgoff + pgidx); memfd 181 drivers/dma-buf/udmabuf.c fput(memfd); memfd 182 drivers/dma-buf/udmabuf.c memfd = NULL; memfd 204 drivers/dma-buf/udmabuf.c if (memfd) memfd 205 drivers/dma-buf/udmabuf.c fput(memfd); memfd 223 drivers/dma-buf/udmabuf.c list.memfd = create.memfd; memfd 11 include/uapi/linux/udmabuf.h __u32 memfd; memfd 18 include/uapi/linux/udmabuf.h __u32 memfd; memfd 26 tools/testing/selftests/drivers/dma-buf/udmabuf.c int devfd, memfd, buf, ret; memfd 36 tools/testing/selftests/drivers/dma-buf/udmabuf.c memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); memfd 37 tools/testing/selftests/drivers/dma-buf/udmabuf.c if (memfd < 0) { memfd 42 tools/testing/selftests/drivers/dma-buf/udmabuf.c ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); memfd 50 tools/testing/selftests/drivers/dma-buf/udmabuf.c ret = ftruncate(memfd, size); memfd 59 tools/testing/selftests/drivers/dma-buf/udmabuf.c create.memfd = memfd; memfd 69 tools/testing/selftests/drivers/dma-buf/udmabuf.c create.memfd = memfd; memfd 79 tools/testing/selftests/drivers/dma-buf/udmabuf.c create.memfd = 0; /* stdin */ memfd 89 tools/testing/selftests/drivers/dma-buf/udmabuf.c create.memfd = memfd; memfd 100 tools/testing/selftests/drivers/dma-buf/udmabuf.c close(memfd);