Home
last modified time | relevance | path

Searched refs:spgid (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
H A Ddebugfs.c176 static void dump_spgid(struct seq_file *s, const struct ceph_spg *spgid) in dump_spgid() argument
178 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid.seed); in dump_spgid()
179 if (spgid->shard != CEPH_SPG_NOSHARD) in dump_spgid()
180 seq_printf(s, "s%d", spgid->shard); in dump_spgid()
188 dump_spgid(s, &t->spgid); in dump_target()
331 dump_spgid(s, &backoff->spgid); in dump_backoffs()
H A Dosd_client.c440 dest->spgid = src->spgid; /* struct */ in target_copy()
591 CEPH_PGID_ENCODING_LEN + 1; /* spgid */ in __ceph_osdc_alloc_messages()
1612 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1677 * defined only within a specific spgid; it does not pass anything to
1680 DEFINE_RB_FUNCS2(spg_mapping, struct ceph_spg_mapping, spgid, ceph_spg_compare,
1872 * Within a specific spgid, backoffs are managed by ->begin hoid.
1960 spg = lookup_spg_mapping(&osd->o_backoff_mappings, &req->r_t.spgid); in should_plug_request()
1969 dout("%s req %p tid %llu backoff osd%d spgid %llu.%xs%d id %llu\n", in should_plug_request()
1970 __func__, req, req->r_tid, osd->o_osd, backoff->spgid in should_plug_request()
2059 encode_spgid(void **p, const struct ceph_spg *spgid) encode_spgid() argument
2169 char spgid[CEPH_ENCODING_START_BLK_LEN + encode_request_finish() member
4226 struct ceph_spg spgid; global() member
[all...]
H A Dosdmap.c2810 struct ceph_spg *spgid) in ceph_pg_to_primary_shard()
2820 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2821 spgid->shard = CEPH_SPG_NOSHARD; in ceph_pg_to_primary_shard()
2828 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2829 spgid->shard = i; in ceph_pg_to_primary_shard()
2807 ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pi, const struct ceph_pg *raw_pgid, struct ceph_spg *spgid) ceph_pg_to_primary_shard() argument
/kernel/linux/linux-6.6/net/ceph/
H A Ddebugfs.c176 static void dump_spgid(struct seq_file *s, const struct ceph_spg *spgid) in dump_spgid() argument
178 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid.seed); in dump_spgid()
179 if (spgid->shard != CEPH_SPG_NOSHARD) in dump_spgid()
180 seq_printf(s, "s%d", spgid->shard); in dump_spgid()
188 dump_spgid(s, &t->spgid); in dump_target()
331 dump_spgid(s, &backoff->spgid); in dump_backoffs()
H A Dosd_client.c467 dest->spgid = src->spgid; /* struct */ in target_copy()
618 CEPH_PGID_ENCODING_LEN + 1; /* spgid */ in __ceph_osdc_alloc_messages()
1692 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1757 * defined only within a specific spgid; it does not pass anything to
1760 DEFINE_RB_FUNCS2(spg_mapping, struct ceph_spg_mapping, spgid, ceph_spg_compare,
1952 * Within a specific spgid, backoffs are managed by ->begin hoid.
2040 spg = lookup_spg_mapping(&osd->o_backoff_mappings, &req->r_t.spgid); in should_plug_request()
2049 dout("%s req %p tid %llu backoff osd%d spgid %llu.%xs%d id %llu\n", in should_plug_request()
2050 __func__, req, req->r_tid, osd->o_osd, backoff->spgid in should_plug_request()
2140 encode_spgid(void **p, const struct ceph_spg *spgid) encode_spgid() argument
2250 char spgid[CEPH_ENCODING_START_BLK_LEN + encode_request_finish() member
4316 struct ceph_spg spgid; global() member
[all...]
H A Dosdmap.c2845 struct ceph_spg *spgid) in ceph_pg_to_primary_shard()
2855 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2856 spgid->shard = CEPH_SPG_NOSHARD; in ceph_pg_to_primary_shard()
2863 spgid->pgid = pgid; /* struct */ in ceph_pg_to_primary_shard()
2864 spgid->shard = i; in ceph_pg_to_primary_shard()
2842 ceph_pg_to_primary_shard(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pi, const struct ceph_pg *raw_pgid, struct ceph_spg *spgid) ceph_pg_to_primary_shard() argument
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dosd_client.h158 struct ceph_spg spgid; /* last actual spg we mapped to */ member
305 struct ceph_spg spgid; member
339 struct ceph_spg spgid; member
H A Dosdmap.h311 struct ceph_spg *spgid);
/kernel/linux/linux-6.6/include/linux/ceph/
H A Dosd_client.h215 struct ceph_spg spgid; /* last actual spg we mapped to */ member
363 struct ceph_spg spgid; member
397 struct ceph_spg spgid; member
H A Dosdmap.h311 struct ceph_spg *spgid);

Completed in 22 milliseconds