Home
last modified time | relevance | path

Searched refs:rgid (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/kernel/
Duid16.c38 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()
Duid16.h8 long __sys_setregid(gid_t rgid, gid_t egid);
10 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
Dsys.c372 long __sys_setregid(gid_t rgid, gid_t egid) in __sys_setregid() argument
380 krgid = make_kgid(ns, rgid); in __sys_setregid()
383 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setregid()
394 if (rgid != (gid_t) -1) { in __sys_setregid()
412 if (rgid != (gid_t) -1 || in __sys_setregid()
428 SYSCALL_DEFINE2(setregid, gid_t, rgid, gid_t, egid) in SYSCALL_DEFINE2() argument
430 return __sys_setregid(rgid, egid); in SYSCALL_DEFINE2()
769 long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in __sys_setresgid() argument
778 krgid = make_kgid(ns, rgid); in __sys_setresgid()
782 if ((rgid != (gid_t) -1) && !gid_valid(krgid)) in __sys_setresgid()
[all …]
/linux-6.6.21/include/net/
Dsmc.h35 u64 rgid; member
56 int (*query_remote_gid)(struct smcd_dev *dev, u64 rgid, u32 vid_valid,
65 int (*signal_event)(struct smcd_dev *dev, u64 rgid, u32 trigger_irq,
/linux-6.6.21/drivers/s390/net/
Dism_drv.c347 cmd.request.rgid = dmb->rgid; in ism_register_dmb()
730 static int ism_query_rgid(struct ism_dev *ism, u64 rgid, u32 vid_valid, in ism_query_rgid() argument
739 cmd.request.rgid = rgid; in ism_query_rgid()
746 static int smcd_query_rgid(struct smcd_dev *smcd, u64 rgid, u32 vid_valid, in smcd_query_rgid() argument
749 return ism_query_rgid(smcd->priv, rgid, vid_valid, vid); in smcd_query_rgid()
783 static int ism_signal_ieq(struct ism_dev *ism, u64 rgid, u32 trigger_irq, in ism_signal_ieq() argument
792 cmd.request.rgid = rgid; in ism_signal_ieq()
800 static int smcd_signal_ieq(struct smcd_dev *smcd, u64 rgid, u32 trigger_irq, in smcd_signal_ieq() argument
803 return ism_signal_ieq(smcd->priv, rgid, trigger_irq, event_code, info); in smcd_signal_ieq()
Dism.h104 u64 rgid; member
121 u64 rgid; member
132 u64 rgid; member
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dah.c62 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-6.6.21/include/uapi/linux/
Dcn_proc.h116 __u32 rgid; /* task gid */ member
/linux-6.6.21/include/linux/
Dism.h16 u64 rgid; member
Dsyscalls.h651 asmlinkage long sys_setregid(gid_t rgid, gid_t egid);
657 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
658 asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid);
1100 asmlinkage long sys_setregid16(old_gid_t rgid, old_gid_t egid);
1107 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid);
1108 asmlinkage long sys_getresgid16(old_gid_t __user *rgid,
/linux-6.6.21/fs/proc/
Dinternal.h134 kuid_t *ruid, kgid_t *rgid);
Dbase.c1818 kuid_t *ruid, kgid_t *rgid) in task_dump_owner() argument
1829 *rgid = GLOBAL_ROOT_GID; in task_dump_owner()
1872 *rgid = gid; in task_dump_owner()
/linux-6.6.21/tools/testing/selftests/connector/
Dproc_filter.c178 event->event_data.id.r.rgid, in handle_packet()
/linux-6.6.21/include/linux/mlx4/
Dqp.h152 u8 rgid[16]; member
/linux-6.6.21/include/linux/mlx5/
Dqp.h331 u8 rgid[16]; member
/linux-6.6.21/net/smc/
Dsmc_ism.c211 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
/linux-6.6.21/drivers/connector/
Dcn_proc.c193 ev->event_data.id.r.rgid = from_kgid_munged(&init_user_ns, cred->gid); in proc_id_connector()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c4584 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-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_qp.c117 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-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c1811 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()