Lines Matching refs:ceph_frag_value
30 static inline __u32 ceph_frag_value(__u32 f) in ceph_frag_value() function
45 return (v & ceph_frag_mask(f)) == ceph_frag_value(f); in ceph_frag_contains_value()
51 (ceph_frag_value(sub) & ceph_frag_mask(f)) == ceph_frag_value(f); in ceph_frag_contains_frag()
57 ceph_frag_value(f) & (ceph_frag_mask(f) << 1)); in ceph_frag_parent()
62 (ceph_frag_value(f) & (0x1000000 >> ceph_frag_bits(f))) == 0; in ceph_frag_is_left_child()
67 (ceph_frag_value(f) & (0x1000000 >> ceph_frag_bits(f))) == 1; in ceph_frag_is_right_child()
72 ceph_frag_value(f) ^ (0x1000000 >> ceph_frag_bits(f))); in ceph_frag_sibling()
76 return ceph_frag_make(ceph_frag_bits(f)+1, ceph_frag_value(f)); in ceph_frag_left_child()
81 ceph_frag_value(f) | (0x1000000 >> (1+ceph_frag_bits(f)))); in ceph_frag_right_child()
87 ceph_frag_value(f) | (i << (24 - newbits))); in ceph_frag_make_child()
91 return ceph_frag_value(f) == 0; in ceph_frag_is_leftmost()
95 return ceph_frag_value(f) == ceph_frag_mask(f); in ceph_frag_is_rightmost()
100 ceph_frag_value(f) + (0x1000000 >> ceph_frag_bits(f))); in ceph_frag_next()