Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/s390/cio/
Ddevice_pgid.c137 struct pgid *pgid = &cdev->private->pgid[i]; in spid_build_cp() local
139 pgid->inf.fc = fn; in spid_build_cp()
141 cp->cda = (u32) (addr_t) pgid; in spid_build_cp()
142 cp->count = sizeof(*pgid); in spid_build_cp()
278 static int pgid_is_reset(struct pgid *p) in pgid_is_reset()
289 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp()
292 sizeof(struct pgid) - 1); in pgid_cmp()
298 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze()
301 struct pgid *pgid = &cdev->private->pgid[0]; in pgid_analyze() local
302 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.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c250 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update()
302 dcb->pgid = be32_to_cpu(fwdcb->pgid.pgid); in cxgb4_dcb_handle_fw_update()
408 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg() argument
416 *prio_type = *pgid = *bw_per = *up_tc_map = 0; in cxgb4_getpgtccfg()
423 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg()
429 *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; in cxgb4_getpgtccfg()
443 *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; in cxgb4_getpgtccfg()
447 if (*pgid != 0xF) in cxgb4_getpgtccfg()
452 u8 *prio_type, u8 *pgid, u8 *bw_per, in cxgb4_getpgtccfg_tx() argument
456 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.h2330 __be32 pgid; member
2332 } pgid; member
Dcxgb4_debugfs.c1727 (ethqset2pinfo(adap, base_qset + i)->dcb.pgid >> in sge_qinfo_show()
/linux-4.1.27/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.c1406 struct ceph_pg pgid; in __map_request() local
1414 err = __calc_request_pg(osdc->osdmap, req, &pgid); in __map_request()
1419 req->r_pgid = pgid; in __map_request()
1421 num = ceph_calc_pg_acting(osdc->osdmap, pgid, acting, &o); in __map_request()
1440 req->r_tid, pgid.pool, pgid.seed, o, in __map_request()
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1947 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
1952 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx()
1969 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx()
1974 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
1977 DP(BNX2X_MSG_DCB, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1979 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1982 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1987 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
1995 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
2002 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
[all …]
/linux-4.1.27/net/dcb/
Ddcbnl.c569 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
612 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
621 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
626 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
632 DCB_TC_ATTR_PARAM_PGID, pgid); in __dcbnl_pg_getcfg()
783 u8 pgid; in __dcbnl_pg_setcfg() local
811 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
821 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
835 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
840 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
[all …]
/linux-4.1.27/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.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_main.c424 union ib_gid *pgid; in ocrdma_init_ipv6_gids() local
430 pgid = (union ib_gid *)&ifp->addr; in ocrdma_init_ipv6_gids()
431 ocrdma_add_sgid(dev, pgid); in ocrdma_init_ipv6_gids()
/linux-4.1.27/arch/s390/include/uapi/asm/
Ddasd.h232 __u8 pgid[11]; member
/linux-4.1.27/fs/proc/
Darray.c372 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
441 pgid = task_pgrp_nr_ns(task, ns); in do_task_stat()
465 seq_put_decimal_ll(m, ' ', pgid); in do_task_stat()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbfa_defs_cna.h165 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/linux-4.1.27/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.1.27/include/uapi/linux/
Dcoda.h299 pid_t pgid; member
/linux-4.1.27/include/linux/
Dsecurity.h1609 int (*task_setpgid) (struct task_struct *p, pid_t pgid);
1888 int security_task_setpgid(struct task_struct *p, pid_t pgid);
2456 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
Dsyscalls.h244 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmain.c1822 union ib_gid *pgid; in mlx4_ib_get_dev_addr() local
1851 pgid = (union ib_gid *)&ifp->addr; in mlx4_ib_get_dev_addr()
1852 if (!memcmp(pgid, &default_gid, sizeof(*pgid))) in mlx4_ib_get_dev_addr()
1854 update_gid_table(ibdev, port, pgid, 0, 0); in mlx4_ib_get_dev_addr()
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c84 COMPAT_SYSCALL_WRAP2(setpgid, pid_t, pid, pid_t, pgid);
/linux-4.1.27/security/
Dsecurity.c902 int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
904 return security_ops->task_setpgid(p, pgid); in security_task_setpgid()
Dcapability.c442 static int cap_task_setpgid(struct task_struct *p, pid_t pgid) in cap_task_setpgid() argument
/linux-4.1.27/fs/coda/
Dupcall.c54 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_defs_svc.h1367 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/linux-4.1.27/security/smack/
Dsmack_lsm.c1885 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid() argument
/linux-4.1.27/Documentation/filesystems/
Dcoda.txt390 u_short pgid; /* Common to all */
/linux-4.1.27/security/selinux/
Dhooks.c3622 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) in selinux_task_setpgid() argument