Home
last modified time | relevance | path

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

/Linux-v5.4/net/ceph/
Ddebugfs.c295 static void dump_hoid(struct seq_file *s, const struct ceph_hobject_id *hoid) in dump_hoid() argument
297 if (hoid->snapid == 0 && hoid->hash == 0 && !hoid->is_max && in dump_hoid()
298 hoid->pool == S64_MIN) { in dump_hoid()
302 if (hoid->is_max) { in dump_hoid()
306 seq_printf(s, "%lld:%08x:", hoid->pool, hoid->hash_reverse_bits); in dump_hoid()
307 dump_name_escaped(s, hoid->nspace, hoid->nspace_len); in dump_hoid()
309 dump_name_escaped(s, hoid->key, hoid->key_len); in dump_hoid()
311 dump_name_escaped(s, hoid->oid, hoid->oid_len); in dump_hoid()
313 dump_snapid(s, hoid->snapid); in dump_hoid()
Dosd_client.c1644 static u64 hoid_get_bitwise_key(const struct ceph_hobject_id *hoid) in DEFINE_RB_FUNCS2()
1646 return hoid->is_max ? 0x100000000ull : hoid->hash_reverse_bits; in DEFINE_RB_FUNCS2()
1649 static void hoid_get_effective_key(const struct ceph_hobject_id *hoid, in hoid_get_effective_key() argument
1652 if (hoid->key_len) { in hoid_get_effective_key()
1653 *pkey = hoid->key; in hoid_get_effective_key()
1654 *pkey_len = hoid->key_len; in hoid_get_effective_key()
1656 *pkey = hoid->oid; in hoid_get_effective_key()
1657 *pkey_len = hoid->oid_len; in hoid_get_effective_key()
1728 static int decode_hoid(void **p, void *end, struct ceph_hobject_id *hoid) in decode_hoid() argument
1744 hoid->key = ceph_extract_encoded_string(p, end, &hoid->key_len, in decode_hoid()
[all …]
/Linux-v5.4/include/linux/ceph/
Dosd_client.h318 static inline void ceph_hoid_build_hash_cache(struct ceph_hobject_id *hoid) in ceph_hoid_build_hash_cache() argument
320 hoid->hash_reverse_bits = bitrev32(hoid->hash); in ceph_hoid_build_hash_cache()