Lines Matching refs:split_by
329 frag->split_by = 0; in __get_or_create_frag()
383 if (frag->split_by == 0) { in __ceph_choose_frag()
392 nway = 1 << frag->split_by; in __ceph_choose_frag()
394 frag->split_by, nway); in __ceph_choose_frag()
396 n = ceph_frag_make_child(t, frag->split_by, i); in __ceph_choose_frag()
451 if (frag->split_by == 0) { in ceph_fill_dirfrag()
504 if (ceph_frag_bits(f) != ceph_frag_bits(frag->frag) + frag->split_by) in is_frag_child()
517 unsigned i, split_by, nsplits; in ceph_fill_fragtree() local
553 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
554 if (split_by == 0 || ceph_frag_bits(id) + split_by > 24) { in ceph_fill_fragtree()
557 ceph_vinop(inode), i, nsplits, id, split_by); in ceph_fill_fragtree()
572 if (frag->split_by > 0 || in ceph_fill_fragtree()
575 if (frag->split_by > 0) in ceph_fill_fragtree()
586 if (frag->split_by == 0) in ceph_fill_fragtree()
588 frag->split_by = split_by; in ceph_fill_fragtree()
589 doutc(cl, " frag %x split by %d\n", frag->frag, frag->split_by); in ceph_fill_fragtree()
596 if (frag->split_by > 0 || in ceph_fill_fragtree()
599 if (frag->split_by > 0) in ceph_fill_fragtree()