Home
last modified time | relevance | path

Searched refs:memfd (Results 1 – 25 of 26) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c26 int devfd, memfd, buf, ret; in main() local
36 memfd = memfd_create("udmabuf-test", MFD_ALLOW_SEALING); in main()
37 if (memfd < 0) { in main()
42 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
50 ret = ftruncate(memfd, size); in main()
59 create.memfd = memfd; in main()
69 create.memfd = memfd; in main()
79 create.memfd = 0; /* stdin */ in main()
89 create.memfd = memfd; in main()
100 close(memfd); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c36 static int __child(int sk, int memfd) in __child() argument
52 ret = send(sk, &memfd, sizeof(memfd), 0); in __child()
53 if (ret != sizeof(memfd)) { in __child()
100 int memfd, ret; in child() local
102 memfd = sys_memfd_create("test", 0); in child()
103 if (memfd < 0) { in child()
108 ret = __child(sk, memfd); in child()
109 close(memfd); in child()
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Dudmabuf.c168 struct file *memfd = NULL; in udmabuf_create() local
204 memfd = fget(list[i].memfd); in udmabuf_create()
205 if (!memfd) in udmabuf_create()
207 if (!shmem_mapping(file_inode(memfd)->i_mapping)) in udmabuf_create()
209 seals = memfd_fcntl(memfd, F_GET_SEALS, 0); in udmabuf_create()
220 file_inode(memfd)->i_mapping, pgoff + pgidx); in udmabuf_create()
227 fput(memfd); in udmabuf_create()
228 memfd = NULL; in udmabuf_create()
251 if (memfd) in udmabuf_create()
252 fput(memfd); in udmabuf_create()
[all …]
H A DKconfig79 A driver to let userspace turn memfd regions into dma-bufs.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dudmabuf.h11 __u32 memfd; member
18 __u32 memfd; member
H A D..install.cmd1 …xfb.h if_link.h cciss_defs.h atmapi.h sysinfo.h userfaultfd.h gen_stats.h memfd.h dlm_netlink.h kd…
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dudmabuf.h11 __u32 memfd; member
18 __u32 memfd; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dudmabuf.h11 __u32 memfd; member
18 __u32 memfd; member
H A D..install.cmd1 …xfb.h if_link.h cciss_defs.h atmapi.h sysinfo.h userfaultfd.h gen_stats.h memfd.h dlm_netlink.h kd…
/OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/
H A D.gitignore5 memfd-test-file
H A Drun_fuse_test.sh13 ./fuse_test ./mnt/memfd $@
/OK3568_Linux_fs/buildroot/package/pulseaudio/
H A Ddaemon.conf28 ; enable-memfd = yes
/OK3568_Linux_fs/debian/overlay/etc/pulse/
H A Ddaemon.conf28 ; enable-memfd = yes
/OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3962 int status, listener, memfd, fd; in TEST() local
3971 memfd = memfd_create("test", 0); in TEST()
3972 ASSERT_GE(memfd, 0); in TEST()
3995 addfd.srcfd = memfd; in TEST()
4036 EXPECT_EQ(filecmp(getpid(), pid, memfd, fd), 0); in TEST()
4049 EXPECT_EQ(filecmp(getpid(), pid, memfd, fd), 0); in TEST()
4082 close(memfd); in TEST()
4089 int status, listener, memfd; in TEST() local
4098 memfd = memfd_create("test", 0); in TEST()
4099 ASSERT_GE(memfd, 0); in TEST()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A DMakefile34 TARGETS += memfd
/OK3568_Linux_fs/kernel/mm/
H A DMakefile125 obj-$(CONFIG_MEMFD_CREATE) += memfd.o
/OK3568_Linux_fs/buildroot/package/mesa3d/
H A DConfig.in324 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
360 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0004-add-fallback-parse_printf_format-implementation.patch29 'linux/memfd.h',
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0004-add-fallback-parse_printf_format-implementation.patch31 'linux/memfd.h',
/OK3568_Linux_fs/kernel/Documentation/arm64/
H A Dmemory-tagging-extension.rst47 RAM-based file mappings (``tmpfs``, ``memfd``). Passing it to other
/OK3568_Linux_fs/output/sessions/2025-06-06_01-57-56/
H A D10-kernel-build_2025-06-06_01-57-58.log
H A Dbuild_2025-06-06_01-57-58.log
H A D10-kernel-build.log
H A Dbuild.log
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/files/
H A Dbuildhistory_filelist1.txt3624 -rw-r--r-- root root 1324 ./usr/include/linux/memfd.h

12