Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c432 static int get_current_nodeid_list(unsigned int *fromids) in get_current_nodeid_list() argument
447 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
550 unsigned int *fromids, *toids; in migrate_process() local
561 fromids = calloc(gcp->numa_max_node, sizeof(*fromids)); in migrate_process()
579 nr_from = get_arg_nodeid_list(idlist, fromids); in migrate_process()
601 nr_from = get_current_nodeid_list(fromids); in migrate_process()
610 if (*toids == *(fromids + i)) { in migrate_process()
612 *(fromids + i) = *(fromids + i + 1); in migrate_process()
629 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
644 free(fromids); in migrate_process()