/linux-4.4.14/drivers/s390/cio/ |
D | device_pgid.c | 138 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 …]
|
D | css.h | 48 struct pgid { struct 120 struct pgid global_pgid;
|
D | io_sch.h | 159 struct pgid pgid[8]; /* path group IDs per chpid*/ member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 259 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 …]
|
D | cxgb4_dcb.h | 117 u32 pgid; /* Priority Group[0..7] */ member
|
D | t4fw_api.h | 2385 __be32 pgid; member 2387 } pgid; member
|
D | cxgb4_debugfs.c | 2294 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >> in sge_qinfo_show()
|
/linux-4.4.14/net/ceph/ |
D | osdmap.c | 399 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 …]
|
D | debugfs.c | 91 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()
|
D | osd_client.c | 1422 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/ |
D | osdmap.h | 74 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/ |
D | qlcnic_dcb.c | 145 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/ |
D | bnx2x_dcb.c | 1951 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/ |
D | dcbnl.c | 566 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/ |
D | ioctl.c | 189 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/ |
D | dasd.h | 232 __u8 pgid[11]; member
|
/linux-4.4.14/fs/proc/ |
D | array.c | 383 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/ |
D | bfa_defs_cna.h | 163 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
|
/linux-4.4.14/kernel/ |
D | sys.c | 919 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/ |
D | coda.h | 299 pid_t pgid; member
|
/linux-4.4.14/include/linux/ |
D | security.h | 306 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
|
D | lsm_hooks.h | 1458 int (*task_setpgid)(struct task_struct *p, pid_t pgid);
|
D | syscalls.h | 244 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
|
/linux-4.4.14/fs/coda/ |
D | upcall.c | 54 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall()
|
/linux-4.4.14/security/ |
D | security.c | 919 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/ |
D | bfa_defs_svc.h | 1367 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 2083 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid() argument
|
/linux-4.4.14/Documentation/filesystems/ |
D | coda.txt | 390 u_short pgid; /* Common to all */
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 3656 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) in selinux_task_setpgid() argument
|