Searched refs:maps_fp (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 125 static bool is_range_mapped(FILE *maps_fp, void *start, void *end) in is_range_mapped() argument 131 rewind(maps_fp); in is_range_mapped() 133 while (getline(&line, &len, maps_fp) != -1) { in is_range_mapped() 178 success = is_range_mapped(maps_fp, start, start + 3 * page_size); in mremap_expand_merge() 217 success = is_range_mapped(maps_fp, start, start + 3 * page_size); in mremap_expand_merge_offset() 450 FILE *maps_fp; in main() local 524 maps_fp = fopen("/proc/self/maps", "r"); in main() 526 if (maps_fp == NULL) { in main() 531 mremap_expand_merge(maps_fp, page_size); in main() 532 mremap_expand_merge_offset(maps_fp, page_size); in main() [all …]
|