Lines Matching refs:num_siblings
405 u16 num_siblings, idx; in set_proto_ctx_engines_balance() local
428 if (get_user(num_siblings, &ext->num_siblings)) in set_proto_ctx_engines_balance()
439 if (num_siblings == 0) in set_proto_ctx_engines_balance()
442 siblings = kmalloc_array(num_siblings, sizeof(*siblings), GFP_KERNEL); in set_proto_ctx_engines_balance()
446 for (n = 0; n < num_siblings; n++) { in set_proto_ctx_engines_balance()
466 if (num_siblings == 1) { in set_proto_ctx_engines_balance()
472 set->engines[idx].num_siblings = num_siblings; in set_proto_ctx_engines_balance()
587 u16 slot, width, num_siblings; in set_proto_ctx_engines_parallel_submit() local
597 if (get_user(num_siblings, &ext->num_siblings)) in set_proto_ctx_engines_parallel_submit()
601 num_siblings != 1) { in set_proto_ctx_engines_parallel_submit()
603 num_siblings); in set_proto_ctx_engines_parallel_submit()
638 if (num_siblings < 1) { in set_proto_ctx_engines_parallel_submit()
640 num_siblings); in set_proto_ctx_engines_parallel_submit()
644 siblings = kmalloc_array(num_siblings * width, in set_proto_ctx_engines_parallel_submit()
654 for (j = 0; j < num_siblings; ++j) { in set_proto_ctx_engines_parallel_submit()
657 n = i * num_siblings + j; in set_proto_ctx_engines_parallel_submit()
713 set->engines[slot].num_siblings = num_siblings; in set_proto_ctx_engines_parallel_submit()
1204 pe[n].num_siblings, 0); in user_engines()
1209 pe[n].num_siblings, in user_engines()