Searched refs:pgid (Results 1 - 25 of 54) sorted by last modified time

123

/linux-master/security/
H A Dsecurity.c3307 * 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 Dsys.c1073 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 Dfastrpc.c141 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 Ddevice_pgid.c140 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 Ddasd_eckd.c6090 seq_printf(m, "pgid %*phN\n", 11, entry->pgid);
/linux-master/security/smack/
H A Dsmack_lsm.c2183 * 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 Dhooks.c4145 static int selinux_task_setpgid(struct task_struct *p, pid_t pgid) argument
/linux-master/include/linux/
H A Dsyscalls.h680 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
H A Dsecurity.h448 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 Dlsm_hook_defs.h230 LSM_HOOK(int, 0, task_setpgid, struct task_struct *p, pid_t pgid)
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.h365 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 Dionic_dev.c586 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 Docelot.c1800 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 Di40e_dcb_nl.c396 * @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 Dhclge_tm.c776 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 Dhclge_main.h357 u8 pgid; member in struct:hclge_tc_info
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mactable.c80 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 Dsparx5_main.h348 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 Darray.c475 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 Dosd_client.c466 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 Dosd_client.h214 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 Dice_dcb_nl.c428 * @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 Dsys.h996 * 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 Dioctl.c191 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 Docelot.h73 #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...]

Completed in 613 milliseconds

123