Home
last modified time | relevance | path

Searched refs:smaps (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c64 FILE *smaps; in is_vmflag_set()
66 smaps = seek_to_smaps_entry(addr); in is_vmflag_set()
67 if (!smaps) { in is_vmflag_set()
68 ksft_print_msg("Unable to parse /proc/self/smaps\n"); in is_vmflag_set()
72 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set()
87 fclose(smaps); in is_vmflag_set()
100 FILE *smaps = NULL; in get_value_for_name()
103 smaps = seek_to_smaps_entry(addr); in get_value_for_name()
104 if (!smaps) { in get_value_for_name()
105 ksft_print_msg("Unable to parse /proc/self/smaps\ in get_value_for_name()
63 FILE *smaps; is_vmflag_set() local
99 FILE *smaps = NULL; get_value_for_name() local
[all...]
H A Dmlock-random-test.c86 FILE *smaps; in get_proc_page_size() local
91 smaps = seek_to_smaps_entry(addr); in get_proc_page_size()
92 if (!smaps) in get_proc_page_size()
95 while (getline(&line, &size, smaps) > 0) { in get_proc_page_size()
110 if (smaps) in get_proc_page_size()
111 fclose(smaps); in get_proc_page_size()
H A Dguard-regions.c2253 TEST_F(guard_regions, smaps) in TEST_F() argument
/linux/Documentation/ABI/testing/
H A Dprocfs-smaps_rollup6 process. The format is almost identical to /proc/pid/smaps,
10 fields from all the maps in /proc/pid/smaps.
12 are not present in /proc/pid/smaps. These fields represent
/linux/fs/proc/
H A DKconfig107 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/linux/Documentation/arch/arm64/
H A Dgcs.rst227 /proc/<pid>/smaps.
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst534 pages, it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages
542 is necessary to read ``/proc/PID/smaps`` and count the FilePmdMapped fields
545 Note that reading the smaps file is expensive and reading it
/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c110 FIXTURE_VARIANT_ADD(proc_maps_race, smaps) { in FIXTURE_VARIANT_ADD() argument
/linux/mm/
H A Dhuge_memory.c187 const bool smaps = type == TVA_SMAPS; in __thp_vma_allowable_orders() local
219 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED)) in __thp_vma_allowable_orders()
268 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
H A DKconfig1361 names can be later retrieved from /proc/pid/maps and /proc/pid/smaps