Home
last modified time | relevance | path

Searched refs:seals (Results 1 – 11 of 11) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c76 static void mfd_assert_has_seals(int fd, __u64 seals) in mfd_assert_has_seals() argument
81 if (s != seals) { in mfd_assert_has_seals()
83 (unsigned long long)seals, (unsigned long long)s, fd); in mfd_assert_has_seals()
88 static void mfd_assert_add_seals(int fd, __u64 seals) in mfd_assert_add_seals() argument
94 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals()
97 fd, (unsigned long long)s, (unsigned long long)seals); in mfd_assert_add_seals()
102 static int mfd_busy_add_seals(int fd, __u64 seals) in mfd_busy_add_seals() argument
113 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_busy_add_seals()
116 fd, (unsigned long long)s, (unsigned long long)seals); in mfd_busy_add_seals()
Dmemfd_test.c83 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals() argument
88 if (s != seals) { in mfd_assert_has_seals()
89 printf("%u != %u = GET_SEALS(%d)\n", seals, s, fd); in mfd_assert_has_seals()
94 static void mfd_assert_add_seals(int fd, unsigned int seals) in mfd_assert_add_seals() argument
100 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals()
102 printf("ADD_SEALS(%d, %u -> %u) failed: %m\n", fd, s, seals); in mfd_assert_add_seals()
107 static void mfd_fail_add_seals(int fd, unsigned int seals) in mfd_fail_add_seals() argument
118 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_fail_add_seals()
121 fd, s, seals); in mfd_fail_add_seals()
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.h52 #define CHECK_MFD_HAS_SEALS(fd, seals) \ argument
53 check_mfd_has_seals(__FILE__, __LINE__, (fd), (seals));
55 #define CHECK_MFD_ADD_SEALS(fd, seals) \ argument
56 ({int r = SAFE_FCNTL((fd), F_ADD_SEALS, (seals)); \
58 (fd), (seals)); r; })
60 #define CHECK_MFD_FAIL_ADD_SEALS(fd, seals) \ argument
61 check_mfd_fail_add_seals(__FILE__, __LINE__, (fd), (seals))
127 void check_mfd_has_seals(const char *file, const int lineno, int fd, int seals);
133 int seals);
Dmemfd_create_common.c220 void check_mfd_has_seals(const char *file, const int lineno, int fd, int seals) in check_mfd_has_seals() argument
223 if (ret != seals) { in check_mfd_has_seals()
226 fd, ret, seals); in check_mfd_has_seals()
230 "fd %d has expected seals (%d)", fd, seals); in check_mfd_has_seals()
246 int fd, int seals) in check_mfd_fail_add_seals() argument
248 if (fcntl(fd, F_ADD_SEALS, seals) >= 0) { in check_mfd_fail_add_seals()
255 (seals)); in check_mfd_fail_add_seals()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.cc111 int seals = fcntl(*mem_fd, F_GET_SEALS); in Initialize() local
112 if (seals == -1) { in Initialize()
116 if ((seals & kFDSeals) != kFDSeals) { in Initialize()
118 seals); in Initialize()
/external/syzkaller/sys/linux/
Dsys.txt236 fcntl$addseals(fd fd, cmd const[F_ADD_SEALS], seals flags[seal_types])
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt2698 䃇 < ink\-for\-imprinting\-of\-seals;
37792 䃇 > ink\-for\-imprinting\-of\-seals;
/external/brotli/tests/testdata/
Dplrabn12.txt9976 The haunt of seals, and orcs, and sea-mews' clang:
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA.txt145979 seals %38077 silz
Dinternal_raw_IPA-old.txt174236 seals %28329 silz