Lines Matching refs:spu_context

98 void spu_set_timeslice(struct spu_context *ctx)  in spu_set_timeslice()
109 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
150 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
168 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
180 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
207 struct spu_context *ctx = spu->ctx; in do_notify_spus_active()
223 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
273 struct spu_context *ctx; in aff_merge_remaining_ctxs()
284 struct spu_context *ctx; in aff_set_offsets()
305 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
360 struct spu_context *ctx; in aff_set_ref_point_location()
411 static int has_affinity(struct spu_context *ctx) in has_affinity()
437 static void spu_unbind_context(struct spu *spu, struct spu_context *ctx) in spu_unbind_context()
494 static void __spu_add_to_rq(struct spu_context *ctx) in __spu_add_to_rq()
517 static void spu_add_to_rq(struct spu_context *ctx) in spu_add_to_rq()
524 static void __spu_del_from_rq(struct spu_context *ctx) in __spu_del_from_rq()
538 void spu_del_from_rq(struct spu_context *ctx) in spu_del_from_rq()
545 static void spu_prio_wait(struct spu_context *ctx) in spu_prio_wait()
572 static struct spu *spu_get_idle(struct spu_context *ctx) in spu_get_idle()
630 static struct spu *find_victim(struct spu_context *ctx) in find_victim()
632 struct spu_context *victim = NULL; in find_victim()
654 struct spu_context *tmp = spu->ctx; in find_victim()
718 static void __spu_schedule(struct spu *spu, struct spu_context *ctx) in __spu_schedule()
740 static void spu_schedule(struct spu *spu, struct spu_context *ctx) in spu_schedule()
763 static void spu_unschedule(struct spu *spu, struct spu_context *ctx, in spu_unschedule()
787 int spu_activate(struct spu_context *ctx, unsigned long flags) in spu_activate()
838 static struct spu_context *grab_runnable_context(int prio, int node) in grab_runnable_context()
840 struct spu_context *ctx; in grab_runnable_context()
863 static int __spu_deactivate(struct spu_context *ctx, int force, int max_prio) in __spu_deactivate()
866 struct spu_context *new = NULL; in __spu_deactivate()
896 void spu_deactivate(struct spu_context *ctx) in spu_deactivate()
910 void spu_yield(struct spu_context *ctx) in spu_yield()
920 static noinline void spusched_tick(struct spu_context *ctx) in spusched_tick()
922 struct spu_context *new = NULL; in spusched_tick()
1021 struct spu_context *ctx = spu->ctx; in spusched_thread()
1038 void spuctx_switch_state(struct spu_context *ctx, in spuctx_switch_state()