Searched refs:smaps (Results 1 - 3 of 3) sorted by last modified time

/linux-master/tools/testing/selftests/mm/
H A Dmlock2-tests.c63 FILE *smaps; local
65 smaps = seek_to_smaps_entry(addr);
66 if (!smaps) {
67 ksft_print_msg("Unable to parse /proc/self/smaps\n");
71 while (getline(&line, &size, smaps) > 0) {
86 fclose(smaps);
99 FILE *smaps = NULL; local
102 smaps = seek_to_smaps_entry(addr);
103 if (!smaps) {
104 ksft_print_msg("Unable to parse /proc/self/smaps\
[all...]
H A Dmlock-random-test.c86 FILE *smaps; local
91 smaps = seek_to_smaps_entry(addr);
92 if (!smaps)
93 ksft_exit_fail_msg("Unable to parse /proc/self/smaps\n");
95 while (getline(&line, &size, smaps) > 0) {
105 ksft_exit_fail_msg("Unable to parse smaps entry for Size:%s\n",
110 if (smaps)
111 fclose(smaps);
/linux-master/mm/
H A Dhuge_memory.c88 bool smaps = tva_flags & TVA_SMAPS; local
123 if (!in_pf && !smaps && (vm_flags & VM_NO_KHUGEPAGED))
172 if (((in_pf || smaps)) && vma->vm_ops->huge_fault)
175 if (((!in_pf || smaps)) && file_thp_enabled(vma))
184 * THPeligible bit of smaps should show 1 for proper VMAs even
191 return (smaps || in_pf) ? orders : 0;

Completed in 318 milliseconds