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.c550 unsigned int *fromids, *toids; in migrate_process() local
560 toids = calloc(gcp->numa_max_node, sizeof(*toids)); in migrate_process()
569 nr_to = get_arg_nodeid_list(idlist, toids); in migrate_process()
610 if (*toids == *(fromids + i)) { in migrate_process()
624 *(toids + nr_to) = *toids; /* toids[0] */ in migrate_process()
629 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
643 free(toids); in migrate_process()