Home
last modified time | relevance | path

Searched refs:F_SEAL_SHRINK (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/testing/selftests/memfd/
Dmemfd_test.c703 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic()
705 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
709 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic()
711 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
716 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
732 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic()
819 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
820 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
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()
[all …]
/linux-6.1.9/tools/include/uapi/linux/
Dfcntl.h42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/linux-6.1.9/include/uapi/linux/
Dfcntl.h42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/linux-6.1.9/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c46 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
/linux-6.1.9/mm/
Dmemfd.c150 F_SEAL_SHRINK | \
Dshmem.c1102 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
/linux-6.1.9/drivers/dma-buf/
Dudmabuf.c166 #define SEALS_WANTED (F_SEAL_SHRINK)
/linux-6.1.9/fs/hugetlbfs/
Dinode.c921 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()