/linux/kernel/ |
H A D | uid16.c | 38 SYSCALL_DEFINE2(setregid16, old_gid_t, rgid, old_gid_t, egid) in SYSCALL_DEFINE2() argument 40 return __sys_setregid(low2highgid(rgid), low2highgid(egid)); in SYSCALL_DEFINE2() 81 SYSCALL_DEFINE3(setresgid16, old_gid_t, rgid, old_gid_t, egid, old_gid_t, sgid) in SYSCALL_DEFINE3() argument 83 return __sys_setresgid(low2highgid(rgid), low2highgid(egid), in SYSCALL_DEFINE3() 91 old_gid_t rgid, egid, sgid; in SYSCALL_DEFINE3() local 93 rgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->gid)); in SYSCALL_DEFINE3() 97 if (!(retval = put_user(rgid, rgidp)) && in SYSCALL_DEFINE3()
|
H A D | uid16.h | 8 long __sys_setregid(gid_t rgid, gid_t egid); 10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
|
H A D | sys.c | 381 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid() argument 389 krgid = make_kgid(ns, rgid); in __sys_setregid() 392 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid() 403 if (rgid != (gid_t) -1) { in __sys_setregid() 421 if (rgid != (gid_t) -1 || in __sys_setregid() 437 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) in SYSCALL_DEFINE2() argument 439 return __sys_setregid(rgid, egid); in SYSCALL_DEFINE2() 778 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument 787 krgid = make_kgid(ns, rgid); in __sys_setresgid() 791 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid() [all …]
|
/linux/include/net/ |
H A D | smc.h | 32 u64 rgid; member 57 int (*query_remote_gid)(struct smcd_dev *dev, struct smcd_gid *rgid, 75 int (*signal_event)(struct smcd_dev *dev, struct smcd_gid *rgid,
|
/linux/drivers/s390/net/ |
H A D | ism_drv.c | 367 cmd.request.rgid = dmb->rgid; in ism_register_dmb() 725 static int ism_query_rgid(struct ism_dev *ism, u64 rgid, u32 vid_valid, in ism_query_rgid() argument 734 cmd.request.rgid = rgid; in ism_query_rgid() 741 static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_query_rgid() argument 744 return ism_query_rgid(smcd->priv, rgid->gid, vid_valid, vid); in smcd_query_rgid() 778 static int ism_signal_ieq(struct ism_dev *ism, u64 rgid, u32 trigger_irq, in ism_signal_ieq() argument 787 cmd.request.rgid = rgid; in ism_signal_ieq() 795 static int smcd_signal_ieq(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_signal_ieq() argument 798 return ism_signal_ieq(smcd->priv, rgid->gid, in smcd_signal_ieq()
|
H A D | ism.h | 103 u64 rgid; member 120 u64 rgid; member 131 u64 rgid; member
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | ah.c | 62 memcpy(ah->av.rgid, &grh->dgid, 16); in create_ib_ah() 142 rdma_ah_set_dgid_raw(ah_attr, ah->av.rgid); in mlx5_ib_query_ah()
|
/linux/net/smc/ |
H A D | smc_loopback.c | 42 static int smc_lo_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smc_lo_query_rgid() argument 48 if (!ldev || rgid->gid != ldev->local_gid.gid || in smc_lo_query_rgid() 49 rgid->gid_ext != ldev->local_gid.gid_ext) in smc_lo_query_rgid()
|
H A D | smc_ism.c | 241 dmb.rgid = lgr->peer_gid.gid; in smc_ism_register_dmb()
|
/linux/include/linux/ |
H A D | ism.h | 16 u64 rgid; member
|
H A D | syscalls.h | 669 asmlinkage long sys_setregid(gid_t rgid, gid_t egid); 675 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); 676 asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid); 1132 asmlinkage long sys_setregid16(old_gid_t rgid, old_gid_t egid); 1139 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid); 1140 asmlinkage long sys_getresgid16(old_gid_t __user *rgid,
|
/linux/include/uapi/linux/ |
H A D | cn_proc.h | 115 __u32 rgid; /* task gid */ 116 __u32 rgid; /* task gid */ global() member
|
/linux/fs/proc/ |
H A D | internal.h | 135 kuid_t *ruid, kgid_t *rgid);
|
H A D | base.c | 1872 kuid_t *ruid, kgid_t *rgid) in task_dump_owner() argument 1883 *rgid = GLOBAL_ROOT_GID; in task_dump_owner() 1926 *rgid = gid; in task_dump_owner()
|
/linux/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 178 event->event_data.id.r.rgid, in handle_packet()
|
/linux/include/linux/mlx4/ |
H A D | qp.h | 152 u8 rgid[16]; member
|
/linux/include/linux/mlx5/ |
H A D | qp.h | 335 u8 rgid[16]; member
|
/linux/drivers/connector/ |
H A D | cn_proc.c | 193 ev->event_data.id.r.rgid = from_kgid_munged(&init_user_ns, cred->gid); in proc_id_connector()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 4584 struct res_gid *rgid; in detach_qp() local 4588 list_for_each_entry_safe(rgid, tmp, &rqp->mcg_list, list) { in detach_qp() 4591 mlx4_flow_detach(dev, rgid->reg_id); in detach_qp() 4595 (void) mlx4_qp_detach_common(dev, &qp, rgid->gid, in detach_qp() 4596 rgid->prot, rgid->steer); in detach_qp() 4599 list_del(&rgid->list); in detach_qp() 4600 kfree(rgid); in detach_qp()
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 117 u8 rgid[16]; member 426 rdma_ah_set_dgid_raw(ah_attr, path->rgid); in to_rdma_ah_attr() 547 memcpy(path->rgid, grh->dgid.raw, 16); in mthca_path_set()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 1811 memcpy(path->rgid, grh->dgid.raw, 16); in _mlx4_set_path() 4006 rdma_ah_set_dgid_raw(ah_attr, path->rgid); in to_rdma_ah_attr()
|