/linux-master/fs/ceph/ |
H A D | ioctl.c | 191 struct ceph_pg pgid; local 216 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); 224 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid);
|
/linux-master/include/soc/mscc/ |
H A D | ocelot.h | 73 #define for_each_unicast_dest_pgid(ocelot, pgid) \ 74 for ((pgid) = 0; \ 75 (pgid) < (ocelot)->num_phys_ports; \ 76 (pgid)++) 78 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ 79 for ((pgid) = (ocelot)->num_phys_ports + 1; \ 80 (pgid) < PGID_BLACKHOLE; \ 81 (pgid)++) 83 #define for_each_aggr_pgid(ocelot, pgid) \ 84 for ((pgid) [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.h | 74 struct ocelot_pgid *pgid; member in struct:ocelot_multicast
|
H A D | ocelot_net.c | 607 int pgid; member in struct:ocelot_mact_work_ctx::__anon1422::__anon1423 627 ocelot_mact_learn(ocelot, w->learn.pgid, w->learn.addr, 678 w.learn.pgid = PGID_CPU;
|
/linux-master/net/dcb/ |
H A D | dcbnl.c | 591 u8 prio, pgid, tc_pct, up_map; local 636 pgid = DCB_ATTR_VALUE_UNDEFINED; 645 &pgid, &tc_pct, &up_map); 650 &pgid, &tc_pct, &up_map); 656 DCB_TC_ATTR_PARAM_PGID, pgid); 807 u8 pgid; local 838 pgid = DCB_ATTR_VALUE_UNDEFINED; 848 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); 862 prio, pgid, tc_pct, up_map); 867 prio, pgid, tc_pc 1313 u8 pgid, up_map, prio, tc_pct; local [all...] |
/linux-master/arch/s390/include/uapi/asm/ |
H A D | dasd.h | 285 __u8 pgid[11]; member in struct:dasd_snid_data
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 698 u8 pgid, u8 bw_pct, u8 up_map) 709 if (pgid >= CEE_DCBX_MAX_PGS) { 715 cee_cfg->prio_to_pg_map[priority] = pgid; 719 int pgid, u8 bw_pct) 724 if (pgid >= CEE_DCBX_MAX_PGS) { 730 cee_cfg->pg_bw_pct[pgid] = bw_pct; 735 u8 *pgid, u8 *bw_pct, u8 *up_map) 755 if (mlx5_query_port_prio_tc(mdev, priority, pgid)) 756 *pgid = 0; 760 int pgid, u 696 mlx5e_dcbnl_setpgtccfgtx(struct net_device *netdev, int priority, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument 718 mlx5e_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) argument 733 mlx5e_dcbnl_getpgtccfgtx(struct net_device *netdev, int priority, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 759 mlx5e_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 1153 pid_t pgid, pid; local 1160 pgid = task_pgrp_vnr(current); 1161 pid = atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], pgid, MKSSTAT_PID_RESERVED); 1166 if (pid == pgid) {
|
/linux-master/fs/coda/ |
H A D | upcall.c | 55 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vlan.c | 118 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable) argument 127 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG(pgid)); 131 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG1(pgid)); 135 spx5_rmw(val, mask, sparx5, ANA_AC_PGID_CFG2(pgid)); 141 void sparx5_pgid_clear(struct sparx5 *spx5, int pgid) argument 143 spx5_wr(0, spx5, ANA_AC_PGID_CFG(pgid)); 144 spx5_wr(0, spx5, ANA_AC_PGID_CFG1(pgid)); 145 spx5_wr(0, spx5, ANA_AC_PGID_CFG2(pgid)); 148 void sparx5_pgid_read_mask(struct sparx5 *spx5, int pgid, u32 portmask[3]) argument 150 portmask[0] = spx5_rd(spx5, ANA_AC_PGID_CFG(pgid)); [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.h | 510 __u8 pgid[11]; member in struct:dasd_ckd_path_group_entry
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mac.c | 73 static int __lan966x_mac_learn_locked(struct lan966x *lan966x, int pgid, argument 87 ANA_MACACCESS_DEST_IDX_SET(pgid) | 95 static int __lan966x_mac_learn(struct lan966x *lan966x, int pgid, argument 104 ret = __lan966x_mac_learn_locked(lan966x, pgid, cpu_copy, mac, vid, type);
|
H A D | lan966x_mdb.c | 19 struct lan966x_pgid_entry *pgid; member in struct:lan966x_mdb_entry 207 /* Try to find an existing pgid that uses the same ports as the 217 /* Try to find an empty pgid entry and allocate one in case it finds it, 264 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); 282 mdb_entry->pgid = pgid_entry; 328 lan966x_pgid_entry_del(lan966x, mdb_entry->pgid); 344 mdb_entry->pgid = pgid_entry; 371 * reason is that for ipv4/ipv6 it doesn't require to use any pgid 372 * entry, while for l2 is required to use pgid entries 388 * reason is that for ipv4/ipv6 it doesn't require to use any pgid [all...] |
/linux-master/net/ceph/ |
H A D | osdmap.c | 695 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); 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; local 1403 ret = ceph_decode_pgid(p, end, &pgid); 1407 pg = lookup_pg_mapping(mapping_root, &pgid); 1420 pg->pgid = pgid; /* struct */ 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) argument 2446 raw_pg_to_pg(struct ceph_pg_pool_info *pi, const struct ceph_pg *raw_pgid, struct ceph_pg *pgid) argument 2592 apply_upmap(struct ceph_osdmap *osdmap, const struct ceph_pg *pgid, struct ceph_osds *raw) argument 2770 get_temp_osds(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pi, const struct ceph_pg *pgid, struct ceph_osds *temp) argument 2822 struct ceph_pg pgid; local 2847 struct ceph_pg pgid; local [all...] |
H A D | debugfs.c | 96 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, 97 pg->pgid.seed); 107 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, 108 pg->pgid.seed, pg->primary_temp.osd); 114 seq_printf(s, "pg_upmap %llu.%x [", pg->pgid.pool, 115 pg->pgid.seed); 125 seq_printf(s, "pg_upmap_items %llu.%x [", pg->pgid.pool, 126 pg->pgid.seed); 178 seq_printf(s, "%llu.%x", spgid->pgid.pool, spgid->pgid [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 2416 int prio, pgid; local 2420 pgid = (dcb->pgid >> 4 * (7 - prio)) & 0xf; 2421 seq_printf(seq, " %3d", pgid); 2702 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >>
|
H A D | cxgb4_dcb.c | 281 int dcb_type = pcmd->u.dcb.pgid.type; 333 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); 439 u8 *prio_type, u8 *pgid, u8 *bw_per, 447 *prio_type = *pgid = *bw_per = *up_tc_map = 0; 454 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; 460 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (t 438 cxgb4_getpgtccfg(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map, int local) argument 482 cxgb4_getpgtccfg_tx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) argument 492 cxgb4_getpgtccfg_rx(struct net_device *dev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_per, u8 *up_tc_map) argument 501 cxgb4_setpgtccfg_tx(struct net_device *dev, int tc, u8 prio_type, u8 pgid, u8 bw_per, u8 up_tc_map) argument 564 cxgb4_getpgbwgcfg(struct net_device *dev, int pgid, u8 *bw_per, int local) argument 588 cxgb4_getpgbwgcfg_tx(struct net_device *dev, int pgid, u8 *bw_per) argument 593 cxgb4_getpgbwgcfg_rx(struct net_device *dev, int pgid, u8 *bw_per) argument 598 cxgb4_setpgbwgcfg_tx(struct net_device *dev, int pgid, u8 bw_per) argument 1186 u32 pgid; local [all...] |
H A D | t4fw_api.h | 2846 __be32 pgid; member in struct:fw_port_cmd::fw_port::fw_port_dcb::fw_port_dcb_pgid 2848 } pgid; member in union:fw_port_cmd::fw_port::fw_port_dcb
|
/linux-master/include/linux/qed/ |
H A D | qed_eth_if.h | 207 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);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 1350 u8 *pgid, u8 *bw_pct, u8 *up_map) 1356 *prio_type = *pgid = *bw_pct = *up_map = 0; 1366 *pgid = dcbx_info->operational.params.ets_pri_tc_tbl[tc]; 1370 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) argument 1376 DP_VERBOSE(hwfn, QED_MSG_DCB, "pgid = %d\n", pgid); 1377 if (pgid < 0 || pgid >= QED_MAX_PFC_PRIORITIES) { 1378 DP_INFO(hwfn, "Invalid pgid %d\n", pgid); 1349 qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 1562 qed_dcbnl_setpgtccfgtx(struct qed_dev *cdev, int tc, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 1597 qed_dcbnl_setpgtccfgrx(struct qed_dev *cdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 1603 qed_dcbnl_setpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 bw_pct) argument 1633 qed_dcbnl_setpgbwgcfgrx(struct qed_dev *cdev, int pgid, u8 bw_pct) argument [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_defs_svc.h | 1360 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member in struct:bfa_cee_dcbx_cfg_s
|
/linux-master/include/linux/ceph/ |
H A D | osdmap.h | 30 struct ceph_pg pgid; member in struct:ceph_spg 153 struct ceph_pg pgid; member in struct:ceph_pg_mapping 231 static inline int ceph_decode_pgid(void **p, void *end, struct ceph_pg *pgid) argument 246 pgid->pool = ceph_decode_64(p); 247 pgid->seed = ceph_decode_32(p); 273 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num, 289 const struct ceph_pg *pgid);
|
/linux-master/drivers/s390/cio/ |
H A D | io_sch.h | 127 struct pgid pgid[8]; /* path group IDs per chpid*/ member in struct:ccw_device_dma_area 165 unsigned int pgid_unknown:1;/* unknown pgid state */
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 144 u8 pgid; member in struct:qlcnic_dcb_tc_cfg 660 u8 i, tc, pgid; local 675 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); 677 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); 679 tc_cfg->pgid = pgid; 682 type->pg_cfg[tc_cfg->pgid].prio_count++; 793 u8 *pgid, u8 *bw_per, u8 *up_tc_map) 801 *prio = *pgid = *bw_per = *up_tc_map = 0; 814 *pgid 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) argument 829 qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) 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) argument 1009 qlcnic_dcb_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_dcbnl.c | 34 u8 *prio_type, u8 *pgid, u8 *bw_pct, 40 pgid, bw_pct, up_map); 44 int pgid, u8 *bw_pct) 48 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); 52 u8 *prio_type, u8 *pgid, u8 *bw_pct, 57 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, 62 int pgid, u8 *bw_pct) 66 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); 121 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) 125 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, 33 qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 43 qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 51 qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 61 qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 120 qede_dcbnl_setpgtccfgtx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 129 qede_dcbnl_setpgtccfgrx(struct net_device *netdev, int prio, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument 138 qede_dcbnl_setpgbwgcfgtx(struct net_device *netdev, int pgid, u8 bw_pct) argument 146 qede_dcbnl_setpgbwgcfgrx(struct net_device *netdev, int pgid, u8 bw_pct) argument [all...] |