Home
last modified time | relevance | path

Searched refs:pgid (Results 1 - 25 of 98) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/s390/cio/
H A 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) in pgid_cmp()
303 struct pgid *pgid = &cdev->private->dma_area->pgid[0]; pgid_analyze() local
335 struct pgid *pgid; pgid_to_donepm() local
366 pgid_fill(struct ccw_device *cdev, struct pgid *pgid) pgid_fill() argument
382 struct pgid *pgid; snid_done() local
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Ddevice_pgid.c140 struct pgid *pgid = &cdev->private->dma_area->pgid[i]; in spid_build_cp() local
142 pgid->inf.fc = fn; in spid_build_cp()
144 cp->cda = (u32)virt_to_phys(pgid); in spid_build_cp()
145 cp->count = sizeof(*pgid); in spid_build_cp()
281 static int pgid_is_reset(struct pgid *p) in pgid_is_reset()
292 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp()
295 sizeof(struct pgid) in pgid_cmp()
304 struct pgid *pgid = &cdev->private->dma_area->pgid[0]; pgid_analyze() local
336 struct pgid *pgid; pgid_to_donepm() local
367 pgid_fill(struct ccw_device *cdev, struct pgid *pgid) pgid_fill() argument
383 struct pgid *pgid; snid_done() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vlan.c118 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable) in sparx5_pgid_update_mask() argument
127 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG(pgid)); in sparx5_pgid_update_mask()
131 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG1(pgid)); in sparx5_pgid_update_mask()
135 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG2(pgid)); in sparx5_pgid_update_mask()
141 void sparx5_pgid_clear(struct sparx5 *spx5, int pgid) in sparx5_pgid_clear() argument
143 spx5_wr(0, spx5, ANA_AC_PGID_CFG(pgid)); in sparx5_pgid_clear()
144 spx5_wr(0, spx5, ANA_AC_PGID_CFG1(pgid)); in sparx5_pgid_clear()
145 spx5_wr(0, spx5, ANA_AC_PGID_CFG2(pgid)); in sparx5_pgid_clear()
148 void sparx5_pgid_read_mask(struct sparx5 *spx5, int pgid, u32 portmask[3]) in sparx5_pgid_read_mask() argument
150 portmask[0] = spx5_rd(spx5, ANA_AC_PGID_CFG(pgid)); in sparx5_pgid_read_mask()
[all...]
H A Dsparx5_switchdev.c35 int pgid; in sparx5_port_update_mcast_ip_flood() local
37 for (pgid = PGID_IPV4_MC_DATA; pgid <= PGID_IPV6_MC_CTRL; pgid++) in sparx5_port_update_mcast_ip_flood()
38 sparx5_pgid_update_mask(port, pgid, should_flood); in sparx5_port_update_mcast_ip_flood()
506 static void sparx5_cpu_copy_ena(struct sparx5 *spx5, u16 pgid, bool enable) in sparx5_cpu_copy_ena() argument
510 ANA_AC_PGID_MISC_CFG(pgid)); in sparx5_cpu_copy_ena()
608 /* Clear pgid in case mrouter ports exists in sparx5_handle_port_mdb_del()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
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) >> (t in cxgb4_getpgtccfg()
438 cxgb4_getpgtccfg(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map, int local) cxgb4_getpgtccfg() argument
482 cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_tx() argument
492 cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_rx() argument
501 cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, u8 prio_type, u8 pgid, u8 bw_per, u8 up_tc_map) cxgb4_setpgtccfg_tx() argument
564 cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, int local) cxgb4_getpgbwgcfg() argument
588 cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_tx() argument
593 cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_rx() argument
598 cxgb4_setpgbwgcfg_tx(struct net_device *dev, int pgid, u8 bw_per) cxgb4_setpgbwgcfg_tx() argument
1186 u32 pgid; cxgb4_cee_peer_getpg() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
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) >> (t in cxgb4_getpgtccfg()
438 cxgb4_getpgtccfg(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map, int local) cxgb4_getpgtccfg() argument
482 cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_tx() argument
492 cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) cxgb4_getpgtccfg_rx() argument
501 cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, u8 prio_type, u8 pgid, u8 bw_per, u8 up_tc_map) cxgb4_setpgtccfg_tx() argument
564 cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, int local) cxgb4_getpgbwgcfg() argument
588 cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_tx() argument
593 cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) cxgb4_getpgbwgcfg_rx() argument
598 cxgb4_setpgbwgcfg_tx(struct net_device *dev, int pgid, u8 bw_per) cxgb4_setpgbwgcfg_tx() argument
1186 u32 pgid; cxgb4_cee_peer_getpg() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c34 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx()
40 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
44 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx()
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()
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()
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()
125 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, in qede_dcbnl_setpgtccfgtx()
33 qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qede_dcbnl_getpgtccfgtx() argument
43 qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) qede_dcbnl_getpgbwgcfgtx() argument
51 qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qede_dcbnl_getpgtccfgrx() argument
61 qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, int pgid, u8 *bw_pct) qede_dcbnl_getpgbwgcfgrx() argument
120 qede_dcbnl_setpgtccfgtx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) qede_dcbnl_setpgtccfgtx() argument
129 qede_dcbnl_setpgtccfgrx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) qede_dcbnl_setpgtccfgrx() argument
138 qede_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) qede_dcbnl_setpgbwgcfgtx() argument
146 qede_dcbnl_setpgbwgcfgrx(struct net_device *netdev, int pgid, u8 bw_pct) qede_dcbnl_setpgbwgcfgrx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c34 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx()
40 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
44 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx()
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()
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()
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()
125 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, in qede_dcbnl_setpgtccfgtx()
33 qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qede_dcbnl_getpgtccfgtx() argument
43 qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) qede_dcbnl_getpgbwgcfgtx() argument
51 qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qede_dcbnl_getpgtccfgrx() argument
61 qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, int pgid, u8 *bw_pct) qede_dcbnl_getpgbwgcfgrx() argument
120 qede_dcbnl_setpgtccfgtx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) qede_dcbnl_setpgtccfgtx() argument
129 qede_dcbnl_setpgtccfgrx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) qede_dcbnl_setpgtccfgrx() argument
138 qede_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) qede_dcbnl_setpgbwgcfgtx() argument
146 qede_dcbnl_setpgbwgcfgrx(struct net_device *netdev, int pgid, u8 bw_pct) qede_dcbnl_setpgbwgcfgrx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot.c1800 struct ocelot_pgid *pgid; in ocelot_pgid_alloc() local
1802 pgid = kzalloc(sizeof(*pgid), GFP_KERNEL); in ocelot_pgid_alloc()
1803 if (!pgid) in ocelot_pgid_alloc()
1806 pgid->ports = ports; in ocelot_pgid_alloc()
1807 pgid->index = index; in ocelot_pgid_alloc()
1808 refcount_set(&pgid->refcount, 1); in ocelot_pgid_alloc()
1809 list_add_tail(&pgid->list, &ocelot->pgids); in ocelot_pgid_alloc()
1811 return pgid; in ocelot_pgid_alloc()
1814 static void ocelot_pgid_free(struct ocelot *ocelot, struct ocelot_pgid *pgid) in ocelot_pgid_free() argument
1826 struct ocelot_pgid *pgid; ocelot_mdb_get_pgid() local
1887 struct ocelot_pgid *pgid; ocelot_port_mdb_add() local
1944 struct ocelot_pgid *pgid; ocelot_port_mdb_del() local
2149 struct ocelot_pgid *pgid; ocelot_migrate_mc() local
[all...]
/kernel/linux/linux-5.10/include/linux/qed/
H A 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-6.6/include/linux/qed/
H A Dqed_eth_if.h207 u8 *pgid, u8 *bw_pct, u8 *up_map);
208 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
210 u8 *pgid, u8 *bw_pct, u8 *up_map);
211 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
223 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
225 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
226 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
227 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_mdb.c19 struct lan966x_pgid_entry *pgid; member
207 /* Try to find an existing pgid that uses the same ports as the in lan966x_pgid_entry_get()
217 /* Try to find an empty pgid entry and allocate one in case it finds it, in lan966x_pgid_entry_get()
264 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); in lan966x_mdb_l2_add()
282 mdb_entry->pgid = pgid_entry; in lan966x_mdb_l2_add()
328 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); in lan966x_mdb_l2_del()
344 mdb_entry->pgid = pgid_entry; in lan966x_mdb_l2_del()
371 * reason is that for ipv4/ipv6 it doesn't require to use any pgid in lan966x_handle_port_mdb_add()
372 * entry, while for l2 is required to use pgid entries in lan966x_handle_port_mdb_add()
388 * reason is that for ipv4/ipv6 it doesn't require to use any pgid in lan966x_handle_port_mdb_del()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c397 * @pgid: the corresponding traffic class
402 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_tx() argument
412 if (pgid >= I40E_MAX_TRAFFIC_CLASS) in i40e_dcbnl_set_pg_bwg_cfg_tx()
415 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; in i40e_dcbnl_set_pg_bwg_cfg_tx()
417 pgid, bw_pct); in i40e_dcbnl_set_pg_bwg_cfg_tx()
425 * @pgid: the BW group id the traffic class belongs to
435 u8 __always_unused pgid, in i40e_dcbnl_set_pg_tc_cfg_rx()
447 * @pgid: the corresponding traffic class
453 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_rx() argument
466 * @pgid
432 i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) i40e_dcbnl_set_pg_tc_cfg_rx() argument
472 i40e_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) i40e_dcbnl_get_pg_tc_cfg_tx() argument
500 i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) i40e_dcbnl_get_pg_bwg_cfg_tx() argument
530 i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) i40e_dcbnl_get_pg_tc_cfg_rx() argument
556 i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) i40e_dcbnl_get_pg_bwg_cfg_rx() argument
[all...]
/kernel/linux/linux-5.10/include/linux/ceph/
H A 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-6.6/include/linux/ceph/
H A 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/soc/mscc/
H A Docelot.h68 #define for_each_unicast_dest_pgid(ocelot, pgid) \
69 for ((pgid) = 0; \
70 (pgid) < (ocelot)->num_phys_ports; \
71 (pgid)++)
73 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \
74 for ((pgid) = (ocelot)->num_phys_ports + 1; \
75 (pgid) < PGID_CPU; \
76 (pgid)++)
78 #define for_each_aggr_pgid(ocelot, pgid) \
79 for ((pgid)
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A 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 in dump_spgid()
[all...]
H A Dosdmap.c679 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare()
711 * rbtree of pg_mapping for handling pg_temp (explicit mapping of pgid
714 DEFINE_RB_FUNCS2(pg_mapping, struct ceph_pg_mapping, pgid, ceph_pg_compare,
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, u3 argument
2283 ceph_is_new_interval(const struct ceph_osds *old_acting, const struct ceph_osds *new_acting, const struct ceph_osds *old_up, const struct ceph_osds *new_up, int old_size, int new_size, int old_min_size, int new_min_size, u32 old_pg_num, u32 new_pg_num, bool old_sort_bitwise, bool new_sort_bitwise, bool old_recovery_deletes, bool new_recovery_deletes, const struct ceph_pg *pgid) ceph_is_new_interval() argument
2411 raw_pg_to_pg(struct ceph_pg_pool_info *pi, const struct ceph_pg *raw_pgid, struct ceph_pg *pgid) raw_pg_to_pg() argument
2557 apply_upmap(struct ceph_osdmap *osdmap, const struct ceph_pg *pgid, struct ceph_osds *raw) apply_upmap() argument
2735 get_temp_osds(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pi, const struct ceph_pg *pgid, struct ceph_osds *temp) get_temp_osds() argument
2787 struct ceph_pg pgid; ceph_pg_to_up_acting_osds() local
2812 struct ceph_pg pgid; ceph_pg_to_primary_shard() local
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A 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 in dump_spgid()
[all...]
H A Dosdmap.c695 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare()
727 * rbtree of pg_mapping for handling pg_temp (explicit mapping of pgid
730 DEFINE_RB_FUNCS2(pg_mapping, struct ceph_pg_mapping, pgid, ceph_pg_compare,
1400 struct ceph_pg pgid; in decode_pg_mapping() local
1403 ret = ceph_decode_pgid(p, end, &pgid); in decode_pg_mapping()
1407 pg = lookup_pg_mapping(mapping_root, &pgid); in decode_pg_mapping()
1420 pg->pgid = pgid; /* struct */ in decode_pg_mapping()
2290 bool ceph_pg_is_split(const struct ceph_pg *pgid, u3 argument
2318 ceph_is_new_interval(const struct ceph_osds *old_acting, const struct ceph_osds *new_acting, const struct ceph_osds *old_up, const struct ceph_osds *new_up, int old_size, int new_size, int old_min_size, int new_min_size, u32 old_pg_num, u32 new_pg_num, bool old_sort_bitwise, bool new_sort_bitwise, bool old_recovery_deletes, bool new_recovery_deletes, const struct ceph_pg *pgid) ceph_is_new_interval() argument
2446 raw_pg_to_pg(struct ceph_pg_pool_info *pi, const struct ceph_pg *raw_pgid, struct ceph_pg *pgid) raw_pg_to_pg() argument
2592 apply_upmap(struct ceph_osdmap *osdmap, const struct ceph_pg *pgid, struct ceph_osds *raw) apply_upmap() argument
2770 get_temp_osds(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pi, const struct ceph_pg *pgid, struct ceph_osds *temp) get_temp_osds() argument
2822 struct ceph_pg pgid; ceph_pg_to_up_acting_osds() local
2847 struct ceph_pg pgid; ceph_pg_to_primary_shard() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
801 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx()
814 *pgid in qlcnic_dcb_get_pg_tc_cfg_tx()
792 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *pgid, u8 *bw_per, u8 *up_tc_map) qlcnic_dcb_get_pg_tc_cfg_tx() argument
829 qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) qlcnic_dcb_get_pg_bwg_cfg_tx() argument
1002 qlcnic_dcb_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qlcnic_dcb_get_pg_tc_cfg_rx() argument
1009 qlcnic_dcb_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) qlcnic_dcb_get_pg_bwg_cfg_rx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
801 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx()
814 *pgid in qlcnic_dcb_get_pg_tc_cfg_tx()
792 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *pgid, u8 *bw_per, u8 *up_tc_map) qlcnic_dcb_get_pg_tc_cfg_tx() argument
829 qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) qlcnic_dcb_get_pg_bwg_cfg_tx() argument
1002 qlcnic_dcb_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) qlcnic_dcb_get_pg_tc_cfg_rx() argument
1009 qlcnic_dcb_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) qlcnic_dcb_get_pg_bwg_cfg_rx() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c398 * @pgid: the BW group ID the traffic class belongs to
404 u8 __always_unused *prio_type, u8 *pgid, in ice_dcbnl_get_pg_tc_cfg_tx()
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() local
463 * @pgid: corresponding traffic class
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() local
487 * @pgid
403 ice_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_tx() argument
491 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) ice_dcbnl_set_pg_bwg_cfg_tx() argument
518 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_rx() argument
548 ice_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) ice_dcbnl_set_pg_tc_cfg_rx() argument
567 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_rx() argument
588 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) ice_dcbnl_set_pg_bwg_cfg_rx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c428 * @pgid: the BW group ID the traffic class belongs to
434 u8 __always_unused *prio_type, u8 *pgid, in ice_dcbnl_get_pg_tc_cfg_tx()
448 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; in ice_dcbnl_get_pg_tc_cfg_tx()
450 *pgid); in ice_dcbnl_get_pg_tc_cfg_tx() local
498 * @pgid: corresponding traffic class
502 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
511 if (pgid >= ICE_MAX_TRAFFIC_CLASS) in ice_dcbnl_get_pg_bwg_cfg_tx()
514 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; in ice_dcbnl_get_pg_bwg_cfg_tx()
516 pgid, *bw_pct); in ice_dcbnl_get_pg_bwg_cfg_tx() local
522 * @pgid
433 ice_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_tx() argument
526 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) ice_dcbnl_set_pg_bwg_cfg_tx() argument
558 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_rx() argument
588 ice_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) ice_dcbnl_set_pg_tc_cfg_rx() argument
607 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_rx() argument
628 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) ice_dcbnl_set_pg_bwg_cfg_rx() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A 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 < in ocelot_port_mdb_add()
[all...]

Completed in 30 milliseconds

1234