Lines Matching refs:split_by
283 frag->split_by = 0; in __get_or_create_frag()
337 if (frag->split_by == 0) { in __ceph_choose_frag()
346 nway = 1 << frag->split_by; in __ceph_choose_frag()
348 frag->split_by, nway); in __ceph_choose_frag()
350 n = ceph_frag_make_child(t, frag->split_by, i); in __ceph_choose_frag()
405 if (frag->split_by == 0) { in ceph_fill_dirfrag()
458 if (ceph_frag_bits(f) != ceph_frag_bits(frag->frag) + frag->split_by) in is_frag_child()
471 unsigned i, split_by, nsplits; in ceph_fill_fragtree() local
507 split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
508 if (split_by == 0 || ceph_frag_bits(id) + split_by > 24) { in ceph_fill_fragtree()
511 ceph_vinop(inode), i, nsplits, id, split_by); in ceph_fill_fragtree()
526 if (frag->split_by > 0 || in ceph_fill_fragtree()
529 if (frag->split_by > 0) in ceph_fill_fragtree()
540 if (frag->split_by == 0) in ceph_fill_fragtree()
542 frag->split_by = split_by; in ceph_fill_fragtree()
543 doutc(cl, " frag %x split by %d\n", frag->frag, frag->split_by); in ceph_fill_fragtree()
550 if (frag->split_by > 0 || in ceph_fill_fragtree()
553 if (frag->split_by > 0) in ceph_fill_fragtree()