Home
last modified time | relevance | path

Searched refs:gidsetsize (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dgroups.c15 struct group_info *groups_alloc(int gidsetsize) in groups_alloc() argument
18 gi = kvmalloc(struct_size(gi, gid, gidsetsize), GFP_KERNEL_ACCOUNT); in groups_alloc()
23 gi->ngroups = gidsetsize; in groups_alloc()
161 SYSCALL_DEFINE2(getgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
166 if (gidsetsize < 0) in SYSCALL_DEFINE2()
171 if (gidsetsize) { in SYSCALL_DEFINE2()
172 if (i > gidsetsize) { in SYSCALL_DEFINE2()
198 SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
205 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2()
208 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()
Duid16.c154 SYSCALL_DEFINE2(getgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
159 if (gidsetsize < 0) in SYSCALL_DEFINE2()
163 if (gidsetsize) { in SYSCALL_DEFINE2()
164 if (i > gidsetsize) { in SYSCALL_DEFINE2()
177 SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist) in SYSCALL_DEFINE2() argument
184 if ((unsigned)gidsetsize > NGROUPS_MAX) in SYSCALL_DEFINE2()
187 group_info = groups_alloc(gidsetsize); in SYSCALL_DEFINE2()