Home
last modified time | relevance | path

Searched refs:pgid (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/s390/cio/
Ddevice_pgid.c139 struct pgid *pgid = &cdev->private->dma_area->pgid[i]; in spid_build_cp() local
141 pgid->inf.fc = fn; in spid_build_cp()
143 cp->cda = (u32) (addr_t) pgid; in spid_build_cp()
144 cp->count = sizeof(*pgid); in spid_build_cp()
280 static int pgid_is_reset(struct pgid *p) in pgid_is_reset()
291 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp()
294 sizeof(struct pgid) - 1); in pgid_cmp()
300 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze()
303 struct pgid *pgid = &cdev->private->dma_area->pgid[0]; in pgid_analyze() local
304 struct pgid *first = NULL; in pgid_analyze()
[all …]
Dcss.h49 struct pgid { struct
123 struct pgid global_pgid;
Dio_sch.h127 struct pgid pgid[8]; /* path group IDs per chpid*/ member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c281 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update()
333 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); in cxgb4_dcb_handle_fw_update()
439 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument
447 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg()
454 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg()
460 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg()
474 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg()
478 if (*pgid != 0xF) in cxgb4_getpgtccfg()
483 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument
487 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx()
[all …]
Dcxgb4_dcb.h105 u32 pgid; /* Priority Group[0..7] */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c34 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx() argument
40 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
44 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx() argument
48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx()
52 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgrx() argument
57 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx()
62 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgrx() argument
66 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgrx()
121 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument
125 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, in qede_dcbnl_setpgtccfgtx()
[all …]
/kernel/linux/linux-5.10/include/linux/ceph/
Dosdmap.h30 struct ceph_pg pgid; member
153 struct ceph_pg pgid; member
231 static inline int ceph_decode_pgid(void **p, void *end, struct ceph_pg *pgid) in ceph_decode_pgid() argument
246 pgid->pool = ceph_decode_64(p); in ceph_decode_pgid()
247 pgid->seed = ceph_decode_32(p); in ceph_decode_pgid()
273 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num,
289 const struct ceph_pg *pgid);
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_eth_if.h218 u8 *pgid, u8 *bw_pct, u8 *up_map);
219 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
221 u8 *pgid, u8 *bw_pct, u8 *up_map);
222 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
234 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
236 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
237 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
238 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/kernel/linux/linux-5.10/net/ceph/
Ddebugfs.c96 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show()
97 pg->pgid.seed); in osdmap_show()
107 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show()
108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
114 seq_printf(s, "pg_upmap %llu.%x [", pg->pgid.pool, in osdmap_show()
115 pg->pgid.seed); in osdmap_show()
125 seq_printf(s, "pg_upmap_items %llu.%x [", pg->pgid.pool, in osdmap_show()
126 pg->pgid.seed); in osdmap_show()
178 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid.seed); in dump_spgid()
187 seq_printf(s, "osd%d\t%llu.%x\t", t->osd, t->pgid.pool, t->pgid.seed); in dump_target()
Dosdmap.c679 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare()
714 DEFINE_RB_FUNCS2(pg_mapping, struct ceph_pg_mapping, pgid, ceph_pg_compare, in DEFINE_RB_FUNCS2() argument
1384 struct ceph_pg pgid; in decode_pg_mapping() local
1387 ret = ceph_decode_pgid(p, end, &pgid); in decode_pg_mapping()
1391 pg = lookup_pg_mapping(mapping_root, &pgid); in decode_pg_mapping()
1404 pg->pgid = pgid; /* struct */ in decode_pg_mapping()
2255 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num, in ceph_pg_is_split() argument
2262 WARN_ON(pgid->seed >= old_pg_num); in ceph_pg_is_split()
2268 u32 s = next_bit | pgid->seed; in ceph_pg_is_split()
2270 if (s < old_pg_num || s == pgid->seed) in ceph_pg_is_split()
[all …]
Dosd_client.c439 dest->pgid = src->pgid; /* struct */ in target_copy()
1530 struct ceph_pg pgid, last_pgid; in calc_target() local
1577 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target()
1578 last_pgid.pool = pgid.pool; in calc_target()
1579 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1581 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
1604 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target()
1611 t->pgid = pgid; /* struct */ in calc_target()
1612 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1940 hoid->hash = t->pgid.seed; in hoid_fill_from_target()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c144 u8 pgid; member
660 u8 i, tc, pgid; in qlcnic_dcb_fill_cee_tc_params() local
675 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); in qlcnic_dcb_fill_cee_tc_params()
677 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); in qlcnic_dcb_fill_cee_tc_params()
679 tc_cfg->pgid = pgid; in qlcnic_dcb_fill_cee_tc_params()
682 type->pg_cfg[tc_cfg->pgid].prio_count++; in qlcnic_dcb_fill_cee_tc_params()
793 u8 *pgid, u8 *bw_per, u8 *up_tc_map) in qlcnic_dcb_get_pg_tc_cfg_tx() argument
801 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx()
814 *pgid = tc_cfg->pgid; in qlcnic_dcb_get_pg_tc_cfg_tx()
817 pg = *pgid; in qlcnic_dcb_get_pg_tc_cfg_tx()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c404 u8 __always_unused *prio_type, u8 *pgid, in ice_dcbnl_get_pg_tc_cfg_tx() argument
418 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_tx()
420 *pgid); in ice_dcbnl_get_pg_tc_cfg_tx()
467 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) in ice_dcbnl_get_pg_bwg_cfg_tx() argument
476 if (pgid >= ICE_MAX_TRAFFIC_CLASS) in ice_dcbnl_get_pg_bwg_cfg_tx()
479 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
481 pgid, *bw_pct); in ice_dcbnl_get_pg_bwg_cfg_tx()
491 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) in ice_dcbnl_set_pg_bwg_cfg_tx() argument
500 if (pgid >= ICE_MAX_TRAFFIC_CLASS) in ice_dcbnl_set_pg_bwg_cfg_tx()
505 new_cfg->etscfg.tcbwtable[pgid] = bw_pct; in ice_dcbnl_set_pg_bwg_cfg_tx()
[all …]
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/
Dcreate_process.sh32 local pgid=$!
34 echo $pgid >> taskpid.txt
/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/
Dcreate_process.sh32 local pgid=$!
34 echo $pgid >> taskpid.txt
/kernel/linux/linux-5.10/include/soc/mscc/
Docelot.h68 #define for_each_unicast_dest_pgid(ocelot, pgid) \ argument
69 for ((pgid) = 0; \
70 (pgid) < (ocelot)->num_phys_ports; \
71 (pgid)++)
73 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ argument
74 for ((pgid) = (ocelot)->num_phys_ports + 1; \
75 (pgid) < PGID_CPU; \
76 (pgid)++)
78 #define for_each_aggr_pgid(ocelot, pgid) \ argument
79 for ((pgid) = PGID_AGGR; \
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c696 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument
707 if (pgid >= CEE_DCBX_MAX_PGS) { in mlx5e_dcbnl_setpgtccfgtx()
713 cee_cfg->prio_to_pg_map[priority] = pgid; in mlx5e_dcbnl_setpgtccfgtx()
717 int pgid, u8 bw_pct) in mlx5e_dcbnl_setpgbwgcfgtx() argument
722 if (pgid >= CEE_DCBX_MAX_PGS) { in mlx5e_dcbnl_setpgbwgcfgtx()
728 cee_cfg->pg_bw_pct[pgid] = bw_pct; in mlx5e_dcbnl_setpgbwgcfgtx()
733 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument
753 if (mlx5_query_port_prio_tc(mdev, priority, pgid)) in mlx5e_dcbnl_getpgtccfgtx()
754 *pgid = 0; in mlx5e_dcbnl_getpgtccfgtx()
758 int pgid, u8 *bw_pct) in mlx5e_dcbnl_getpgbwgcfgtx() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot.c618 int pgid = port; in ocelot_fdb_add() local
621 pgid = PGID_CPU; in ocelot_fdb_add()
637 return ocelot_mact_learn(ocelot, pgid, addr, vid, ENTRYTYPE_LOCKED); in ocelot_fdb_add()
1036 int pgid; in ocelot_mdb_get_pgid() local
1047 for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) { in ocelot_mdb_get_pgid()
1052 if (mc->pgid == pgid) { in ocelot_mdb_get_pgid()
1059 return pgid; in ocelot_mdb_get_pgid()
1101 int pgid = ocelot_mdb_get_pgid(ocelot, entry_type); in ocelot_port_mdb_add() local
1103 if (pgid < 0) { in ocelot_port_mdb_add()
1116 mc->pgid = pgid; in ocelot_port_mdb_add()
[all …]
Docelot.h49 int pgid; member
/kernel/linux/build/test/moduletest/runtest/
Druntest257 local pgid=$!
261 kill -s 0 $pgid 2>/dev/null
270 kill -KILL -- -$pgid
273 wait $pgid
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1352 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument
1358 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx()
1368 *pgid = dcbx_info->operational.params.ets_pri_tc_tbl[tc]; in qed_dcbnl_getpgtccfgtx()
1372 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument
1378 DP_VERBOSE(hwfn, QED_MSG_DCB, "pgid = %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx()
1379 if (pgid < 0 || pgid >= QED_MAX_PFC_PRIORITIES) { in qed_dcbnl_getpgbwgcfgtx()
1380 DP_INFO(hwfn, "Invalid pgid %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx()
1388 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx()
1566 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgtx() argument
1575 tc, pri_type, pgid, bw_pct, up_map); in qed_dcbnl_setpgtccfgtx()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1979 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
1984 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx()
2001 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx()
2006 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
2009 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2011 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2014 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2019 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
2027 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2034 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
[all …]
/kernel/linux/linux-5.10/fs/ceph/
Dioctl.c190 struct ceph_pg pgid; in ceph_ioctl_get_dataloc() local
215 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); in ceph_ioctl_get_dataloc()
223 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid); in ceph_ioctl_get_dataloc()
/kernel/linux/linux-5.10/net/dcb/
Ddcbnl.c557 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 …]
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Ddasd.h271 __u8 pgid[11]; member

12