Lines Matching refs:itemtype
474 int itemtype; in crush_choose_firstn() local
527 itemtype = map->buckets[-1-item]->type; in crush_choose_firstn()
529 itemtype = 0; in crush_choose_firstn()
530 dprintk(" item %d type %d\n", item, itemtype); in crush_choose_firstn()
533 if (itemtype != type) { in crush_choose_firstn()
587 if (itemtype == 0) in crush_choose_firstn()
663 int itemtype; in crush_choose_indep() local
741 itemtype = map->buckets[-1-item]->type; in crush_choose_indep()
743 itemtype = 0; in crush_choose_indep()
744 dprintk(" item %d type %d\n", item, itemtype); in crush_choose_indep()
747 if (itemtype != type) { in crush_choose_indep()
796 if (itemtype == 0 && in crush_choose_indep()