Lines Matching refs:pgid

436 	dest->pgid = src->pgid; /* struct */  in target_copy()
1422 struct ceph_pg pgid, last_pgid; in calc_target() local
1467 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target()
1468 last_pgid.pool = pgid.pool; in calc_target()
1469 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1471 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
1494 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target()
1500 t->pgid = pgid; /* struct */ in calc_target()
1501 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1813 hoid->hash = t->pgid.seed; in hoid_fill_from_target()
1843 __func__, req, req->r_tid, osd->o_osd, backoff->spgid.pgid.pool, in should_plug_request()
1844 backoff->spgid.pgid.seed, backoff->spgid.shard, backoff->id); in should_plug_request()
1919 static void encode_pgid(void **p, const struct ceph_pg *pgid) in encode_pgid() argument
1922 ceph_encode_64(p, pgid->pool); in encode_pgid()
1923 ceph_encode_32(p, pgid->seed); in encode_pgid()
1930 encode_pgid(p, &spgid->pgid); in encode_spgid()
1967 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2048 struct ceph_pg pgid; in encode_request_finish() local
2064 pgid.pool = ceph_decode_64(&p); in encode_request_finish()
2092 pgid.seed = le32_to_cpu(head.hash); in encode_request_finish()
2093 encode_pgid(&p, &pgid); /* raw pg */ in encode_request_finish()
2147 __func__, req, req->r_tid, req->r_t.pgid.pool, req->r_t.pgid.seed, in send_request()
2148 req->r_t.spgid.pgid.pool, req->r_t.spgid.pgid.seed, in send_request()
3389 struct ceph_pg pgid; member
3417 ret = ceph_decode_pgid(&p, end, &m->pgid); in decode_MOSDOpReply()
3518 __func__, req, req->r_tid, m.flags, m.pgid.pool, m.pgid.seed, in handle_reply()
4028 ret = ceph_decode_pgid(&p, end, &m->spgid.pgid); in decode_MOSDBackoff()
4111 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_block()
4171 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4176 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4177 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4184 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4185 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()