Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/mm/
H A 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()
H A Drun_vmtests.sh318 CATEGORY="userfaultfd" run_test ${uffd_stress_bin} anon 20 16
/linux-6.15/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst101 [1] PTR '(anon)' type_id=2
106 [4] PTR '(anon)' type_id=5
156 [1] PTR '(anon)' type_id=2
168 [5] CONST '(anon)' type_id=6
173 [10] RESTRICT '(anon)' type_id=11
174 [11] PTR '(anon)' type_id=12
175 [12] CONST '(anon)' type_id=13
180 [15] PTR '(anon)' type_id=16
209 [86] PTR '(anon)' type_id=87
216 [86] PTR '(anon)' type_id=87
[all …]
H A Dbpftool-gen.rst413 [2] CONST '(anon)' type_id=1
414 [3] VOLATILE '(anon)' type_id=1
415 [4] ARRAY '(anon)' type_id=1 index_type_id=21 nr_elems=2
416 [5] PTR '(anon)' type_id=8
417 [6] CONST '(anon)' type_id=5
419 [8] CONST '(anon)' type_id=7
427 [1] PTR '(anon)' type_id=2
451 [4] ARRAY '(anon)' type_id=5 index_type_id=8 nr_elems=6
454 [7] PTR '(anon)' type_id=3
/linux-6.15/tools/testing/selftests/bpf/progs/
H A 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()
/linux-6.15/mm/
H A Dpage_table_check.c68 bool anon; in page_table_check_clear() local
75 anon = PageAnon(page); in page_table_check_clear()
81 if (anon) { in page_table_check_clear()
103 bool anon; in page_table_check_set() local
110 anon = PageAnon(page); in page_table_check_set()
116 if (anon) { in page_table_check_set()
H A Drmap.c1975 bool anon = folio_test_anon(folio); in try_to_unmap_one() local
2001 if (!anon) { in try_to_unmap_one()
2364 bool anon = folio_test_anon(folio); in try_to_migrate_one() local
2385 if (!anon) { in try_to_migrate_one()
/linux-6.15/tools/testing/selftests/cgroup/
H A 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()
H A 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()
/linux-6.15/tools/testing/selftests/user_events/
H A Dftrace_test.c401 void *anon; in TEST_F() local
409 anon = mmap(NULL, l, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F()
410 ASSERT_NE(MAP_FAILED, anon); in TEST_F()
414 io[1].iov_base = anon; in TEST_F()
429 ASSERT_EQ(0, madvise(anon, l, MADV_DONTNEED)); in TEST_F()
431 ASSERT_EQ(0, munmap(anon, l)); in TEST_F()
/linux-6.15/tools/testing/selftests/prctl/
H A D.gitignore5 set-anon-vma-name-test
H A DMakefile8 disable-tsc-test set-anon-vma-name-test set-process-name
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c997 struct file *anon; in i915_gem_object_mmap() local
1007 anon = mmap_singleton(to_i915(dev)); in i915_gem_object_mmap()
1008 if (IS_ERR(anon)) { in i915_gem_object_mmap()
1010 return PTR_ERR(anon); in i915_gem_object_mmap()
1023 vma_set_file(vma, anon); in i915_gem_object_mmap()
1025 fput(anon); in i915_gem_object_mmap()
/linux-6.15/tools/perf/util/
H A Dmap.c136 int anon, no_dso, vdso, android; in map__new() local
139 anon = is_anon_memory(filename) || flags & MAP_HUGETLB; in map__new()
144 if ((anon || no_dso) && nsi && (prot & PROT_EXEC)) { in map__new()
177 if (anon || no_dso) { in map__new()
/linux-6.15/arch/powerpc/boot/dts/
H A Dcharon.dts15 model = "anon,charon";
16 compatible = "anon,charon";
/linux-6.15/Documentation/ABI/testing/
H A Dprocfs-smaps_rollup13 the sum of the Pss field of each type (anon, file, shmem).
/linux-6.15/Documentation/mm/
H A Dmultigen_lru.rst84 ``lrugen->max_seq`` for both anon and file types as they are aged on
86 ``lrugen->min_seq[]`` separately for anon and file types as clean file
105 from anon and file types and decides which tiers from which types to
107 between anon and file types proportional to the swappiness level.
214 (PID) controller monitors refaults over anon and file types and
H A Dtranshuge.rst167 Partial unmap and deferred_split_folio() (anon THP only)
188 average per-page mapcount in a THP: if the average is < 1, an anon THP is
/linux-6.15/fs/proc/
H A Dtask_mmu.c36 unsigned long text, lib, swap, anon, file, shmem; in task_mem() local
39 anon = get_mm_counter(mm, MM_ANONPAGES); in task_mem()
53 hiwater_rss = total_rss = anon + file + shmem; in task_mem()
69 SEQ_PUT_DEC(" kB\nRssAnon:\t", anon); in task_mem()
2861 unsigned long anon; member
2900 md->anon += nr_pages; in gather_stats()
3078 if (md->anon) in show_numa_map()
3079 seq_printf(m, " anon=%lu", md->anon); in show_numa_map()
3084 if (md->pages != md->anon && md->pages != md->dirty) in show_numa_map()
/linux-6.15/tools/mm/
H A Dthpmaps279 anon = 'anon' if anons[index] else 'file'
280 stats[anon][align][order] += nr
/linux-6.15/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst212 All mapped anon pages (RSS) and cache pages (Page Cache) are accounted.
558 anon page(RSS) or cache page(Page Cache) to the cgroup.
565 writeback # of bytes of file/anon cache that are queued for syncing to
663 Each memcg's numa_stat file includes "total", "file", "anon" and "unevictable"
671 anon=<total anon pages> N0=<node 0 pages> N1=<node 1 pages> ...
672 unevictable=<total anon pages> N0=<node 0 pages> N1=<node 1 pages> ...
675 The "total" count is sum of file + anon + unevictable.
H A Dmemcg_test.rst136 Each memcg has its own vector of LRUs (inactive anon, active anon,
/linux-6.15/arch/mips/include/asm/
H A Dsgiarcs.h73 net_peripheral, misc_peripheral, anon enumerator
/linux-6.15/Documentation/filesystems/
H A Dproc.rst449 [anon:<name>] a private anonymous mapping that has been
645 mapping identifies the type (anon, file, or shmem) of all pages it contains.
689 00600000 default file=/usr/local/bin/app anon=1 dirty=1 N3=1 kernelpagesize_kB=4
691 320621f000 default file=/lib64/ld-2.12.so anon=1 dirty=1 N3=1 kernelpagesize_kB=4
693 3206221000 default anon=1 dirty=1 N3=1 kernelpagesize_kB=4
698 3206b8f000 default anon=3 dirty=3 active=1 N3=3 kernelpagesize_kB=4
699 7f4dc10a2000 default anon=3 dirty=3 N3=3 kernelpagesize_kB=4
700 7f4dc10b4000 default anon=2 dirty=2 active=1 N3=2 kernelpagesize_kB=4
702 7fff335f0000 default stack anon=3 dirty=3 N3=3 kernelpagesize_kB=4
1054 Active(anon): 94064 kB
[all …]
/linux-6.15/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst128 it forces the scan of anon pages when swap is off, and vice versa.

12