Home
last modified time | relevance | path

Searched refs:hoid (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
H A Ddebugfs.c300 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 in dump_hoid()
[all...]
H A Dosd_client.c1683 static u64 hoid_get_bitwise_key(const struct ceph_hobject_id *hoid) in hoid_get_bitwise_key() argument
1685 return hoid->is_max ? 0x100000000ull : hoid->hash_reverse_bits; in hoid_get_bitwise_key()
1688 static void hoid_get_effective_key(const struct ceph_hobject_id *hoid, in hoid_get_effective_key() argument
1691 if (hoid->key_len) { in hoid_get_effective_key()
1692 *pkey = hoid->key; in hoid_get_effective_key()
1693 *pkey_len = hoid->key_len; in hoid_get_effective_key()
1695 *pkey = hoid->oid; in hoid_get_effective_key()
1696 *pkey_len = hoid->oid_len; in hoid_get_effective_key()
1765 * Assumes @hoid i
1767 decode_hoid(void **p, void *end, struct ceph_hobject_id *hoid) decode_hoid() argument
1820 hoid_encoding_size(const struct ceph_hobject_id *hoid) hoid_encoding_size() argument
1826 encode_hoid(void **p, void *end, const struct ceph_hobject_id *hoid) encode_hoid() argument
1838 free_hoid(struct ceph_hobject_id *hoid) free_hoid() argument
1877 lookup_containing_backoff(struct rb_root *root, const struct ceph_hobject_id *hoid) lookup_containing_backoff() argument
1932 hoid_fill_from_target(struct ceph_hobject_id *hoid, const struct ceph_osd_request_target *t) hoid_fill_from_target() argument
1958 struct ceph_hobject_id hoid; should_plug_request() local
4373 struct ceph_hobject_id hoid; target_contained_by() local
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A Ddebugfs.c300 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 in dump_hoid()
[all...]
H A Dosd_client.c1763 static u64 hoid_get_bitwise_key(const struct ceph_hobject_id *hoid) in hoid_get_bitwise_key() argument
1765 return hoid->is_max ? 0x100000000ull : hoid->hash_reverse_bits; in hoid_get_bitwise_key()
1768 static void hoid_get_effective_key(const struct ceph_hobject_id *hoid, in hoid_get_effective_key() argument
1771 if (hoid->key_len) { in hoid_get_effective_key()
1772 *pkey = hoid->key; in hoid_get_effective_key()
1773 *pkey_len = hoid->key_len; in hoid_get_effective_key()
1775 *pkey = hoid->oid; in hoid_get_effective_key()
1776 *pkey_len = hoid->oid_len; in hoid_get_effective_key()
1845 * Assumes @hoid i
1847 decode_hoid(void **p, void *end, struct ceph_hobject_id *hoid) decode_hoid() argument
1900 hoid_encoding_size(const struct ceph_hobject_id *hoid) hoid_encoding_size() argument
1906 encode_hoid(void **p, void *end, const struct ceph_hobject_id *hoid) encode_hoid() argument
1918 free_hoid(struct ceph_hobject_id *hoid) free_hoid() argument
1957 lookup_containing_backoff(struct rb_root *root, const struct ceph_hobject_id *hoid) lookup_containing_backoff() argument
2012 hoid_fill_from_target(struct ceph_hobject_id *hoid, const struct ceph_osd_request_target *t) hoid_fill_from_target() argument
2038 struct ceph_hobject_id hoid; should_plug_request() local
4463 struct ceph_hobject_id hoid; target_contained_by() local
[all...]
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dosd_client.h326 static inline void ceph_hoid_build_hash_cache(struct ceph_hobject_id *hoid) in ceph_hoid_build_hash_cache() argument
328 hoid->hash_reverse_bits = bitrev32(hoid->hash); in ceph_hoid_build_hash_cache()
/kernel/linux/linux-6.6/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()

Completed in 15 milliseconds