Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c1247 FILE *mapfp; /* File stream on mapfile */ in load_map() local
1255 if ((mapfp = fopen(mapfile, "r")) == NULL) in load_map()
1259 while (flgets(buf, sizeof(buf), mapfp) != NULL) { in load_map()
1266 fclose(mapfp); in load_map()
1283 FILE *mapfp = NULL; in store_map() local
1291 if ((mapfp = fdopen(fd, "w")) == NULL) in store_map()
1296 fprintf(mapfp, "%u %u\n", cpu, mem); in store_map()
1298 fclose(mapfp); in store_map()
1306 if (mapfp != NULL) { in store_map()
1307 fclose(mapfp); in store_map()