Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/s390/cio/
Ddevice_pgid.c125 struct pgid *pgid = &cdev->private->pgid[i]; in spid_build_cp() local
127 pgid->inf.fc = fn; in spid_build_cp()
129 cp->cda = (u32) (addr_t) pgid; in spid_build_cp()
130 cp->count = sizeof(*pgid); in spid_build_cp()
216 static int pgid_is_reset(struct pgid *p) in pgid_is_reset()
227 static int pgid_cmp(struct pgid *p1, struct pgid *p2) in pgid_cmp()
230 sizeof(struct pgid) - 1); in pgid_cmp()
236 static void pgid_analyze(struct ccw_device *cdev, struct pgid **p, in pgid_analyze()
239 struct pgid *pgid = &cdev->private->pgid[0]; in pgid_analyze() local
240 struct pgid *first = NULL; in pgid_analyze()
[all …]
Dcss.h48 struct pgid { struct
123 struct pgid global_pgid;
Dio_sch.h150 struct pgid pgid[8]; /* path group IDs per chpid*/ member
/linux-2.6.39/net/ceph/
Dosdmap.c345 c = pgid_cmp(new->pgid, pg->pgid); in __insert_pg_mapping()
360 struct ceph_pg pgid) in __lookup_pg_mapping() argument
368 c = pgid_cmp(pgid, pg->pgid); in __lookup_pg_mapping()
651 struct ceph_pg pgid; in osdmap_decode() local
655 ceph_decode_copy(p, &pgid, sizeof(pgid)); in osdmap_decode()
662 pg->pgid = pgid; in osdmap_decode()
670 dout(" added pg_temp %llx len %d\n", *(u64 *)&pgid, len); in osdmap_decode()
864 struct ceph_pg pgid; in osdmap_apply_incremental() local
867 ceph_decode_copy(p, &pgid, sizeof(pgid)); in osdmap_apply_incremental()
872 node)->pgid, pgid) <= 0) { in osdmap_apply_incremental()
[all …]
Dosd_client.c937 struct ceph_pg pgid; in __map_request() local
949 pgid = reqhead->layout.ol_pgid; in __map_request()
950 req->r_pgid = pgid; in __map_request()
952 err = ceph_calc_pg_acting(osdc->osdmap, pgid, acting); in __map_request()
966 req->r_tid, le32_to_cpu(pgid.pool), le16_to_cpu(pgid.ps), o, in __map_request()
/linux-2.6.39/include/linux/ceph/
Dosdmap.h31 struct ceph_pg pgid; member
123 extern int ceph_calc_pg_acting(struct ceph_osdmap *osdmap, struct ceph_pg pgid,
126 struct ceph_pg pgid);
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_dcb.c1632 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_tx() argument
1637 DP(NETIF_MSG_LINK, "prio[%d] = %d\n", prio, pgid); in bnx2x_dcbnl_set_pg_tccfg_tx()
1654 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; in bnx2x_dcbnl_set_pg_tccfg_tx()
1659 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_tx() argument
1662 DP(NETIF_MSG_LINK, "pgid[%d] = %d\n", pgid, bw_pct); in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1664 if (!bnx2x_dcbnl_set_valid(bp) || pgid >= DCBX_MAX_NUM_PG_BW_ENTRIES) in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1667 bp->dcbx_config_params.admin_configuration_bw_precentage[pgid] = bw_pct; in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1672 u8 prio_type, u8 pgid, u8 bw_pct, in bnx2x_dcbnl_set_pg_tccfg_rx() argument
1680 int pgid, u8 bw_pct) in bnx2x_dcbnl_set_pg_bwgcfg_rx() argument
1687 u8 *prio_type, u8 *pgid, u8 *bw_pct, in bnx2x_dcbnl_get_pg_tccfg_tx() argument
[all …]
/linux-2.6.39/fs/ceph/
Dioctl.c170 struct ceph_pg pgid; in ceph_ioctl_get_dataloc() local
192 pgid = ol.ol_pgid; in ceph_ioctl_get_dataloc()
193 dl.osd = ceph_calc_pg_primary(osdc->osdmap, pgid); in ceph_ioctl_get_dataloc()
/linux-2.6.39/fs/proc/
Darray.c368 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
438 pgid = task_pgrp_nr_ns(task, ns); in do_task_stat()
472 pgid, in do_task_stat()
/linux-2.6.39/net/dcb/
Ddcbnl.c718 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local
770 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg()
779 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
784 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg()
790 DCB_TC_ATTR_PARAM_PGID, pgid); in __dcbnl_pg_getcfg()
948 u8 pgid; in __dcbnl_pg_setcfg() local
974 pgid = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg()
984 pgid = nla_get_u8(param_tb[DCB_TC_ATTR_PARAM_PGID]); in __dcbnl_pg_setcfg()
998 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
1003 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg()
/linux-2.6.39/kernel/
Dsys.c948 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
957 if (!pgid) in SYSCALL_DEFINE2()
958 pgid = pid; in SYSCALL_DEFINE2()
959 if (pgid < 0) in SYSCALL_DEFINE2()
995 if (pgid != pid) { in SYSCALL_DEFINE2()
998 pgrp = find_vpid(pgid); in SYSCALL_DEFINE2()
1004 err = security_task_setpgid(p, pgid); in SYSCALL_DEFINE2()
/linux-2.6.39/arch/s390/include/asm/
Ddasd.h233 __u8 pgid[11]; member
/linux-2.6.39/drivers/net/bna/
Dbfa_defs_cna.h167 u8 pgid[BFA_CEE_DCBX_MAX_PRIORITY]; member
/linux-2.6.39/arch/powerpc/kernel/
Dsys_ppc32.c467 asmlinkage long compat_sys_setpgid(u32 pid, u32 pgid) in compat_sys_setpgid() argument
469 return sys_setpgid((int)pid, (int)pgid); in compat_sys_setpgid()
/linux-2.6.39/include/linux/
Dcoda.h301 pid_t pgid; member
Dsecurity.h1508 int (*task_setpgid) (struct task_struct *p, pid_t pgid);
1765 int security_task_setpgid(struct task_struct *p, pid_t pgid);
2308 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
Dsyscalls.h287 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
/linux-2.6.39/security/
Dsecurity.c746 int security_task_setpgid(struct task_struct *p, pid_t pgid) in security_task_setpgid() argument
748 return security_ops->task_setpgid(p, pgid); in security_task_setpgid()
Dcapability.c395 static int cap_task_setpgid(struct task_struct *p, pid_t pgid) in cap_task_setpgid() argument
/linux-2.6.39/fs/coda/
Dupcall.c55 inp->ih.pgid = task_pgrp_nr(current); in alloc_upcall()
/linux-2.6.39/security/smack/
Dsmack_lsm.c1471 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) in smack_task_setpgid() argument
/linux-2.6.39/Documentation/filesystems/
Dcoda.txt390 u_short pgid; /* Common to all */
/linux-2.6.39/security/selinux/
Dhooks.c3342 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) in selinux_task_setpgid() argument