Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibcpuset.c1181 static struct cpunodemap { struct
1184 } cpunodemap; argument
1207 cpunodemap.map[cpu] = -1; in rebuild_map()
1223 cpunodemap.map[cpu] = mem; in rebuild_map()
1228 cpunodemap.mtime = time(0); in rebuild_map()
1249 if ((cpunodemap.map = calloc(ncpus, sizeof(int))) == NULL) in load_map()
1251 cpunodemap.mtime = get_mtime(mapfile); in load_map()
1255 cpunodemap.map[cpu] = nmems; in load_map()
1261 cpunodemap.map[cpu] = mem; in load_map()
1291 mem = cpunodemap.map[cpu]; in store_map()
[all …]