/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_enumval.c | 50 anon_enum anon = 0; local 56 out->anon_val1_exists = bpf_core_enum_value_exists(anon, ANON_ENUM_VAL1); 64 out->anon_val1 = bpf_core_enum_value(anon, ANON_ENUM_VAL1); 65 out->anon_val2 = bpf_core_enum_value(anon, ANON_ENUM_VAL2);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | soft-dirty.c | 127 static void test_mprotect(int pagemap_fd, int pagesize, bool anon) argument 129 const char *type[] = {"file", "anon"}; 134 if (anon) { 138 ksft_exit_fail_msg("anon mmap failed\n"); 156 __func__, type[anon]); 160 __func__, type[anon]); 164 __func__, type[anon]); 168 __func__, type[anon]); 172 __func__, type[anon]); 176 if (!anon) [all...] |
H A D | run_vmtests.sh | 295 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} anon 20 16
|
/linux-master/tools/testing/selftests/prctl/ |
H A D | Makefile | 8 disable-tsc-test set-anon-vma-name-test set-process-name
|
/linux-master/mm/ |
H A D | page_table_check.c | 66 bool anon; local 75 anon = PageAnon(page); 80 if (anon) { 103 bool anon; local 112 anon = PageAnon(page); 117 if (anon) {
|
H A D | rmap.c | 11 * the anon methods track anonymous pages, and 1270 * The page's anon-rmap details (mapping and index) are guaranteed to 1346 * folio_add_anon_rmap_ptes - add PTE mappings to a page range of an anon folio 1358 * and to ensure that an anon folio is not being upgraded racily to a KSM folio 1370 * folio_add_anon_rmap_pmd - add a PMD mapping to a page range of an anon folio 1556 * Queue anon large folio for deferred split if at least one 1689 bool anon = folio_test_anon(folio); local 1715 if (!anon) { 2062 bool anon = folio_test_anon(folio); local 2083 if (!anon) { [all...] |
H A D | vmscan.c | 90 * Scan pressure balancing between anon and file LRUs 854 * to look twice if a mapped file/anon folio is used more 896 * They could be mistakenly treated as file lru. So further anon 2058 * IO, plus JVM can create lots of anon VM_EXEC folios, 2167 * The inactive anon list should be small enough that the VM never has 2237 * Determine the scan balance between anon and file LRUs. 2245 * Target desirable inactive:active list ratios for the anon 2293 * anon pages. Try to detect this based on file LRU size. 2297 unsigned long free, anon; local 2314 * Consider anon [all...] |
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_kmem.c | 165 * anon + file + kernel + sock. 169 long current, anon, file, kernel, sock, sum; local 187 anon = cg_read_key_long(parent, "memory.stat", "anon "); 191 if (current < 0 || anon < 0 || file < 0 || kernel < 0 || sock < 0) 194 sum = anon + file + kernel + sock; 199 printf("anon + file + kernel + sock = %ld\n", sum); 200 printf("anon = %ld\n", anon);
|
H A D | test_memcontrol.c | 97 long anon, current; local 116 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); 117 if (anon < 0) 120 if (!values_close(anon, current, 3)) 400 "memory.low prevents from allocating anon memory\n"); 715 * amount of memory (from both anon and file, if possible). 741 * If swap is enabled, try to reclaim from both anon and file, else try 769 * Reclaim until current reaches 30M, this makes sure we hit both anon
|
/linux-master/tools/testing/selftests/user_events/ |
H A D | ftrace_test.c | 393 void *anon; local 396 reg.name_args = (__u64)"__test_event u64 anon"; 401 anon = mmap(NULL, l, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); 402 ASSERT_NE(MAP_FAILED, anon); 406 io[1].iov_base = anon; 421 ASSERT_EQ(0, madvise(anon, l, MADV_DONTNEED)); 423 ASSERT_EQ(0, munmap(anon, l));
|
/linux-master/tools/perf/util/ |
H A D | map.c | 131 int anon, no_dso, vdso, android; local 134 anon = is_anon_memory(filename) || flags & MAP_HUGETLB; 141 if ((anon || no_dso) && nsi && (prot & PROT_EXEC)) { 174 if (anon || no_dso) {
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_mman.c | 943 struct file *anon; local 953 anon = mmap_singleton(to_i915(dev)); 954 if (IS_ERR(anon)) { 956 return PTR_ERR(anon); 969 vma_set_file(vma, anon); 971 fput(anon);
|
/linux-master/fs/proc/ |
H A D | task_mmu.c | 35 unsigned long text, lib, swap, anon, file, shmem; local 38 anon = get_mm_counter(mm, MM_ANONPAGES); 52 hiwater_rss = total_rss = anon + file + shmem; 68 SEQ_PUT_DEC(" kB\nRssAnon:\t", anon); 296 * If user named this anon shared memory via 331 seq_printf(m, "[anon:%s]", anon_name->name); 1634 * Bit 61 page is file-page or shared-anon 2533 unsigned long anon; member in struct:numa_maps 2566 md->anon += nr_pages; 2744 if (md->anon) [all...] |
/linux-master/tools/mm/ |
H A D | thpmaps | 240 'anon': { 257 stats['anon' if anons[index_next] else 'file']['partial'] += nr 267 stats['anon' if anons[index_end - 1] else 'file']['partial'] += nr 279 anon = 'anon' if anons[index] else 'file' 280 stats[anon][align][order] += nr 288 stats['anon']['aligned'][PMD_ORDER] = max(0, stats['anon']['aligned'][PMD_ORDER] - kbnr(anon_pmd_mapped)) 292 f"anon-thp-pmd-aligned-{odkb(PMD_ORDER)}kB": {'type': 'anon', 'valu [all...] |
/linux-master/arch/mips/include/asm/ |
H A D | sgiarcs.h | 73 net_peripheral, misc_peripheral, anon enumerator in enum:linux_devtypes
|
/linux-master/fs/ |
H A D | namespace.c | 2360 /* move from anon - the caller will destroy */ 3149 /* ... and either ours or the root of anon namespace */ 3725 static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns, bool anon) argument 3740 if (!anon) { 3749 if (!anon)
|