Home
last modified time | relevance | path

Searched refs:ceph_frag_bits (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/include/linux/ceph/
Dceph_frag.h26 static inline __u32 ceph_frag_bits(__u32 f) in ceph_frag_bits() function
36 return (0xffffffu << (24-ceph_frag_bits(f))) & 0xffffffu; in ceph_frag_mask()
40 return 24 - ceph_frag_bits(f); in ceph_frag_mask_shift()
50 return ceph_frag_bits(sub) >= ceph_frag_bits(f) && in ceph_frag_contains_frag()
56 return ceph_frag_make(ceph_frag_bits(f) - 1, in ceph_frag_parent()
61 return ceph_frag_bits(f) > 0 && in ceph_frag_is_left_child()
62 (ceph_frag_value(f) & (0x1000000 >> ceph_frag_bits(f))) == 0; in ceph_frag_is_left_child()
66 return ceph_frag_bits(f) > 0 && in ceph_frag_is_right_child()
67 (ceph_frag_value(f) & (0x1000000 >> ceph_frag_bits(f))) == 1; in ceph_frag_is_right_child()
71 return ceph_frag_make(ceph_frag_bits(f), in ceph_frag_sibling()
[all …]
/linux-3.4.99/fs/ceph/
Dceph_frag.c15 va = ceph_frag_bits(a); in ceph_frag_compare()
16 vb = ceph_frag_bits(b); in ceph_frag_compare()