Searched refs:F_SEAL_GROW (Results 1 – 6 of 6) sorted by relevance
715 mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic()717 F_SEAL_GROW | in test_basic()722 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_basic()733 F_SEAL_GROW | in test_basic()845 mfd_assert_add_seals(fd, F_SEAL_GROW); in test_seal_grow()846 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow()871 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()872 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()913 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_share_dup()914 mfd_fail_add_seals(fd2, F_SEAL_GROW); in test_share_dup()[all …]
43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
151 F_SEAL_GROW | \
1103 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in shmem_setattr()2532 if (unlikely(info->seals & (F_SEAL_GROW | in shmem_write_begin()2536 if ((info->seals & F_SEAL_GROW) && pos + len > inode->i_size) in shmem_write_begin()2785 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in shmem_fallocate()
805 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in hugetlbfs_fallocate()922 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in hugetlbfs_setattr()