Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c37 F_SEAL_WRITE | \
888 F_SEAL_WRITE); in test_basic()
890 F_SEAL_WRITE); in test_basic()
894 F_SEAL_WRITE); in test_basic()
896 F_SEAL_WRITE); in test_basic()
902 F_SEAL_WRITE | in test_basic()
918 F_SEAL_WRITE); in test_basic()
937 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_seal_write()
938 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
1440 mfd_assert_add_seals(fd, F_SEAL_WRITE); in test_share_dup()
[all …]
H A Dfuse_test.c186 r = mfd_busy_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
194 mfd_assert_add_seals(global_mfd, F_SEAL_WRITE); in sealing_thread_fn()
298 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
303 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
/openbmc/linux/mm/
H A Dmemfd.c154 F_SEAL_WRITE | \
213 if ((seals & F_SEAL_WRITE) && !(*file_seals & F_SEAL_WRITE)) { in memfd_add_seals()
229 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c2700 F_SEAL_WRITE | F_SEAL_FUTURE_WRITE))) { in shmem_write_begin()
2701 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) in shmem_write_begin()
3067 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in shmem_fallocate()
/openbmc/qemu/include/qemu/
H A Dmemfd.h16 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/tools/include/uapi/linux/
H A Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/include/uapi/linux/
H A Dfcntl.h44 #define F_SEAL_WRITE 0x0008 /* prevent writes */ macro
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c197 #define SEALS_DENIED (F_SEAL_WRITE|F_SEAL_FUTURE_WRITE)
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c787 if (info->seals & (F_SEAL_WRITE | F_SEAL_FUTURE_WRITE)) { in hugetlbfs_punch_hole()