Lines Matching refs:raw_pgid
2361 struct ceph_pg *raw_pgid) in __ceph_object_locator_to_pg() argument
2366 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2367 raw_pgid->seed = ceph_str_hash(pi->object_hash, oid->name, in __ceph_object_locator_to_pg()
2370 raw_pgid->pool, raw_pgid->seed); in __ceph_object_locator_to_pg()
2382 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2383 raw_pgid->seed = ceph_str_hash(pi->object_hash, buf, total); in __ceph_object_locator_to_pg()
2388 raw_pgid->pool, raw_pgid->seed); in __ceph_object_locator_to_pg()
2395 struct ceph_pg *raw_pgid) in ceph_object_locator_to_pg() argument
2403 __ceph_object_locator_to_pg(pi, oid, oloc, raw_pgid); in ceph_object_locator_to_pg()
2412 const struct ceph_pg *raw_pgid, in raw_pg_to_pg() argument
2415 pgid->pool = raw_pgid->pool; in raw_pg_to_pg()
2416 pgid->seed = ceph_stable_mod(raw_pgid->seed, pi->pg_num, in raw_pg_to_pg()
2426 const struct ceph_pg *raw_pgid) in raw_pg_to_pps() argument
2431 ceph_stable_mod(raw_pgid->seed, in raw_pg_to_pps()
2434 raw_pgid->pool); in raw_pg_to_pps()
2442 return ceph_stable_mod(raw_pgid->seed, pi->pgp_num, in raw_pg_to_pps()
2444 (unsigned)raw_pgid->pool; in raw_pg_to_pps()
2516 const struct ceph_pg *raw_pgid, in pg_to_raw_osds() argument
2520 u32 pps = raw_pg_to_pps(pi, raw_pgid); in pg_to_raw_osds()
2783 const struct ceph_pg *raw_pgid, in ceph_pg_to_up_acting_osds() argument
2790 WARN_ON(pi->id != raw_pgid->pool); in ceph_pg_to_up_acting_osds()
2791 raw_pg_to_pg(pi, raw_pgid, &pgid); in ceph_pg_to_up_acting_osds()
2793 pg_to_raw_osds(osdmap, pi, raw_pgid, up, &pps); in ceph_pg_to_up_acting_osds()
2809 const struct ceph_pg *raw_pgid, in ceph_pg_to_primary_shard() argument
2816 WARN_ON(pi->id != raw_pgid->pool); in ceph_pg_to_primary_shard()
2817 raw_pg_to_pg(pi, raw_pgid, &pgid); in ceph_pg_to_primary_shard()
2841 const struct ceph_pg *raw_pgid) in ceph_pg_to_acting_primary() argument
2846 pi = ceph_pg_pool_by_id(osdmap, raw_pgid->pool); in ceph_pg_to_acting_primary()
2850 ceph_pg_to_up_acting_osds(osdmap, pi, raw_pgid, &up, &acting); in ceph_pg_to_acting_primary()