Searched refs:gidsetsize (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/kernel/ |
H A D | groups.c | 12 struct group_info *groups_alloc(int gidsetsize) groups_alloc() argument 18 nblocks = (gidsetsize + NGROUPS_PER_BLOCK - 1) / NGROUPS_PER_BLOCK; groups_alloc() 24 group_info->ngroups = gidsetsize; groups_alloc() 28 if (gidsetsize <= NGROUPS_SMALL) groups_alloc() 107 int gidsetsize = group_info->ngroups; groups_sort() local 109 for (stride = 1; stride < gidsetsize; stride = 3 * stride + 1) groups_sort() 114 max = gidsetsize - stride; groups_sort() 190 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2() 195 if (gidsetsize < 0) SYSCALL_DEFINE2() 200 if (gidsetsize) { SYSCALL_DEFINE2() 201 if (i > gidsetsize) { SYSCALL_DEFINE2() 227 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) SYSCALL_DEFINE2() 234 if ((unsigned)gidsetsize > NGROUPS_MAX) SYSCALL_DEFINE2() 237 group_info = groups_alloc(gidsetsize); SYSCALL_DEFINE2()
|
H A D | uid16.c | 151 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2() 156 if (gidsetsize < 0) SYSCALL_DEFINE2() 160 if (gidsetsize) { SYSCALL_DEFINE2() 161 if (i > gidsetsize) { SYSCALL_DEFINE2() 174 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) SYSCALL_DEFINE2() 181 if ((unsigned)gidsetsize > NGROUPS_MAX) SYSCALL_DEFINE2() 184 group_info = groups_alloc(gidsetsize); SYSCALL_DEFINE2()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_linux.c | 222 COMPAT_SYSCALL_DEFINE2(s390_getgroups16, int, gidsetsize, u16 __user *, grouplist) COMPAT_SYSCALL_DEFINE2() 227 if (gidsetsize < 0) COMPAT_SYSCALL_DEFINE2() 232 if (gidsetsize) { COMPAT_SYSCALL_DEFINE2() 233 if (i > gidsetsize) { COMPAT_SYSCALL_DEFINE2() 247 COMPAT_SYSCALL_DEFINE2(s390_setgroups16, int, gidsetsize, u16 __user *, grouplist) COMPAT_SYSCALL_DEFINE2() 254 if ((unsigned)gidsetsize > NGROUPS_MAX) COMPAT_SYSCALL_DEFINE2() 257 group_info = groups_alloc(gidsetsize); 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/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);
|
Completed in 207 milliseconds