Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c560 unsigned int *fromids, *toids; in migrate_process() local
570 toids = calloc(gcp->numa_max_node, sizeof(*toids)); in migrate_process()
579 nr_to = get_arg_nodeid_list(idlist, toids); in migrate_process()
620 if (*toids == *(fromids + i)) { in migrate_process()
634 *(toids + nr_to) = *toids; /* toids[0] */ in migrate_process()
639 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
653 free(toids); in migrate_process()