Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Ddebugfs.c306 static void dump_hoid(struct seq_file *s, const struct ceph_hobject_id *hoid) in dump_hoid() argument
308 if (hoid->snapid == 0 && hoid->hash == 0 && !hoid->is_max && in dump_hoid()
309 hoid->pool == S64_MIN) { in dump_hoid()
313 if (hoid->is_max) { in dump_hoid()
317 seq_printf(s, "%lld:%08x:", hoid->pool, hoid->hash_reverse_bits); in dump_hoid()
318 dump_name_escaped(s, hoid->nspace, hoid->nspace_len); in dump_hoid()
320 dump_name_escaped(s, hoid->key, hoid->key_len); in dump_hoid()
322 dump_name_escaped(s, hoid->oid, hoid->oid_len); in dump_hoid()
324 dump_snapid(s, hoid->snapid); in dump_hoid()
H A Dosd_client.c1749 static u64 hoid_get_bitwise_key(const struct ceph_hobject_id *hoid) in DEFINE_RB_FUNCS2()
1751 return hoid->is_max ? 0x100000000ull : hoid->hash_reverse_bits;
1754 static void hoid_get_effective_key(const struct ceph_hobject_id *hoid, in hoid_get_effective_key()
1757 if (hoid->key_len) { in hoid_get_effective_key()
1758 *pkey = hoid->key; in hoid_get_effective_key()
1759 *pkey_len = hoid->key_len; in hoid_get_effective_key()
1761 *pkey = hoid->oid; in hoid_get_effective_key()
1762 *pkey_len = hoid->oid_len; in hoid_get_effective_key()
1831 * Assumes @hoid i argument
1752 hoid_get_effective_key(const struct ceph_hobject_id * hoid,void ** pkey,size_t * pkey_len) hoid_get_effective_key() argument
1884 hoid_encoding_size(const struct ceph_hobject_id * hoid) hoid_encoding_size() argument
1890 encode_hoid(void ** p,void * end,const struct ceph_hobject_id * hoid) encode_hoid() argument
1902 free_hoid(struct ceph_hobject_id * hoid) free_hoid() argument
1942 lookup_containing_backoff(struct rb_root * root,const struct ceph_hobject_id * hoid) lookup_containing_backoff() argument
1996 hoid_fill_from_target(struct ceph_hobject_id * hoid,const struct ceph_osd_request_target * t) hoid_fill_from_target() argument
2022 struct ceph_hobject_id hoid; should_plug_request() local
4450 struct ceph_hobject_id hoid; target_contained_by() local
[all...]
/linux/include/linux/ceph/
H A Dosd_client.h384 static inline void ceph_hoid_build_hash_cache(struct ceph_hobject_id *hoid) in ceph_hoid_build_hash_cache() argument
386 hoid->hash_reverse_bits = bitrev32(hoid->hash); in ceph_hoid_build_hash_cache()