Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmremap_test.c153 static bool is_range_mapped(FILE *maps_fp, unsigned long start, in is_range_mapped() argument
161 rewind(maps_fp); in is_range_mapped()
163 while (getline(&line, &len, maps_fp) != -1) { in is_range_mapped()
239 static void mremap_expand_merge(FILE *maps_fp, unsigned long page_size) in mremap_expand_merge() argument
262 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge()
278 static void mremap_expand_merge_offset(FILE *maps_fp, unsigned long page_size) in mremap_expand_merge_offset() argument
302 success = is_range_mapped(maps_fp, (unsigned long)start, in mremap_expand_merge_offset()
728 FILE *maps_fp; in main() local
836 maps_fp = fopen("/proc/self/maps", "r"); in main()
838 if (maps_fp == NULL) { in main()
[all …]