• Home
  • Raw
  • Download

Lines Matching refs:arg

814 static void __hrtick_start(void *arg)  in __hrtick_start()  argument
816 struct rq *rq = arg; in __hrtick_start()
2574 struct migration_arg arg; member
2607 struct migration_arg *arg = data; in migration_cpu_stop() local
2608 struct set_affinity_pending *pending = arg->pending; in migration_cpu_stop()
2609 struct task_struct *p = arg->task; in migration_cpu_stop()
2653 rq = __migrate_task(rq, &rf, p, arg->dest_cpu); in migration_cpu_stop()
2655 p->wake_cpu = arg->dest_cpu; in migration_cpu_stop()
2694 &pending->arg, &pending->stop_work); in migration_cpu_stop()
2709 int push_cpu_stop(void *arg) in push_cpu_stop() argument
2712 struct task_struct *p = arg; in push_cpu_stop()
2998 my_pending.arg = (struct migration_arg) { in affine_move_task()
3016 pending->arg.dest_cpu = dest_cpu; in affine_move_task()
3054 &pending->arg, &pending->stop_work); in affine_move_task()
3435 struct migration_swap_arg *arg = data; in migrate_swap_stop() local
3439 if (!cpu_active(arg->src_cpu) || !cpu_active(arg->dst_cpu)) in migrate_swap_stop()
3442 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3443 dst_rq = cpu_rq(arg->dst_cpu); in migrate_swap_stop()
3445 double_raw_lock(&arg->src_task->pi_lock, in migrate_swap_stop()
3446 &arg->dst_task->pi_lock); in migrate_swap_stop()
3449 if (task_cpu(arg->dst_task) != arg->dst_cpu) in migrate_swap_stop()
3452 if (task_cpu(arg->src_task) != arg->src_cpu) in migrate_swap_stop()
3455 if (!cpumask_test_cpu(arg->dst_cpu, arg->src_task->cpus_ptr)) in migrate_swap_stop()
3458 if (!cpumask_test_cpu(arg->src_cpu, arg->dst_task->cpus_ptr)) in migrate_swap_stop()
3461 __migrate_swap_task(arg->src_task, arg->dst_cpu); in migrate_swap_stop()
3462 __migrate_swap_task(arg->dst_task, arg->src_cpu); in migrate_swap_stop()
3468 raw_spin_unlock(&arg->dst_task->pi_lock); in migrate_swap_stop()
3469 raw_spin_unlock(&arg->src_task->pi_lock); in migrate_swap_stop()
3480 struct migration_swap_arg arg; in migrate_swap() local
3483 arg = (struct migration_swap_arg){ in migrate_swap()
3490 if (arg.src_cpu == arg.dst_cpu) in migrate_swap()
3497 if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) in migrate_swap()
3500 if (!cpumask_test_cpu(arg.dst_cpu, arg.src_task->cpus_ptr)) in migrate_swap()
3503 if (!cpumask_test_cpu(arg.src_cpu, arg.dst_task->cpus_ptr)) in migrate_swap()
3506 trace_sched_swap_numa(cur, arg.src_cpu, p, arg.dst_cpu); in migrate_swap()
3507 ret = stop_two_cpus(arg.dst_cpu, arg.src_cpu, migrate_swap_stop, &arg); in migrate_swap()
3878 void sched_ttwu_pending(void *arg) in sched_ttwu_pending() argument
3880 struct llist_node *llist = arg; in sched_ttwu_pending()
4431 int task_call_func(struct task_struct *p, task_call_f func, void *arg) in task_call_func() argument
4452 ret = func(p, arg); in task_call_func()
5531 struct migration_arg arg = { p, dest_cpu }; in sched_exec() local
5534 stop_one_cpu(task_cpu(p), migration_cpu_stop, &arg); in sched_exec()
9314 struct migration_arg arg = { p, target_cpu }; in migrate_task_to() local
9326 return stop_one_cpu(curr_cpu, migration_cpu_stop, &arg); in migrate_task_to()
9396 static int __balance_push_cpu_stop(void *arg) in __balance_push_cpu_stop() argument
9398 struct task_struct *p = arg; in __balance_push_cpu_stop()