Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/memfd/
H A Dmemfd_test.c36 F_SEAL_GROW | \
911 mfd_assert_add_seals(fd, F_SEAL_GROW | F_SEAL_SEAL); in test_basic()
913 F_SEAL_GROW | in test_basic()
918 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_basic()
929 F_SEAL_GROW | in test_basic()
1065 mfd_assert_add_seals(fd, F_SEAL_GROW); in test_seal_grow()
1066 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow()
1091 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
1484 mfd_fail_add_seals(fd, F_SEAL_GROW); in test_share_dup()
1485 mfd_fail_add_seals(fd2, F_SEAL_GROW); in test_share_dup()
[all …]
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h48 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/linux-6.15/include/uapi/linux/
H A Dfcntl.h48 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ macro
/linux-6.15/mm/
H A Dmemfd.c189 F_SEAL_GROW | \
265 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c1301 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in shmem_setattr()
3281 if (unlikely(info->seals & (F_SEAL_GROW | in shmem_write_begin()
3285 if ((info->seals & F_SEAL_GROW) && pos + len > inode->i_size) in shmem_write_begin()
3701 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in shmem_fallocate()
/linux-6.15/arch/um/os-Linux/skas/
H A Dprocess.c295 F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in init_stub_exe_fd()
/linux-6.15/fs/hugetlbfs/
H A Dinode.c764 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) { in hugetlbfs_fallocate()
880 (newsize > oldsize && (info->seals & F_SEAL_GROW))) in hugetlbfs_setattr()