Lines Matching refs:outpos
414 int *out, int outpos, in crush_choose_firstn() argument
438 bucket->id, x, outpos, numrep, in crush_choose_firstn()
442 for (rep = outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
497 for (i = 0; i < outpos; i++) { in crush_choose_firstn()
515 x, outpos+1, 0, in crush_choose_firstn()
516 out2, outpos, count, in crush_choose_firstn()
523 sub_r) <= outpos) in crush_choose_firstn()
528 out2[outpos] = item; in crush_choose_firstn()
574 out[outpos] = item; in crush_choose_firstn()
575 outpos++; in crush_choose_firstn()
583 dprintk("CHOOSE returns %d\n", outpos); in crush_choose_firstn()
584 return outpos; in crush_choose_firstn()
596 int *out, int outpos, in crush_choose_indep() argument
604 int endpos = outpos + left; in crush_choose_indep()
614 bucket->id, x, outpos, numrep); in crush_choose_indep()
617 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
627 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
632 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
638 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
706 for (i = outpos; i < endpos; i++) { in crush_choose_indep()
746 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
761 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
766 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()