Lines Matching refs:items
124 return bucket->items[s];
141 __u64 w = crush_hash32_4(bucket->h.hash,x, bucket->h.items[i],
146 i, x, r, bucket->h.items[i], bucket->item_weights[i],
152 return bucket->h.items[i];
213 return bucket->h.items[n >> 1];
228 draw = crush_hash32_3(bucket->h.hash, x, bucket->h.items[i], r);
236 return bucket->h.items[high];
257 return in->items[0];
278 * crush_choose - choose numrep distinct items of given type
282 * @numrep: the number of items to choose
286 * @firstn: true if choosing "first n" items, false if choosing "indep"
288 * @out2: second output vector for leaf items (if @recurse_to_leaf)