Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/s390/cio/
Ddevice_pgid.c139 struct pgid *pgid = &cdev->private->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->pgid[0]; in pgid_analyze() local
304 struct pgid *first = NULL; in pgid_analyze()
[all …]
Dcss.h49 struct pgid { struct
121 struct pgid global_pgid;
Dio_sch.h162 struct pgid pgid[8]; /* path group IDs per chpid*/ member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c266 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update()
318 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); in cxgb4_dcb_handle_fw_update()
424 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument
432 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg()
439 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg()
445 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg()
459 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg()
463 if (*pgid != 0xF) in cxgb4_getpgtccfg()
468 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument
472 return cxgb4_getpgtccfg(dev, (7 - tc), prio_type, pgid, bw_per, in cxgb4_getpgtccfg_tx()
[all …]
Dcxgb4_dcb.h117 u32 pgid; /* Priority Group[0..7] */ member
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c36 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgtx() argument
42 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx()
46 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgtx() argument
50 edev->ops->dcb->getpgbwgcfgtx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgtx()
54 u8 *prio_type, u8 *pgid, u8 *bw_pct, in qede_dcbnl_getpgtccfgrx() argument
59 edev->ops->dcb->getpgtccfgrx(edev->cdev, prio, prio_type, pgid, bw_pct, in qede_dcbnl_getpgtccfgrx()
64 int pgid, u8 *bw_pct) in qede_dcbnl_getpgbwgcfgrx() argument
68 edev->ops->dcb->getpgbwgcfgrx(edev->cdev, pgid, bw_pct); in qede_dcbnl_getpgbwgcfgrx()
123 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument
127 return edev->ops->dcb->setpgtccfgtx(edev->cdev, prio, pri_type, pgid, in qede_dcbnl_setpgtccfgtx()
[all …]
/Linux-v4.19/include/linux/ceph/
Dosdmap.h30 struct ceph_pg pgid; member
140 struct ceph_pg pgid; member
219 static inline int ceph_decode_pgid(void **p, void *end, struct ceph_pg *pgid) in ceph_decode_pgid() argument
234 pgid->pool = ceph_decode_64(p); in ceph_decode_pgid()
235 pgid->seed = ceph_decode_32(p); in ceph_decode_pgid()
261 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num,
277 const struct ceph_pg *pgid);
Dosd_client.h148 struct ceph_pg pgid; /* last raw pg we mapped to */ member
/Linux-v4.19/include/linux/qed/
Dqed_eth_if.h244 u8 *pgid, u8 *bw_pct, u8 *up_map);
245 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
247 u8 *pgid, u8 *bw_pct, u8 *up_map);
248 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
260 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
262 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
263 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
264 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
/Linux-v4.19/net/ceph/
Ddebugfs.c94 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()
Dosdmap.c599 ret = ceph_pg_compare(&lhs->pgid, &rhs->pgid); in ceph_spg_compare()
634 DEFINE_RB_FUNCS2(pg_mapping, struct ceph_pg_mapping, pgid, ceph_pg_compare, in DEFINE_RB_FUNCS2() argument
1180 struct ceph_pg pgid;
1183 ret = ceph_decode_pgid(p, end, &pgid);
1187 pg = lookup_pg_mapping(mapping_root, &pgid);
1200 pg->pgid = pgid; /* struct */
2046 bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num, in ceph_pg_is_split() argument
2053 WARN_ON(pgid->seed >= old_pg_num); in ceph_pg_is_split()
2059 u32 s = next_bit | pgid->seed; in ceph_pg_is_split()
2061 if (s < old_pg_num || s == pgid->seed) in ceph_pg_is_split()
[all …]
Dosd_client.c436 dest->pgid = src->pgid; /* struct */ in target_copy()
1422 struct ceph_pg pgid, last_pgid; in calc_target() local
1467 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); in calc_target()
1468 last_pgid.pool = pgid.pool; in calc_target()
1469 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1471 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); in calc_target()
1494 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || in calc_target()
1500 t->pgid = pgid; /* struct */ in calc_target()
1501 ceph_pg_to_primary_shard(osdc->osdmap, pi, &pgid, &t->spgid); in calc_target()
1813 hoid->hash = t->pgid.seed; in hoid_fill_from_target()
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c145 u8 pgid; member
661 u8 i, tc, pgid; in qlcnic_dcb_fill_cee_tc_params() local
676 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[0], i); in qlcnic_dcb_fill_cee_tc_params()
678 pgid = QLC_DCB_GET_PGID_PRIO(each->prio_pg_map[1], i); in qlcnic_dcb_fill_cee_tc_params()
680 tc_cfg->pgid = pgid; in qlcnic_dcb_fill_cee_tc_params()
683 type->pg_cfg[tc_cfg->pgid].prio_count++; in qlcnic_dcb_fill_cee_tc_params()
794 u8 *pgid, u8 *bw_per, u8 *up_tc_map) in qlcnic_dcb_get_pg_tc_cfg_tx() argument
802 *prio = *pgid = *bw_per = *up_tc_map = 0; in qlcnic_dcb_get_pg_tc_cfg_tx()
815 *pgid = tc_cfg->pgid; in qlcnic_dcb_get_pg_tc_cfg_tx()
818 pg = *pgid; in qlcnic_dcb_get_pg_tc_cfg_tx()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c688 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument
699 if (pgid >= CEE_DCBX_MAX_PGS) { in mlx5e_dcbnl_setpgtccfgtx()
705 cee_cfg->prio_to_pg_map[priority] = pgid; in mlx5e_dcbnl_setpgtccfgtx()
709 int pgid, u8 bw_pct) in mlx5e_dcbnl_setpgbwgcfgtx() argument
714 if (pgid >= CEE_DCBX_MAX_PGS) { in mlx5e_dcbnl_setpgbwgcfgtx()
720 cee_cfg->pg_bw_pct[pgid] = bw_pct; in mlx5e_dcbnl_setpgbwgcfgtx()
725 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument
745 if (mlx5_query_port_prio_tc(mdev, priority, pgid)) in mlx5e_dcbnl_getpgtccfgtx()
746 *pgid = 0; in mlx5e_dcbnl_getpgtccfgtx()
750 int pgid, u8 *bw_pct) in mlx5e_dcbnl_getpgbwgcfgtx() argument
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1378 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument
1384 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx()
1394 *pgid = dcbx_info->operational.params.ets_pri_tc_tbl[tc]; in qed_dcbnl_getpgtccfgtx()
1398 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() argument
1404 DP_VERBOSE(hwfn, QED_MSG_DCB, "pgid = %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx()
1405 if (pgid < 0 || pgid >= QED_MAX_PFC_PRIORITIES) { in qed_dcbnl_getpgbwgcfgtx()
1406 DP_INFO(hwfn, "Invalid pgid %d\n", pgid); in qed_dcbnl_getpgbwgcfgtx()
1414 *bw_pct = dcbx_info->operational.params.ets_tc_bw_tbl[pgid]; in qed_dcbnl_getpgbwgcfgtx()
1592 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgtx() argument
1601 tc, pri_type, pgid, bw_pct, up_map); in qed_dcbnl_setpgtccfgtx()
[all …]
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1980 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
1985 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx()
2002 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx()
2007 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
2010 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2012 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2015 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
2020 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
2028 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2035 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
[all …]
/Linux-v4.19/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()
/Linux-v4.19/net/dcb/
Ddcbnl.c562 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
605 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
614 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
619 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
625 DCB_TC_ATTR_PARAM_PGID, pgid); in __dcbnl_pg_getcfg()
775 u8 pgid; in __dcbnl_pg_setcfg() local
803 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
813 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
827 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
832 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
[all …]
/Linux-v4.19/arch/s390/include/uapi/asm/
Ddasd.h269 __u8 pgid[11]; member
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h163 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/Linux-v4.19/fs/proc/
Darray.c428 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
506 pgid = task_pgrp_nr_ns(task, ns); in do_task_stat()
534 seq_put_decimal_ll(m, " ", pgid); in do_task_stat()
/Linux-v4.19/kernel/
Dsys.c1003 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
1012 if (!pgid) in SYSCALL_DEFINE2()
1013 pgid = pid; in SYSCALL_DEFINE2()
1014 if (pgid < 0) in SYSCALL_DEFINE2()
1050 if (pgid != pid) { in SYSCALL_DEFINE2()
1053 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2()
1059 err = security_task_setpgid(p, pgid); in SYSCALL_DEFINE2()
/Linux-v4.19/include/uapi/linux/
Dcoda.h299 pid_t pgid; member
/Linux-v4.19/drivers/s390/block/
Ddasd_eckd.h416 __u8 pgid[11]; member
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h225 u8 pgid; member

12