Lines Matching refs:ftotal
468 unsigned int ftotal, flocal; in crush_choose_firstn() local
486 ftotal = 0; in crush_choose_firstn()
499 r += ftotal; in crush_choose_firstn()
595 ftotal++; in crush_choose_firstn()
605 else if (ftotal < tries) in crush_choose_firstn()
613 reject, collide, ftotal, in crush_choose_firstn()
629 if (map->choose_tries && ftotal <= map->choose_total_tries) in crush_choose_firstn()
630 map->choose_tries[ftotal]++; in crush_choose_firstn()
659 unsigned int ftotal; in crush_choose_indep() local
676 for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { in crush_choose_indep()
678 if (out2 && ftotal) { in crush_choose_indep()
679 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep()
684 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep()
713 r += (numrep+1) * ftotal; in crush_choose_indep()
716 r += numrep * ftotal; in crush_choose_indep()
816 if (map->choose_tries && ftotal <= map->choose_total_tries) in crush_choose_indep()
817 map->choose_tries[ftotal]++; in crush_choose_indep()
821 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep()
826 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep()