Searched refs:mfd_assert_has_seals (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/tools/testing/selftests/memfd/
H A Dmemfd_test.c76 static void mfd_assert_has_seals(int fd, unsigned int seals) mfd_assert_has_seals() function
595 mfd_assert_has_seals(fd, 0); test_basic()
598 mfd_assert_has_seals(fd, F_SEAL_SHRINK | test_basic()
604 mfd_assert_has_seals(fd, F_SEAL_SHRINK | test_basic()
609 mfd_assert_has_seals(fd, F_SEAL_SHRINK | test_basic()
624 mfd_assert_has_seals(fd, F_SEAL_SEAL); test_basic()
628 mfd_assert_has_seals(fd, F_SEAL_SEAL); test_basic()
643 mfd_assert_has_seals(fd, 0); test_seal_write()
645 mfd_assert_has_seals(fd, F_SEAL_WRITE); test_seal_write()
667 mfd_assert_has_seals(fd, 0); test_seal_shrink()
669 mfd_assert_has_seals(fd, F_SEAL_SHRINK); test_seal_shrink()
691 mfd_assert_has_seals(fd, 0); test_seal_grow()
693 mfd_assert_has_seals(fd, F_SEAL_GROW); test_seal_grow()
715 mfd_assert_has_seals(fd, 0); test_seal_resize()
717 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); test_seal_resize()
739 mfd_assert_has_seals(fd, 0); test_share_dup()
742 mfd_assert_has_seals(fd2, 0); test_share_dup()
745 mfd_assert_has_seals(fd, F_SEAL_WRITE); test_share_dup()
746 mfd_assert_has_seals(fd2, F_SEAL_WRITE); test_share_dup()
749 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_dup()
750 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_dup()
753 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); test_share_dup()
754 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); test_share_dup()
779 mfd_assert_has_seals(fd, 0); test_share_mmap()
784 mfd_assert_has_seals(fd, 0); test_share_mmap()
786 mfd_assert_has_seals(fd, F_SEAL_SHRINK); test_share_mmap()
792 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_mmap()
811 mfd_assert_has_seals(fd, 0); test_share_open()
815 mfd_assert_has_seals(fd, F_SEAL_WRITE); test_share_open()
816 mfd_assert_has_seals(fd2, F_SEAL_WRITE); test_share_open()
819 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_open()
820 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_open()
826 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_open()
827 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); test_share_open()
833 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); test_share_open()
834 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); test_share_open()
852 mfd_assert_has_seals(fd, 0); test_share_fork()
856 mfd_assert_has_seals(fd, F_SEAL_SEAL); test_share_fork()
859 mfd_assert_has_seals(fd, F_SEAL_SEAL); test_share_fork()
864 mfd_assert_has_seals(fd, F_SEAL_SEAL); test_share_fork()
H A Dfuse_test.c77 static void mfd_assert_has_seals(int fd, __u64 seals) mfd_assert_has_seals() function
284 mfd_assert_has_seals(mfd, F_SEAL_WRITE); main()

Completed in 75 milliseconds