Lines Matching defs:source
1071 static int migrate_to_node(struct mm_struct *mm, int source, int dest,
1084 node_set(source, nmask);
1124 * Find a 'source' bit set in 'tmp' whose corresponding 'dest'
1125 * bit in 'to' is not also set in 'tmp'. Clear the found 'source'
1126 * bit in 'tmp', and return that <source, dest> pair for migration.
1130 * pair of 'source' and 'dest' bits that are not the same. If the
1131 * 'source' and 'dest' bits are the same, this represents a node
1140 * source node, minimizing the risk of overloading the memory on a
1142 * before migrating outgoing memory source that same node.
1157 int source = NUMA_NO_NODE;
1167 * However if the number of source nodes is not equal to
1185 source = s; /* Node moved. Memorize */
1192 if (source == NUMA_NO_NODE)
1195 node_clear(source, tmp);
1196 err = migrate_to_node(mm, source, dest, flags);