Lines Matching defs:ctx
85 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
96 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
137 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
155 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
167 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
256 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
267 struct spu_context *ctx; in aff_set_offsets() local
288 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
343 struct spu_context *tmp, *ctx; in aff_set_ref_point_location() local
393 static int has_affinity(struct spu_context *ctx) in has_affinity()
419 static void spu_unbind_context(struct spu *spu, struct spu_context *ctx) in spu_unbind_context()
475 static void __spu_add_to_rq(struct spu_context *ctx) in __spu_add_to_rq()
498 static void spu_add_to_rq(struct spu_context *ctx) in spu_add_to_rq()
505 static void __spu_del_from_rq(struct spu_context *ctx) in __spu_del_from_rq()
519 void spu_del_from_rq(struct spu_context *ctx) in spu_del_from_rq()
526 static void spu_prio_wait(struct spu_context *ctx) in spu_prio_wait()
553 static struct spu *spu_get_idle(struct spu_context *ctx) in spu_get_idle()
611 static struct spu *find_victim(struct spu_context *ctx) in find_victim()
699 static void __spu_schedule(struct spu *spu, struct spu_context *ctx) in __spu_schedule()
721 static void spu_schedule(struct spu *spu, struct spu_context *ctx) in spu_schedule()
744 static void spu_unschedule(struct spu *spu, struct spu_context *ctx, in spu_unschedule()
768 int spu_activate(struct spu_context *ctx, unsigned long flags) in spu_activate()
821 struct spu_context *ctx; in grab_runnable_context() local
844 static int __spu_deactivate(struct spu_context *ctx, int force, int max_prio) in __spu_deactivate()
877 void spu_deactivate(struct spu_context *ctx) in spu_deactivate()
891 void spu_yield(struct spu_context *ctx) in spu_yield()
901 static noinline void spusched_tick(struct spu_context *ctx) in spusched_tick()
1002 struct spu_context *ctx = spu->ctx; in spusched_thread() local
1019 void spuctx_switch_state(struct spu_context *ctx, in spuctx_switch_state()