Searched refs:F_SEAL_SHRINK (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 35 #define F_WX_SEALS (F_SEAL_SHRINK | \ 887 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 889 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 893 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 895 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 900 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 916 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 1003 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 1004 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 1055 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | memfd.h | 14 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | fcntl.h | 42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | fcntl.h | 42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/openbmc/linux/mm/ |
H A D | memfd.c | 152 F_SEAL_SHRINK | \ 229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
|
H A D | shmem.c | 1199 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
|
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/ |
H A D | udmabuf.c | 46 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
|
/openbmc/qemu/backends/ |
H A D | hostmem-memfd.c | 47 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL : 0, in memfd_backend_memory_alloc()
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vugbm.c | 75 ret = fcntl(buf->memfd, F_ADD_SEALS, F_SEAL_SHRINK); in udmabuf_alloc_bo()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 196 #define SEALS_WANTED (F_SEAL_SHRINK)
|
/openbmc/linux/fs/hugetlbfs/ |
H A D | inode.c | 972 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()
|
/openbmc/qemu/hw/virtio/ |
H A D | vhost.c | 351 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL, in vhost_log_alloc()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 1936 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL, in vu_get_inflight_fd()
|