Lines Matching refs:raw_pgid
2396 struct ceph_pg *raw_pgid) in __ceph_object_locator_to_pg() argument
2401 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2402 raw_pgid->seed = ceph_str_hash(pi->object_hash, oid->name, in __ceph_object_locator_to_pg()
2405 raw_pgid->pool, raw_pgid->seed); in __ceph_object_locator_to_pg()
2417 raw_pgid->pool = oloc->pool; in __ceph_object_locator_to_pg()
2418 raw_pgid->seed = ceph_str_hash(pi->object_hash, buf, total); in __ceph_object_locator_to_pg()
2423 raw_pgid->pool, raw_pgid->seed); in __ceph_object_locator_to_pg()
2430 struct ceph_pg *raw_pgid) in ceph_object_locator_to_pg() argument
2438 __ceph_object_locator_to_pg(pi, oid, oloc, raw_pgid); in ceph_object_locator_to_pg()
2447 const struct ceph_pg *raw_pgid, in raw_pg_to_pg() argument
2450 pgid->pool = raw_pgid->pool; in raw_pg_to_pg()
2451 pgid->seed = ceph_stable_mod(raw_pgid->seed, pi->pg_num, in raw_pg_to_pg()
2461 const struct ceph_pg *raw_pgid) in raw_pg_to_pps() argument
2466 ceph_stable_mod(raw_pgid->seed, in raw_pg_to_pps()
2469 raw_pgid->pool); in raw_pg_to_pps()
2477 return ceph_stable_mod(raw_pgid->seed, pi->pgp_num, in raw_pg_to_pps()
2479 (unsigned)raw_pgid->pool; in raw_pg_to_pps()
2551 const struct ceph_pg *raw_pgid, in pg_to_raw_osds() argument
2555 u32 pps = raw_pg_to_pps(pi, raw_pgid); in pg_to_raw_osds()
2818 const struct ceph_pg *raw_pgid, in ceph_pg_to_up_acting_osds() argument
2825 WARN_ON(pi->id != raw_pgid->pool); in ceph_pg_to_up_acting_osds()
2826 raw_pg_to_pg(pi, raw_pgid, &pgid); in ceph_pg_to_up_acting_osds()
2828 pg_to_raw_osds(osdmap, pi, raw_pgid, up, &pps); in ceph_pg_to_up_acting_osds()
2844 const struct ceph_pg *raw_pgid, in ceph_pg_to_primary_shard() argument
2851 WARN_ON(pi->id != raw_pgid->pool); in ceph_pg_to_primary_shard()
2852 raw_pg_to_pg(pi, raw_pgid, &pgid); in ceph_pg_to_primary_shard()
2876 const struct ceph_pg *raw_pgid) in ceph_pg_to_acting_primary() argument
2881 pi = ceph_pg_pool_by_id(osdmap, raw_pgid->pool); in ceph_pg_to_acting_primary()
2885 ceph_pg_to_up_acting_osds(osdmap, pi, raw_pgid, &up, &acting); in ceph_pg_to_acting_primary()