Lines Matching refs:split_by
165 frag->split_by = 0; in __get_or_create_frag()
219 if (frag->split_by == 0) { in __ceph_choose_frag()
228 nway = 1 << frag->split_by; in __ceph_choose_frag()
230 frag->split_by, nway); in __ceph_choose_frag()
232 n = ceph_frag_make_child(t, frag->split_by, i); in __ceph_choose_frag()
286 if (frag->split_by == 0) { in ceph_fill_dirfrag()
338 if (ceph_frag_bits(f) != ceph_frag_bits(frag->frag) + frag->split_by) in is_frag_child()
350 unsigned i, split_by, nsplits; in ceph_fill_fragtree() local
386 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
387 if (split_by == 0 || ceph_frag_bits(id) + split_by > 24) { in ceph_fill_fragtree()
390 i, nsplits, id, split_by); in ceph_fill_fragtree()
405 if (frag->split_by > 0 || in ceph_fill_fragtree()
408 if (frag->split_by > 0) in ceph_fill_fragtree()
419 if (frag->split_by == 0) in ceph_fill_fragtree()
421 frag->split_by = split_by; in ceph_fill_fragtree()
422 dout(" frag %x split by %d\n", frag->frag, frag->split_by); in ceph_fill_fragtree()
429 if (frag->split_by > 0 || in ceph_fill_fragtree()
432 if (frag->split_by > 0) in ceph_fill_fragtree()