Searched refs:hoid (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ceph/ |
| A D | debugfs.c | 300 static void dump_hoid(struct seq_file *s, const struct ceph_hobject_id *hoid) in dump_hoid() argument 302 if (hoid->snapid == 0 && hoid->hash == 0 && !hoid->is_max && in dump_hoid() 303 hoid->pool == S64_MIN) { in dump_hoid() 307 if (hoid->is_max) { in dump_hoid() 311 seq_printf(s, "%lld:%08x:", hoid->pool, hoid->hash_reverse_bits); in dump_hoid() 312 dump_name_escaped(s, hoid->nspace, hoid->nspace_len); in dump_hoid() 314 dump_name_escaped(s, hoid->key, hoid->key_len); in dump_hoid() 316 dump_name_escaped(s, hoid->oid, hoid->oid_len); in dump_hoid() 318 dump_snapid(s, hoid->snapid); in dump_hoid()
|
| A D | osd_client.c | 1706 return hoid->is_max ? 0x100000000ull : hoid->hash_reverse_bits; in DEFINE_RB_FUNCS2() 1804 hoid->key = ceph_extract_encoded_string(p, end, &hoid->key_len, in decode_hoid() 1808 hoid->key = NULL; in decode_hoid() 1812 hoid->oid = ceph_extract_encoded_string(p, end, &hoid->oid_len, in decode_hoid() 1844 4 + hoid->key_len + 4 + hoid->oid_len + 4 + hoid->nspace_len; in hoid_encoding_size() 1850 ceph_encode_string(p, end, hoid->key, hoid->key_len); in encode_hoid() 1851 ceph_encode_string(p, end, hoid->oid, hoid->oid_len); in encode_hoid() 1855 ceph_encode_string(p, end, hoid->nspace, hoid->nspace_len); in encode_hoid() 1861 if (hoid) { in free_hoid() 1865 kfree(hoid); in free_hoid() [all …]
|
| /linux/include/linux/ceph/ |
| A D | osd_client.h | 323 static inline void ceph_hoid_build_hash_cache(struct ceph_hobject_id *hoid) in ceph_hoid_build_hash_cache() argument 325 hoid->hash_reverse_bits = bitrev32(hoid->hash); in ceph_hoid_build_hash_cache()
|
Completed in 740 milliseconds