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.c438 static int get_current_nodeid_list(unsigned int *fromids) in get_current_nodeid_list() argument
457 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
560 unsigned int *fromids, *toids; in migrate_process() local
571 fromids = calloc(gcp->numa_max_node, sizeof(*fromids)); in migrate_process()
589 nr_from = get_arg_nodeid_list(idlist, fromids); in migrate_process()
611 nr_from = get_current_nodeid_list(fromids); in migrate_process()
620 if (*toids == *(fromids + i)) { in migrate_process()
622 *(fromids + i) = *(fromids + i + 1); in migrate_process()
639 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
654 free(fromids); in migrate_process()