Lines Matching refs:spu_context

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