Searched refs:smaps (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A D | mlock2-tests.c | 63 FILE *smaps; in is_vmflag_set() local 65 smaps = seek_to_smaps_entry(addr); in is_vmflag_set() 66 if (!smaps) { in is_vmflag_set() 71 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set() 86 fclose(smaps); in is_vmflag_set() 99 FILE *smaps = NULL; in get_value_for_name() local 102 smaps = seek_to_smaps_entry(addr); in get_value_for_name() 103 if (!smaps) { in get_value_for_name() 108 while (getline(&line, &size, smaps) > 0) { in get_value_for_name() 125 if (smaps) in get_value_for_name() [all …]
|
| H A D | mlock-random-test.c | 86 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 D | guard-regions.c | 2259 TEST_F(guard_regions, smaps) in TEST_F() 2255 TEST_F(guard_regions,smaps) TEST_F() argument
|
| /linux/Documentation/ABI/testing/ |
| H A D | procfs-smaps_rollup | 6 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/mm/ |
| H A D | huge_memory.c | 116 const bool smaps = type == TVA_SMAPS; in __thp_vma_allowable_orders() local 148 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED)) in __thp_vma_allowable_orders() 197 if (((in_pf || smaps)) && vma->vm_ops->huge_fault) in __thp_vma_allowable_orders() 200 if (((!in_pf || smaps)) && file_thp_enabled(vma)) in __thp_vma_allowable_orders() 216 return (smaps || in_pf) ? orders : 0; in __thp_vma_allowable_orders()
|
| /linux/Documentation/arch/arm64/ |
| H A D | gcs.rst | 227 /proc/<pid>/smaps.
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 517 pages, it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages 525 is necessary to read ``/proc/PID/smaps`` and count the FilePmdMapped fields 528 Note that reading the smaps file is expensive and reading it
|