Lines Matching refs:outpos
454 int *out, int outpos, in crush_choose_firstn() argument
480 bucket->id, x, outpos, numrep, in crush_choose_firstn()
484 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
518 outpos); in crush_choose_firstn()
546 for (i = 0; i < outpos; i++) { in crush_choose_firstn()
566 x, stable ? 1 : outpos+1, 0, in crush_choose_firstn()
567 out2, outpos, count, in crush_choose_firstn()
576 choose_args) <= outpos) in crush_choose_firstn()
581 out2[outpos] = item; in crush_choose_firstn()
625 out[outpos] = item; in crush_choose_firstn()
626 outpos++; in crush_choose_firstn()
634 dprintk("CHOOSE returns %d\n", outpos); in crush_choose_firstn()
635 return outpos; in crush_choose_firstn()
648 int *out, int outpos, in crush_choose_indep() argument
657 int endpos = outpos + left; in crush_choose_indep()
667 bucket->id, x, outpos, numrep); in crush_choose_indep()
670 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
680 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
685 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
691 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
729 outpos); in crush_choose_indep()
764 for (i = outpos; i < endpos; i++) { in crush_choose_indep()
807 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
822 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
827 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()