Home
last modified time | relevance | path

Searched refs:ceph_frag_value (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/include/linux/ceph/
Dceph_frag.h30 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()
[all …]
/linux-2.6.39/fs/ceph/
Dceph_frag.c9 unsigned va = ceph_frag_value(a); in ceph_frag_compare()
10 unsigned vb = ceph_frag_value(b); in ceph_frag_compare()
Ddir.c315 req->r_direct_hash = ceph_frag_value(frag); in ceph_readdir()