Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/memfd/
Dmemfd_test.c704 F_SEAL_WRITE); in test_basic()
706 F_SEAL_WRITE); in test_basic()
710 F_SEAL_WRITE); in test_basic()
712 F_SEAL_WRITE); in test_basic()
718 F_SEAL_WRITE | in test_basic()
734 F_SEAL_WRITE); in test_basic()
753 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write()
754 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
901 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_share_dup()
902 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_dup()
[all …]
Dfuse_test.c185 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
193 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
297 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
302 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
/linux-5.19.10/mm/
Dmemfd.c152 F_SEAL_WRITE | \
210 if ((seals & F_SEAL_WRITE) && !(*file_seals & F_SEAL_WRITE)) { in memfd_add_seals()
Dshmem.c2467 F_SEAL_WRITE | F_SEAL_FUTURE_WRITE))) { in shmem_write_begin()
2468 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) in shmem_write_begin()
2684 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in shmem_fallocate()
/linux-5.19.10/tools/include/uapi/linux/
Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/linux-5.19.10/include/uapi/linux/
Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/linux-5.19.10/drivers/dma-buf/
Dudmabuf.c164 #define SEALS_DENIED (F_SEAL_WRITE)
/linux-5.19.10/fs/hugetlbfs/
Dinode.c643 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in hugetlbfs_punch_hole()