Lines Matching refs:group
40 struct group * grp, char *buffer,
42 static enum nss_status (*getgrgid_r_impl) (gid_t gid, struct group * grp,
46 static enum nss_status (*getgrent_r_impl) (struct group * grp, char *buffer,
56 #define STRUCTURE group
205 check_and_add_group (const char *user, gid_t group, long int *start, in check_and_add_group() argument
207 struct group *grp) in check_and_add_group()
212 if (grp->gr_gid == group) in check_and_add_group()
229 gid_t group, long int *start, long int *size, in getgrent_next_nss() argument
233 struct group grpbuf; in getgrent_next_nss()
254 if (initgroups_dyn_impl (user, group, &mystart, &mysize, &mygroups, in getgrent_next_nss()
308 && check_and_add_group (user, group, start, size, in getgrent_next_nss()
351 check_and_add_group (user, group, start, size, groupsp, limit, &grpbuf); in getgrent_next_nss()
358 gid_t group, long int *start, long int *size, in internal_getgrent_r() argument
362 struct group grpbuf; in internal_getgrent_r()
365 return getgrent_next_nss (ent, buffer, buflen, user, group, in internal_getgrent_r()
442 check_and_add_group (user, group, start, size, groupsp, in internal_getgrent_r()
469 return getgrent_next_nss (ent, buffer, buflen, user, group, in internal_getgrent_r()
474 check_and_add_group (user, group, start, size, groupsp, limit, &grpbuf); in internal_getgrent_r()
481 _nss_compat_initgroups_dyn (const char *user, gid_t group, long int *start, in _nss_compat_initgroups_dyn() argument
498 user, group, start, size, in _nss_compat_initgroups_dyn()