/linux-master/security/ |
H A D | security.c | 3307 * security_task_setpgid() - Check if setting the pgid is allowed 3309 * @pgid: new pgid 3312 * @p to @pgid. 3316 int security_task_setpgid(struct task_struct *p, pid_t pgid) argument 3318 return call_int_hook(task_setpgid, p, pgid); 3322 * security_task_getpgid() - Check if getting the pgid is allowed
|
/linux-master/kernel/ |
H A D | sys.c | 1073 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) 1082 if (!pgid) 1083 pgid = pid; 1084 if (pgid < 0) 1120 if (pgid != pid) { 1123 pgrp = find_vpid(pgid); 1129 err = security_task_setpgid(p, pgid);
|
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 141 s32 pgid; member in struct:fastrpc_mmap_req_msg 148 s32 pgid; member in struct:fastrpc_mem_map_req_msg 158 s32 pgid; member in struct:fastrpc_munmap_req_msg 164 s32 pgid; member in struct:fastrpc_mem_unmap_req_msg 1242 int pgid; member in struct:__anon171 1295 inbuf.pgid = fl->tgid; 1364 int pgid; member in struct:__anon172 1396 inbuf.pgid = fl->tgid; 1800 req_msg.pgid = fl->tgid; 1886 req_msg.pgid [all...] |
/linux-master/drivers/s390/cio/ |
H A D | device_pgid.c | 140 struct pgid *pgid = &cdev->private->dma_area->pgid[i]; local 142 pgid->inf.fc = fn; 144 cp->cda = virt_to_dma32(pgid); 145 cp->count = sizeof(*pgid); 281 static int pgid_is_reset(struct pgid *p) 292 static int pgid_cmp(struct pgid *p1, struct pgid *p2) 295 sizeof(struct pgid) 304 struct pgid *pgid = &cdev->private->dma_area->pgid[0]; local 336 struct pgid *pgid; local 367 pgid_fill(struct ccw_device *cdev, struct pgid *pgid) argument 383 struct pgid *pgid; local [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_eckd.c | 6090 seq_printf(m, "pgid %*phN\n", 11, entry->pgid);
|
/linux-master/security/smack/ |
H A D | smack_lsm.c | 2183 * smack_task_setpgid - Smack check on setting pgid 2185 * @pgid: unused 2189 static int smack_task_setpgid(struct task_struct *p, pid_t pgid) argument
|
/linux-master/security/selinux/ |
H A D | hooks.c | 4145 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) argument
|
/linux-master/include/linux/ |
H A D | syscalls.h | 680 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
|
H A D | security.h | 448 int security_task_setpgid(struct task_struct *p, pid_t pgid); 1210 static inline int security_task_setpgid(struct task_struct *p, pid_t pgid) argument
|
H A D | lsm_hook_defs.h | 230 LSM_HOOK(int, 0, task_setpgid, struct task_struct *p, pid_t pgid)
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_dev.h | 365 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order); 366 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order);
|
H A D | ionic_dev.c | 586 int ionic_get_cmb(struct ionic_lif *lif, u32 *pgid, phys_addr_t *pgaddr, int order) argument 598 *pgid = ret; 604 void ionic_put_cmb(struct ionic_lif *lif, u32 pgid, int order) argument 609 bitmap_release_region(idev->cmb_inuse, pgid, order);
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 1800 struct ocelot_pgid *pgid; local 1802 pgid = kzalloc(sizeof(*pgid), GFP_KERNEL); 1803 if (!pgid) 1806 pgid->ports = ports; 1807 pgid->index = index; 1808 refcount_set(&pgid->refcount, 1); 1809 list_add_tail(&pgid->list, &ocelot->pgids); 1811 return pgid; 1814 static void ocelot_pgid_free(struct ocelot *ocelot, struct ocelot_pgid *pgid) argument 1826 struct ocelot_pgid *pgid; local 1887 struct ocelot_pgid *pgid; local 1944 struct ocelot_pgid *pgid; local 2149 struct ocelot_pgid *pgid; local [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 396 * @pgid: the corresponding traffic class 401 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, argument 411 if (pgid >= I40E_MAX_TRAFFIC_CLASS) 414 pf->tmp_cfg.etscfg.tcbwtable[pgid] = bw_pct; 416 pgid, bw_pct); 424 * @pgid: the BW group id the traffic class belongs to 434 u8 __always_unused pgid, 446 * @pgid: the corresponding traffic class 452 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, argument 465 * @pgid 431 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) argument 471 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) argument 499 i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 529 i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 555 i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, u8 *bw_pct) argument [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_tm.c | 776 hdev->tm_info.tc_info[i].pgid = 0; 1193 &hdev->tm_info.pg_info[hdev->tm_info.tc_info[i].pgid]; 1232 pg_info = &hdev->tm_info.pg_info[hdev->tm_info.tc_info[i].pgid];
|
H A D | hclge_main.h | 357 u8 pgid; member in struct:hclge_tc_info
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_mactable.c | 80 int sparx5_mact_learn(struct sparx5 *sparx5, int pgid, argument 85 if (pgid < SPX5_PORTS) { 87 addr = pgid % 32; 88 addr += (pgid / 32) << 5; /* Add upsid */ 91 addr = pgid - SPX5_PORTS;
|
H A D | sparx5_main.h | 348 void sparx5_pgid_update_mask(struct sparx5_port *port, int pgid, bool enable); 349 void sparx5_pgid_clear(struct sparx5 *spx5, int pgid); 350 void sparx5_pgid_read_mask(struct sparx5 *sparx5, int pgid, u32 portmask[3]);
|
/linux-master/fs/proc/ |
H A D | array.c | 475 pid_t ppid = 0, pgid = -1, sid = -1; local 535 pgid = task_pgrp_nr_ns(task, ns); 595 seq_put_decimal_ll(m, " ", pgid);
|
/linux-master/net/ceph/ |
H A D | osd_client.c | 466 dest->pgid = src->pgid; /* struct */ 1610 struct ceph_pg pgid, last_pgid; local 1657 __ceph_object_locator_to_pg(pi, &t->target_oid, &t->target_oloc, &pgid); 1658 last_pgid.pool = pgid.pool; 1659 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); 1661 ceph_pg_to_up_acting_osds(osdc->osdmap, pi, &pgid, &up, &acting); 1684 legacy_change = ceph_pg_compare(&t->pgid, &pgid) || 1691 t->pgid 2132 encode_pgid(void **p, const struct ceph_pg *pgid) argument 2261 struct ceph_pg pgid; local 3673 struct ceph_pg pgid; member in struct:MOSDOpReply [all...] |
/linux-master/include/linux/ceph/ |
H A D | osd_client.h | 214 struct ceph_pg pgid; /* last raw pg we mapped to */ member in struct:ceph_osd_request_target
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 428 * @pgid: the BW group ID the traffic class belongs to 434 u8 __always_unused *prio_type, u8 *pgid, 448 *pgid = pi->qos_cfg.local_dcbx_cfg.etscfg.prio_table[prio]; 450 *pgid); local 498 * @pgid: corresponding traffic class 502 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) argument 511 if (pgid >= ICE_MAX_TRAFFIC_CLASS) 514 *bw_pct = pi->qos_cfg.local_dcbx_cfg.etscfg.tcbwtable[pgid]; 516 pgid, *bw_pct); local 522 * @pgid 433 ice_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) argument 526 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) argument 558 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) argument 588 ice_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) argument 607 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) argument 628 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) argument [all...] |
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 996 * int setpgid(pid_t pid, pid_t pgid); 1000 int sys_setpgid(pid_t pid, pid_t pgid) argument 1002 return my_syscall2(__NR_setpgid, pid, pgid); 1006 int setpgid(pid_t pid, pid_t pgid) argument 1008 return __sysret(sys_setpgid(pid, pgid));
|
/linux-master/fs/ceph/ |
H A D | ioctl.c | 191 struct ceph_pg pgid; local 216 r = ceph_object_locator_to_pg(osdc->osdmap, &oid, &oloc, &pgid); 224 dl.osd = ceph_pg_to_acting_primary(osdc->osdmap, &pgid);
|
/linux-master/include/soc/mscc/ |
H A D | ocelot.h | 73 #define for_each_unicast_dest_pgid(ocelot, pgid) \ 74 for ((pgid) = 0; \ 75 (pgid) < (ocelot)->num_phys_ports; \ 76 (pgid)++) 78 #define for_each_nonreserved_multicast_dest_pgid(ocelot, pgid) \ 79 for ((pgid) = (ocelot)->num_phys_ports + 1; \ 80 (pgid) < PGID_BLACKHOLE; \ 81 (pgid)++) 83 #define for_each_aggr_pgid(ocelot, pgid) \ 84 for ((pgid) [all...] |