Lines Matching refs:needed
611 xpc_activate_kthreads(struct xpc_channel *ch, int needed)
617 DBUG_ON(needed <= 0);
620 wakeup = (needed > idle) ? idle : needed;
621 needed -= wakeup;
630 if (needed <= 0)
633 if (needed + assigned > ch->kthreads_assigned_limit) {
634 needed = ch->kthreads_assigned_limit - assigned;
635 if (needed <= 0)
640 needed, ch->partid, ch->number);
642 xpc_create_kthreads(ch, needed, 0);
773 xpc_create_kthreads(struct xpc_channel *ch, int needed,
783 while (needed-- > 0) {
1249 * Fill the partition reserved page with the information needed by