Home
last modified time | relevance | path

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

/mm/
A Dnuma_emulation.c500 int dist; in numa_emulation() local
502 if (get_option(&emu_cmdline, &dist) == 2) in numa_emulation()
505 dist = physi == physj ? in numa_emulation()
508 dist = phys_dist[physi * numa_dist_cnt + physj]; in numa_emulation()
510 numa_set_distance(i, j, dist); in numa_emulation()
516 u8 dist; in numa_emulation() local
530 dist = phys_dist[physi * numa_dist_cnt + physj]; in numa_emulation()
531 numa_set_distance(i, j, dist); in numa_emulation()
A Dmempolicy.c287 int min_dist = INT_MAX, dist, n, min_node; in numa_nearest_node() local
297 dist = node_distance(node, n); in numa_nearest_node()
298 if (dist < min_dist) { in numa_nearest_node()
299 min_dist = dist; in numa_nearest_node()
325 int dist, n, min_dist = INT_MAX, min_node = MAX_NUMNODES; in nearest_node_nodemask() local
328 dist = node_distance(node, n); in nearest_node_nodemask()
329 if (dist < min_dist) { in nearest_node_nodemask()
330 min_dist = dist; in nearest_node_nodemask()

Completed in 15 milliseconds