Home
last modified time | relevance | path

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

12345

/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...]
/test/xts/acts/kernel_lite/process_posix/src/
H A DPidTest.cpp130 pid_t pgid = getpgrp(); in HWTEST_F() local
131 ASSERT_EQ(pgid, parentPid); in HWTEST_F()
137 if (childPgid != pgid) { in HWTEST_F()
138 LOG("child getpgrp fail, expect:%d, but get:%d", pgid, childPgid); in HWTEST_F()
161 pid_t pgid = getpgid(0); in HWTEST_F() local
162 ASSERT_EQ(pgid, parentPid); in HWTEST_F()
168 if (childPgid != pgid) { in HWTEST_F()
169 LOG("child getpgid fail, expect:%d, but get:%d", pgid, childPgid); in HWTEST_F()
176 LOG("child new pgid check fail, pid=%d, pgid in HWTEST_F()
202 pid_t pgid = getpgid(0); HWTEST_F() local
244 pid_t pgid = getpgid(-1); HWTEST_F() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/getpgid/
H A Dgetpgid01.c18 pid_t pid_1, child_pid, pgid; in run() local
20 pgid = getpgid(0); in run()
21 tst_res(TINFO, "getpgid(0) in parent = %d", pgid); in run()
31 TST_EXP_EQ_LI(TST_RET, pgid); in run()
34 TST_EXP_EQ_LI(TST_RET, pgid); in run()
36 TST_EXP_PID(getpgid(pgid), "getpgid(%d)", pgid); in run() local
37 TST_EXP_EQ_LI(TST_RET, pgid); in run()
/third_party/ltp/testcases/kernel/syscalls/setpgid/
H A Dsetpgid01.c39 * 2. Check functioning of setpgid(2) with pid = 0 and pgid = 0.
80 pid_t pgid, pid; in setpgid_test1() local
82 pgid = getpgrp(); in setpgid_test1()
85 TEST(setpgid(pid, pgid)); in setpgid_test1()
86 if (TEST_RETURN == -1 || getpgrp() != pgid) { in setpgid_test1()
88 pid, pgid); in setpgid_test1()
90 tst_resm(TPASS, "test setpgid(%d, %d) success", pid, pgid); in setpgid_test1()
109 pid_t pgid, pid; in setpgid_test2() local
120 pgid = getpgrp(); in setpgid_test2()
125 } else if (pgid ! in setpgid_test2()
[all...]
H A Dsetpgid02.c13 * - EINVAL when given pgid is less than 0.
24 static pid_t pgid, pid, ppid, inval_pgid; variable
29 pid_t *pgid; member
33 {&ppid, &pgid, ESRCH},
41 pgid = getpgrp(); in setup()
54 TST_EXP_FAIL(setpgid(*tc->pid, *tc->pgid), tc->error, in run()
55 "setpgid(%d, %d)", *tc->pid, *tc->pgid); in run()
/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...]
/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...]
/third_party/musl/src/signal/
H A Dkillpg.c4 int killpg(pid_t pgid, int sig) in killpg() argument
6 if (pgid < 0) { in killpg()
10 return kill(-pgid, sig); in killpg()
/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...]
/third_party/rust/crates/rustix/src/process/
H A Dpriority.rs38 /// A `pgid` of `None` means the process group of the calling process.
51 pub fn getpriority_pgrp(pgid: Option<Pid>) -> io::Result<i32> { in getpriority_pgrp()
52 backend::process::syscalls::getpriority_pgrp(pgid) in getpriority_pgrp()
93 /// `setpriority(PRIO_PGRP, pgid)`—Get the scheduling priority of the given
96 /// A `pgid` of `None` means the process group of the calling process.
109 pub fn setpriority_pgrp(pgid: Option<Pid>, priority: i32) -> io::Result<()> { in setpriority_pgrp()
110 backend::process::syscalls::setpriority_pgrp(pgid, priority) in setpriority_pgrp()
/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...]
/third_party/ltp/lib/
H A Dtst_safe_macros.c42 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid) in safe_setpgid() argument
46 rval = setpgid(pid, pgid); in safe_setpgid()
50 "setpgid(%i, %i) failed", pid, pgid); in safe_setpgid()
53 "Invalid setpgid(%i, %i) return value %d", pid, pgid, in safe_setpgid()
62 pid_t pgid; in safe_getpgid() local
64 pgid = getpgid(pid); in safe_getpgid()
66 if (pgid == -1) { in safe_getpgid()
69 } else if (pgid < 0) { in safe_getpgid()
71 "Invalid getpgid(%i) return value %d", pid, pgid); in safe_getpgid()
74 return pgid; in safe_getpgid()
[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...]
/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...]
/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...]

Completed in 20 milliseconds

12345