Lines Matching refs:outpos
458 int *out, int outpos, in crush_choose_firstn() argument
484 bucket->id, x, outpos, numrep, in crush_choose_firstn()
488 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
522 outpos); in crush_choose_firstn()
550 for (i = 0; i < outpos; i++) { in crush_choose_firstn()
570 x, stable ? 1 : outpos+1, 0, in crush_choose_firstn()
571 out2, outpos, count, in crush_choose_firstn()
580 choose_args) <= outpos) in crush_choose_firstn()
585 out2[outpos] = item; in crush_choose_firstn()
629 out[outpos] = item; in crush_choose_firstn()
630 outpos++; in crush_choose_firstn()
638 dprintk("CHOOSE returns %d\n", outpos); in crush_choose_firstn()
639 return outpos; in crush_choose_firstn()
651 int *out, int outpos, in crush_choose_indep() argument
660 int endpos = outpos + left; in crush_choose_indep()
670 bucket->id, x, outpos, numrep); in crush_choose_indep()
673 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
683 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
688 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
694 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
732 outpos); in crush_choose_indep()
767 for (i = outpos; i < endpos; i++) { in crush_choose_indep()
810 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
825 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
830 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()