Lines Matching refs:pgid

439 	dest->pgid = src->pgid; /* struct */  in target_copy()
1551 struct ceph_pg pgid, last_pgid; in calc_target() local
1598 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target()
1599 last_pgid.pool = pgid.pool; in calc_target()
1600 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1602 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
1625 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target()
1632 t->pgid = pgid; /* struct */ in calc_target()
1633 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1961 hoid->hash = t->pgid.seed; in hoid_fill_from_target()
1991 __func__, req, req->r_tid, osd->o_osd, backoff->spgid.pgid.pool, in should_plug_request()
1992 backoff->spgid.pgid.seed, backoff->spgid.shard, backoff->id); in should_plug_request()
2072 static void encode_pgid(void **p, const struct ceph_pg *pgid) in encode_pgid() argument
2075 ceph_encode_64(p, pgid->pool); in encode_pgid()
2076 ceph_encode_32(p, pgid->seed); in encode_pgid()
2083 encode_pgid(p, &spgid->pgid); in encode_spgid()
2120 ceph_encode_32(&p, req->r_t.pgid.seed); /* raw hash */ in encode_request_partial()
2201 struct ceph_pg pgid; in encode_request_finish() local
2217 pgid.pool = ceph_decode_64(&p); in encode_request_finish()
2245 pgid.seed = le32_to_cpu(head.hash); in encode_request_finish()
2246 encode_pgid(&p, &pgid); /* raw pg */ in encode_request_finish()
2300 __func__, req, req->r_tid, req->r_t.pgid.pool, req->r_t.pgid.seed, in send_request()
2301 req->r_t.spgid.pgid.pool, req->r_t.spgid.pgid.seed, in send_request()
3558 struct ceph_pg pgid; member
3586 ret = ceph_decode_pgid(&p, end, &m->pgid); in decode_MOSDOpReply()
3687 __func__, req, req->r_tid, m.flags, m.pgid.pool, m.pgid.seed, in handle_reply()
3731 req->r_t.pgid.pool = 0; in handle_reply()
3732 req->r_t.pgid.seed = 0; in handle_reply()
4220 ret = ceph_decode_pgid(&p, end, &m->spgid.pgid); in decode_MOSDBackoff()
4303 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_block()
4363 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4368 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4369 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4376 __func__, osd->o_osd, m->spgid.pgid.pool, in handle_backoff_unblock()
4377 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()