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.c435 static int get_current_nodeid_list(unsigned int *fromids) in get_current_nodeid_list() argument
450 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
553 unsigned int *fromids, *toids; in migrate_process() local
564 fromids = calloc(gcp->numa_max_node, sizeof(*fromids)); in migrate_process()
582 nr_from = get_arg_nodeid_list(idlist, fromids); in migrate_process()
604 nr_from = get_current_nodeid_list(fromids); in migrate_process()
613 if (*toids == *(fromids + i)) { in migrate_process()
615 *(fromids + i) = *(fromids + i + 1); in migrate_process()
632 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
647 free(fromids); in migrate_process()