/linux-4.1.27/kernel/ |
H A D | groups.c | 64 static int groups_to_user(gid_t __user *grouplist, groups_to_user() argument 74 if (put_user(gid, grouplist+i)) groups_to_user() 82 gid_t __user *grouplist) groups_from_user() 91 if (get_user(gid, grouplist+i)) groups_from_user() 190 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2() 205 if (groups_to_user(grouplist, cred->group_info)) { SYSCALL_DEFINE2() 227 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2() 240 retval = groups_from_user(group_info, grouplist); SYSCALL_DEFINE2() 81 groups_from_user(struct group_info *group_info, gid_t __user *grouplist) groups_from_user() argument
|
H A D | uid16.c | 111 static int groups16_to_user(old_gid_t __user *grouplist, groups16_to_user() argument 122 if (put_user(group, grouplist+i)) groups16_to_user() 130 old_gid_t __user *grouplist) groups16_from_user() 138 if (get_user(group, grouplist+i)) groups16_from_user() 151 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2() 165 if (groups16_to_user(grouplist, cred->group_info)) { SYSCALL_DEFINE2() 174 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2() 187 retval = groups16_from_user(group_info, grouplist); SYSCALL_DEFINE2() 129 groups16_from_user(struct group_info *group_info, old_gid_t __user *grouplist) groups16_from_user() argument
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_linux.c | 184 static int groups16_to_user(u16 __user *grouplist, struct group_info *group_info) groups16_to_user() argument 194 if (put_user(group, grouplist+i)) groups16_to_user() 201 static int groups16_from_user(struct group_info *group_info, u16 __user *grouplist) groups16_from_user() argument 209 if (get_user(group, grouplist+i)) groups16_from_user() 222 COMPAT_SYSCALL_DEFINE2(s390_getgroups16, int, gidsetsize, u16 __user *, grouplist) COMPAT_SYSCALL_DEFINE2() 237 if (groups16_to_user(grouplist, cred->group_info)) { COMPAT_SYSCALL_DEFINE2() 247 COMPAT_SYSCALL_DEFINE2(s390_setgroups16, int, gidsetsize, u16 __user *, grouplist) COMPAT_SYSCALL_DEFINE2() 260 retval = groups16_from_user(group_info, grouplist); COMPAT_SYSCALL_DEFINE2()
|
H A D | compat_linux.h | 103 long compat_sys_s390_getgroups16(int gidsetsize, u16 __user *grouplist); 104 long compat_sys_s390_setgroups16(int gidsetsize, u16 __user *grouplist);
|
H A D | compat_wrapper.c | 136 COMPAT_SYSCALL_WRAP2(getgroups, int, gidsetsize, gid_t __user *, grouplist); 137 COMPAT_SYSCALL_WRAP2(setgroups, int, gidsetsize, gid_t __user *, grouplist);
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_alias.c | 84 if (list_empty(&lcu->grouplist)) _find_group() 87 return list_first_entry(&lcu->grouplist, _find_group() 96 list_for_each_entry(pos, &lcu->grouplist, group) { _find_group() 152 INIT_LIST_HEAD(&lcu->grouplist); _allocate_lcu() 288 if (list_empty(&lcu->grouplist) && dasd_alias_disconnect_device_from_lcu() 360 list_add(&group->group, &lcu->grouplist); _add_device_to_lcu() 486 list_for_each_entry_safe(pavgroup, tempgroup, &lcu->grouplist, group) { _lcu_update() 580 if (!usedev && !list_empty(&lcu->grouplist)) { _schedule_lcu_update() 581 group = list_first_entry(&lcu->grouplist, _schedule_lcu_update() 783 list_for_each_entry(pavgroup, &lcu->grouplist, group) { _restart_all_base_devices_on_lcu() 820 list_for_each_entry(pavgroup, &lcu->grouplist, group) { flush_all_alias_devices_on_lcu() 867 list_for_each_entry(pavgroup, &lcu->grouplist, group) { _stop_all_devices_on_lcu() 893 list_for_each_entry(pavgroup, &lcu->grouplist, group) { _unstop_all_devices_on_lcu()
|
H A D | dasd_eckd.h | 476 struct list_head grouplist; member in struct:alias_lcu
|
H A D | dasd_eckd.c | 4683 &private->lcu->grouplist, group) { dasd_eckd_cuir_quiesce() 4742 &private->lcu->grouplist, dasd_eckd_cuir_resume()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
H A D | gss_rpc_xdr.h | 245 /* grouplist not included; we allocate separate pages for that: */
|
/linux-4.1.27/include/linux/ |
H A D | syscalls.h | 234 asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist); 246 asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist); 545 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist); 546 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist);
|