Home
last modified time | relevance | path

Searched refs:F_SEAL_GROW (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c36 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 Dmemfd.h15 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/openbmc/linux/tools/include/uapi/linux/
H A Dfcntl.h43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/openbmc/linux/include/uapi/linux/
H A Dfcntl.h43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/openbmc/linux/mm/
H A Dmemfd.c153 F_SEAL_GROW | \
229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c1200 (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 Dhostmem-memfd.c47 F_SEAL_GROW | F_SEAL_SHRINK | F_SEAL_SEAL : 0, in memfd_backend_memory_alloc()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c859 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 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()