Searched refs:F_SEAL_SHRINK (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/testing/selftests/memfd/ |
D | memfd_test.c | 703 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/ |
D | fcntl.h | 42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/linux-6.1.9/include/uapi/linux/ |
D | fcntl.h | 42 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/linux-6.1.9/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 46 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
|
/linux-6.1.9/mm/ |
D | memfd.c | 150 F_SEAL_SHRINK | \
|
D | shmem.c | 1102 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
|
/linux-6.1.9/drivers/dma-buf/ |
D | udmabuf.c | 166 #define SEALS_WANTED (F_SEAL_SHRINK)
|
/linux-6.1.9/fs/hugetlbfs/ |
D | inode.c | 921 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()
|