Lines Matching refs:gids
320 cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) in nfsauth4_access() argument
324 access = nfsauth_access(exi, req, cr, uid, gid, ngids, gids); in nfsauth4_access()
668 gid_t *gids; in nfsauth_refresh_thread() local
738 p->auth_clnt_cred, &uid, &gid, &ngids, &gids); in nfsauth_refresh_thread()
751 kmem_free(gids, ngids * sizeof (gid_t)); in nfsauth_refresh_thread()
767 p->auth_srv_gids = gids; in nfsauth_refresh_thread()
856 cred_t *cr, uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) in nfsauth_cache_get() argument
1054 if (ngids != NULL && gids != NULL) { in nfsauth_cache_get()
1056 *gids = tmpgids; in nfsauth_cache_get()
1065 bcopy(*gids, tmpgids, in nfsauth_cache_get()
1098 if (ngids != NULL && gids != NULL) { in nfsauth_cache_get()
1101 *gids = kmem_alloc(sz, KM_SLEEP); in nfsauth_cache_get()
1102 bcopy(p->auth_srv_gids, *gids, sz); in nfsauth_cache_get()
1104 *gids = NULL; in nfsauth_cache_get()
1219 if (ngids != NULL && gids != NULL) { in nfsauth_cache_get()
1221 *gids = tmpgids; in nfsauth_cache_get()
1265 uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) in nfsauth_access() argument
1290 if (gids != NULL) in nfsauth_access()
1291 *gids = NULL; in nfsauth_access()
1363 access = nfsauth_cache_get(exi, req, flavor, cr, uid, gid, ngids, gids); in nfsauth_access()
1370 if (ngids != NULL && gids != NULL) { in nfsauth_access()
1371 kmem_free(*gids, *ngids * sizeof (gid_t)); in nfsauth_access()
1373 *gids = NULL; in nfsauth_access()