Lines Matching refs:outpos
407 int *out, int outpos, in crush_choose_firstn() argument
431 bucket->id, x, outpos, numrep, in crush_choose_firstn()
435 for (rep = outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
490 for (i = 0; i < outpos; i++) { in crush_choose_firstn()
508 x, outpos+1, 0, in crush_choose_firstn()
509 out2, outpos, count, in crush_choose_firstn()
516 sub_r) <= outpos) in crush_choose_firstn()
521 out2[outpos] = item; in crush_choose_firstn()
567 out[outpos] = item; in crush_choose_firstn()
568 outpos++; in crush_choose_firstn()
572 dprintk("CHOOSE returns %d\n", outpos); in crush_choose_firstn()
573 return outpos; in crush_choose_firstn()
585 int *out, int outpos, in crush_choose_indep() argument
593 int endpos = outpos + left; in crush_choose_indep()
603 bucket->id, x, outpos, numrep); in crush_choose_indep()
606 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
613 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
681 for (i = outpos; i < endpos; i++) { in crush_choose_indep()
721 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()