Searched refs:aff_list (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
H A Dinode.c328 struct spu, cbe_list))->aff_list); spufs_assert_affinity()
352 if (!list_empty(&neighbor->aff_list) && !(neighbor->aff_head) && spufs_assert_affinity()
353 !list_is_last(&neighbor->aff_list, &gang->aff_list_head) && spufs_assert_affinity()
354 !list_entry(neighbor->aff_list.next, struct spu_context, spufs_assert_affinity()
355 aff_list)->aff_head) { spufs_assert_affinity()
366 list_for_each_entry(tmp, &gang->aff_list_head, aff_list) spufs_assert_affinity()
368 if (list_empty(&neighbor->aff_list)) spufs_assert_affinity()
398 if (list_empty(&neighbor->aff_list)) { spufs_set_affinity()
399 list_add_tail(&neighbor->aff_list, spufs_set_affinity()
404 if (list_is_last(&neighbor->aff_list, &ctx->gang->aff_list_head) spufs_set_affinity()
405 || list_entry(neighbor->aff_list.next, struct spu_context, spufs_set_affinity()
406 aff_list)->aff_head) { spufs_set_affinity()
407 list_add(&ctx->aff_list, &neighbor->aff_list); spufs_set_affinity()
409 list_add_tail(&ctx->aff_list, &neighbor->aff_list); spufs_set_affinity()
H A Dgang.c78 if (!list_empty(&ctx->aff_list)) { spu_gang_remove_ctx()
79 list_del_init(&ctx->aff_list); spu_gang_remove_ctx()
H A Dsched.c274 list_for_each_entry(ctx, &gang->aff_list_head, aff_list) { aff_merge_remaining_ctxs()
275 if (list_empty(&ctx->aff_list)) aff_merge_remaining_ctxs()
276 list_add(&ctx->aff_list, &gang->aff_list_head); aff_merge_remaining_ctxs()
287 list_for_each_entry_reverse(ctx, &gang->aff_ref_ctx->aff_list, aff_set_offsets()
288 aff_list) { aff_set_offsets()
289 if (&ctx->aff_list == &gang->aff_list_head) aff_set_offsets()
295 list_for_each_entry(ctx, gang->aff_ref_ctx->aff_list.prev, aff_list) { aff_set_offsets()
296 if (&ctx->aff_list == &gang->aff_list_head) aff_set_offsets()
366 list_for_each_entry(tmp, &gang->aff_list_head, aff_list) aff_set_ref_point_location()
369 list_for_each_entry_reverse(ctx, &gang->aff_ref_ctx->aff_list, aff_set_ref_point_location()
370 aff_list) { aff_set_ref_point_location()
371 if (&ctx->aff_list == &gang->aff_list_head) aff_set_ref_point_location()
386 list_for_each_entry(spu, ref->aff_list.prev, aff_list) { ctx_location()
394 list_for_each_entry_reverse(spu, ref->aff_list.next, aff_list) { ctx_location()
414 if (list_empty(&ctx->aff_list)) has_affinity()
H A Dcontext.c62 INIT_LIST_HEAD(&ctx->aff_list); alloc_spu_context()
H A Dspufs.h152 struct list_head aff_list; member in struct:spu_context
/linux-4.4.14/arch/powerpc/platforms/cell/
H A Dspu_manage.c414 list_add_tail(&spu->aff_list, init_affinity_qs20_harcoded()
415 &last_spu->aff_list); init_affinity_qs20_harcoded()
518 list_add_tail(&spu->aff_list, &last_spu->aff_list); init_affinity_node()
H A Dspu_base.c620 INIT_LIST_HEAD(&spu->aff_list); create_spu()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dspu.h174 struct list_head aff_list; member in struct:spu

Completed in 344 milliseconds