Home
last modified time | relevance | path

Searched refs:anon (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/mm/
Dsoft-dirty.c127 static void test_mprotect(int pagemap_fd, int pagesize, bool anon) in test_mprotect() argument
134 if (anon) { in test_mprotect()
156 __func__, type[anon]); in test_mprotect()
160 __func__, type[anon]); in test_mprotect()
164 __func__, type[anon]); in test_mprotect()
168 __func__, type[anon]); in test_mprotect()
172 __func__, type[anon]); in test_mprotect()
176 if (!anon) in test_mprotect()
Drun_vmtests.sh272 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} anon 20 16
/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_enumval.c50 anon_enum anon = 0; in test_core_enumval() local
56 out->anon_val1_exists = bpf_core_enum_value_exists(anon, ANON_ENUM_VAL1); in test_core_enumval()
64 out->anon_val1 = bpf_core_enum_value(anon, ANON_ENUM_VAL1); in test_core_enumval()
65 out->anon_val2 = bpf_core_enum_value(anon, ANON_ENUM_VAL2); in test_core_enumval()
/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst100 [1] PTR '(anon)' type_id=2
105 [4] PTR '(anon)' type_id=5
155 [1] PTR '(anon)' type_id=2
167 [5] CONST '(anon)' type_id=6
170 [8] ARRAY '(anon)' type_id=7 index_type_id=9 nr_elems=16
172 [10] RESTRICT '(anon)' type_id=11
173 [11] PTR '(anon)' type_id=12
174 [12] CONST '(anon)' type_id=13
179 [15] PTR '(anon)' type_id=16
180 [16] VOLATILE '(anon)' type_id=17
[all …]
Dbpftool-gen.rst389 [2] CONST '(anon)' type_id=1
390 [3] VOLATILE '(anon)' type_id=1
391 [4] ARRAY '(anon)' type_id=1 index_type_id=21 nr_elems=2
392 [5] PTR '(anon)' type_id=8
393 [6] CONST '(anon)' type_id=5
395 [8] CONST '(anon)' type_id=7
403 [1] PTR '(anon)' type_id=2
427 [4] ARRAY '(anon)' type_id=5 index_type_id=8 nr_elems=6
430 [7] PTR '(anon)' type_id=3
/tools/testing/selftests/cgroup/
Dtest_kmem.c169 long current, anon, file, kernel, sock, sum; in test_kmem_memcg_deletion() local
187 anon = cg_read_key_long(parent, "memory.stat", "anon "); in test_kmem_memcg_deletion()
191 if (current < 0 || anon < 0 || file < 0 || kernel < 0 || sock < 0) in test_kmem_memcg_deletion()
194 sum = anon + file + kernel + sock; in test_kmem_memcg_deletion()
200 printf("anon = %ld\n", anon); in test_kmem_memcg_deletion()
Dtest_memcontrol.c97 long anon, current; in alloc_anon_50M_check() local
116 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); in alloc_anon_50M_check()
117 if (anon < 0) in alloc_anon_50M_check()
120 if (!values_close(anon, current, 3)) in alloc_anon_50M_check()
/tools/testing/selftests/prctl/
D.gitignore5 set-anon-vma-name-test
DMakefile8 disable-tsc-test set-anon-vma-name-test set-process-name
/tools/testing/selftests/user_events/
Dftrace_test.c393 void *anon; in TEST_F() local
401 anon = mmap(NULL, l, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
402 ASSERT_NE(MAP_FAILED, anon); in TEST_F()
406 io[1].iov_base = anon; in TEST_F()
421 ASSERT_EQ(0, madvise(anon, l, MADV_DONTNEED)); in TEST_F()
423 ASSERT_EQ(0, munmap(anon, l)); in TEST_F()
/tools/perf/util/
Dmap.c132 int anon, no_dso, vdso, android; in map__new() local
135 anon = is_anon_memory(filename) || flags & MAP_HUGETLB; in map__new()
142 if ((anon || no_dso) && nsi && (prot & PROT_EXEC)) { in map__new()
174 if (anon || no_dso) { in map__new()
/tools/perf/Documentation/
Dperf-config.txt528 # Samples: 7K of event 'anon group { ref-cycles, cycles }'