Searched refs:pgid (Results 1 – 4 of 4) sorted by relevance
/net/ceph/ |
D | debugfs.c | 94 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show() 95 pg->pgid.seed); in osdmap_show() 105 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show() 106 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show() 112 seq_printf(s, "pg_upmap %llu.%x [", pg->pgid.pool, in osdmap_show() 113 pg->pgid.seed); in osdmap_show() 123 seq_printf(s, "pg_upmap_items %llu.%x [", pg->pgid.pool, in osdmap_show() 124 pg->pgid.seed); in osdmap_show() 176 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid.seed); in dump_spgid() 185 seq_printf(s, "osd%d\t%llu.%x\t", t->osd, t->pgid.pool, t->pgid.seed); in dump_target()
|
D | osdmap.c | 598 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare() 633 DEFINE_RB_FUNCS2(pg_mapping, struct ceph_pg_mapping, pgid, ceph_pg_compare, in DEFINE_RB_FUNCS2() argument 1196 struct ceph_pg pgid; in decode_pg_mapping() local 1199 ret = ceph_decode_pgid(p, end, &pgid); in decode_pg_mapping() 1203 pg = lookup_pg_mapping(mapping_root, &pgid); in decode_pg_mapping() 1216 pg->pgid = pgid; /* struct */ in decode_pg_mapping() 2067 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num, in ceph_pg_is_split() argument 2074 WARN_ON(pgid->seed >= old_pg_num); in ceph_pg_is_split() 2080 u32 s = next_bit | pgid->seed; in ceph_pg_is_split() 2082 if (s < old_pg_num || s == pgid->seed) in ceph_pg_is_split() [all …]
|
D | osd_client.c | 439 dest->pgid = src->pgid; /* struct */ in target_copy() 1511 struct ceph_pg pgid, last_pgid; in calc_target() local 1556 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target() 1557 last_pgid.pool = pgid.pool; in calc_target() 1558 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target() 1560 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target() 1583 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target() 1589 t->pgid = pgid; /* struct */ in calc_target() 1590 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target() 1901 hoid->hash = t->pgid.seed; in hoid_fill_from_target() [all …]
|
/net/dcb/ |
D | dcbnl.c | 557 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local 602 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg() 611 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg() 616 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg() 622 DCB_TC_ATTR_PARAM_PGID, pgid); in __dcbnl_pg_getcfg() 773 u8 pgid; in __dcbnl_pg_setcfg() local 804 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg() 814 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg() 828 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg() 833 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg() [all …]
|