Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/s390/cio/
Ddevice_pgid.c138 struct pgid *pgid = &cdev->private->pgid[i]; in spid_build_cp() local
140 pgid->inf.fc = fn; in spid_build_cp()
142 cp->cda = (u32) (addr_t) pgid; in spid_build_cp()
143 cp->count = sizeof(*pgid); in spid_build_cp()
279 static int pgid_is_reset(struct pgid *p) in pgid_is_reset()
290 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp()
293 sizeof(struct pgid) - 1); in pgid_cmp()
299 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze()
302 struct pgid *pgid = &cdev->private->pgid[0]; in pgid_analyze() local
303 struct pgid *first = NULL; in pgid_analyze()
[all …]
Dcss.h48 struct pgid { struct
120 struct pgid global_pgid;
Dio_sch.h159 struct pgid pgid[8]; /* path group IDs per chpid*/ member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c259 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update()
311 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); in cxgb4_dcb_handle_fw_update()
417 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument
425 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg()
432 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg()
438 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg()
452 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg()
456 if (*pgid != 0xF) in cxgb4_getpgtccfg()
461 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument
465 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
Dt4fw_api.h2385 __be32 pgid; member
2387 } pgid; member
Dcxgb4_debugfs.c2294 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >> in sge_qinfo_show()
/linux-4.4.14/net/ceph/
Dosdmap.c399 dout("__insert_pg_mapping %llx %p\n", *(u64 *)&new->pgid, new); in __insert_pg_mapping()
403 c = pgid_cmp(new->pgid, pg->pgid); in __insert_pg_mapping()
418 struct ceph_pg pgid) in __lookup_pg_mapping() argument
426 c = pgid_cmp(pgid, pg->pgid); in __lookup_pg_mapping()
433 pgid.pool, pgid.seed, pg); in __lookup_pg_mapping()
440 static int __remove_pg_mapping(struct rb_root *root, struct ceph_pg pgid) in __remove_pg_mapping() argument
442 struct ceph_pg_mapping *pg = __lookup_pg_mapping(root, pgid); in __remove_pg_mapping()
445 dout("__remove_pg_mapping %lld.%x %p\n", pgid.pool, pgid.seed, in __remove_pg_mapping()
451 dout("__remove_pg_mapping %lld.%x dne\n", pgid.pool, pgid.seed); in __remove_pg_mapping()
851 struct ceph_pg pgid; in __decode_pg_temp() local
[all …]
Ddebugfs.c91 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show()
92 pg->pgid.seed); in osdmap_show()
102 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show()
103 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
Dosd_client.c1422 struct ceph_pg pgid; in __map_request() local
1430 err = __calc_request_pg(osdc->osdmap, req, &pgid); in __map_request()
1435 req->r_pgid = pgid; in __map_request()
1437 num = ceph_calc_pg_acting(osdc->osdmap, pgid, acting, &o); in __map_request()
1456 req->r_tid, pgid.pool, pgid.seed, o, in __map_request()
/linux-4.4.14/include/linux/ceph/
Dosdmap.h74 struct ceph_pg pgid; member
173 static inline int ceph_decode_pgid(void **p, void *end, struct ceph_pg *pgid) in ceph_decode_pgid() argument
188 pgid->pool = ceph_decode_64(p); in ceph_decode_pgid()
189 pgid->seed = ceph_decode_32(p); in ceph_decode_pgid()
213 struct ceph_pg pgid,
216 struct ceph_pg pgid);
/linux-4.4.14/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-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1951 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
1956 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx()
1973 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx()
1978 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
1981 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1983 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1986 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1991 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
1999 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2006 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
[all …]
/linux-4.4.14/net/dcb/
Ddcbnl.c566 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
609 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
618 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
623 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
629 DCB_TC_ATTR_PARAM_PGID, pgid); in __dcbnl_pg_getcfg()
780 u8 pgid; in __dcbnl_pg_setcfg() local
808 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
818 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
832 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
837 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
[all …]
/linux-4.4.14/fs/ceph/
Dioctl.c189 struct ceph_pg pgid; in ceph_ioctl_get_dataloc() local
218 r = ceph_oloc_oid_to_pg(osdc->osdmap, &oloc, &oid, &pgid); in ceph_ioctl_get_dataloc()
224 dl.osd = ceph_calc_pg_primary(osdc->osdmap, pgid); in ceph_ioctl_get_dataloc()
/linux-4.4.14/arch/s390/include/uapi/asm/
Ddasd.h232 __u8 pgid[11]; member
/linux-4.4.14/fs/proc/
Darray.c383 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
452 pgid = task_pgrp_nr_ns(task, ns); in do_task_stat()
476 seq_put_decimal_ll(m, ' ', pgid); in do_task_stat()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h163 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/linux-4.4.14/kernel/
Dsys.c919 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
928 if (!pgid) in SYSCALL_DEFINE2()
929 pgid = pid; in SYSCALL_DEFINE2()
930 if (pgid < 0) in SYSCALL_DEFINE2()
966 if (pgid != pid) { in SYSCALL_DEFINE2()
969 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2()
975 err = security_task_setpgid(p, pgid); in SYSCALL_DEFINE2()
/linux-4.4.14/include/uapi/linux/
Dcoda.h299 pid_t pgid; member
/linux-4.4.14/include/linux/
Dsecurity.h306 int security_task_setpgid(struct task_struct *p, pid_t pgid);
875 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
Dlsm_hooks.h1458 int (*task_setpgid)(struct task_struct *p, pid_t pgid);
Dsyscalls.h244 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
/linux-4.4.14/fs/coda/
Dupcall.c54 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall()
/linux-4.4.14/security/
Dsecurity.c919 int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
921 return call_int_hook(task_setpgid, 0, p, pgid); in security_task_setpgid()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_defs_svc.h1367 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/linux-4.4.14/security/smack/
Dsmack_lsm.c2083 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid() argument
/linux-4.4.14/Documentation/filesystems/
Dcoda.txt390 u_short pgid; /* Common to all */
/linux-4.4.14/security/selinux/
Dhooks.c3656 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) in selinux_task_setpgid() argument