Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c439 static int get_current_nodeid_list(unsigned int *fromids) in get_current_nodeid_list() argument
449 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
552 unsigned int *fromids, *toids; in migrate_process() local
563 fromids = calloc(gcp->numa_max_node, sizeof(*fromids)); in migrate_process()
581 nr_from = get_arg_nodeid_list(idlist, fromids); in migrate_process()
603 nr_from = get_current_nodeid_list(fromids); in migrate_process()
612 if (*toids == *(fromids + i)) { in migrate_process()
614 *(fromids + i) = *(fromids + i + 1); in migrate_process()
631 syscall(__NR_migrate_pages, getpid(), nr_from, fromids, toids); in migrate_process()
646 free(fromids); in migrate_process()