Home
last modified time | relevance | path

Searched refs:F_SEAL_SHRINK (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c35 #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 Dmemfd.h14 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/openbmc/linux/tools/include/uapi/linux/
H A Dfcntl.h42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/openbmc/linux/include/uapi/linux/
H A Dfcntl.h42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/openbmc/linux/mm/
H A Dmemfd.c152 F_SEAL_SHRINK | \
229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c1199 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c46 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
/openbmc/qemu/backends/
H A Dhostmem-memfd.c47 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL : 0, in memfd_backend_memory_alloc()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c75 ret = fcntl(buf->memfd, F_ADD_SEALS, F_SEAL_SHRINK); in udmabuf_alloc_bo()
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c196 #define SEALS_WANTED (F_SEAL_SHRINK)
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c972 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()
/openbmc/qemu/hw/virtio/
H A Dvhost.c351 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL, in vhost_log_alloc()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c1936 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL, in vu_get_inflight_fd()