Searched refs:F_SEAL_GROW (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 36 F_SEAL_GROW | \ 899 mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic() 901 F_SEAL_GROW | in test_basic() 906 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_basic() 917 F_SEAL_GROW | in test_basic() 1029 mfd_assert_add_seals(fd, F_SEAL_GROW); in test_seal_grow() 1030 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow() 1055 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 1056 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 1452 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_share_dup() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | memfd.h | 15 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | fcntl.h | 43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | fcntl.h | 43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
|
/openbmc/linux/mm/ |
H A D | memfd.c | 153 F_SEAL_GROW | \ 229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
|
H A D | shmem.c | 1200 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in shmem_setattr() 2699 if (unlikely(info->seals & (F_SEAL_GROW | in shmem_write_begin() 2703 if ((info->seals & F_SEAL_GROW) && pos + len > inode->i_size) in shmem_write_begin() 3099 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in shmem_fallocate()
|
/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/linux/fs/hugetlbfs/ |
H A D | inode.c | 859 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in hugetlbfs_fallocate() 973 (newsize > oldsize && (info->seals & F_SEAL_GROW))) 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()
|