Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/vm/
Dmlock2-tests.c78 FILE *smaps; in is_vmflag_set() local
80 smaps = seek_to_smaps_entry(addr); in is_vmflag_set()
81 if (!smaps) { in is_vmflag_set()
86 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set()
101 fclose(smaps); in is_vmflag_set()
114 FILE *smaps = NULL; in get_value_for_name() local
117 smaps = seek_to_smaps_entry(addr); in get_value_for_name()
118 if (!smaps) { in get_value_for_name()
123 while (getline(&line, &size, smaps) > 0) { in get_value_for_name()
140 if (smaps) in get_value_for_name()
[all …]
Dmlock-random-test.c87 FILE *smaps; in get_proc_page_size() local
92 smaps = seek_to_smaps_entry(addr); in get_proc_page_size()
93 if (!smaps) { in get_proc_page_size()
98 while (getline(&line, &size, smaps) > 0) { in get_proc_page_size()
116 if (smaps) in get_proc_page_size()
117 fclose(smaps); in get_proc_page_size()
/Linux-v6.1/Documentation/ABI/testing/
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-v6.1/include/linux/
Dhuge_mm.h172 bool smaps, bool in_pf, bool enforce_sysfs);
326 unsigned long vm_flags, bool smaps, in hugepage_vma_check() argument
/Linux-v6.1/fs/proc/
DKconfig89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/Linux-v6.1/Documentation/admin-guide/mm/
Dtranshuge.rst298 it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages fields
304 is necessary to read ``/proc/PID/smaps`` and count the FileHugeMapped fields
307 Note that reading the smaps file is expensive and reading it
/Linux-v6.1/Documentation/filesystems/
Dproc.rst142 clear_refs Clears page referenced bits shown in smaps output
159 smaps An extension based on maps, showing the memory consumption of
161 smaps_rollup Accumulated smaps stats for all mappings of the process. This
162 can be derived from smaps, but is faster and more convenient
231 snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table.
440 The /proc/PID/smaps is an extension based on maps, showing the memory
574 Note: reading /proc/PID/maps or /proc/PID/smaps is inherently racy (consistent
584 life of the smaps/maps walk, there will be some output for it.
586 The /proc/PID/smaps_rollup file includes the same fields as /proc/PID/smaps,
595 described for smaps above. These fields are omitted in smaps since each
[all …]
/Linux-v6.1/mm/
Dhuge_memory.c75 bool smaps, bool in_pf, bool enforce_sysfs) in hugepage_vma_check() argument
148 return (smaps || in_pf); in hugepage_vma_check()
DKconfig1087 names can be later retrieved from /proc/pid/maps and /proc/pid/smaps