Lines Matching refs:task_weight
1686 static inline unsigned long task_weight(struct task_struct *p, int nid, in task_weight() function
2242 imp = taskimp + task_weight(cur, env->src_nid, dist) - in task_numa_compare()
2243 task_weight(cur, env->dst_nid, dist); in task_numa_compare()
2259 imp += task_weight(cur, env->src_nid, dist) - in task_numa_compare()
2260 task_weight(cur, env->dst_nid, dist); in task_numa_compare()
2466 taskweight = task_weight(p, env.src_nid, dist); in task_numa_migrate()
2469 taskimp = task_weight(p, env.dst_nid, dist) - taskweight; in task_numa_migrate()
2492 taskweight = task_weight(p, env.src_nid, dist); in task_numa_migrate()
2497 taskimp = task_weight(p, nid, dist) - taskweight; in task_numa_migrate()
8675 src_weight = task_weight(p, src_nid, dist); in migrate_degrades_locality()
8676 dst_weight = task_weight(p, dst_nid, dist); in migrate_degrades_locality()