Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/memfd/
Dmemfd_test.c715 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 …]
/linux-6.1.9/tools/include/uapi/linux/
Dfcntl.h43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/linux-6.1.9/include/uapi/linux/
Dfcntl.h43 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/linux-6.1.9/mm/
Dmemfd.c151 F_SEAL_GROW | \
Dshmem.c1103 (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()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c805 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()