Lines Matching refs:ngids
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()
667 uint_t ngids; 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()
766 p->auth_srv_ngids = ngids; 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()
1055 *ngids = tmpngids; in nfsauth_cache_get()
1098 if (ngids != NULL && gids != NULL) { in nfsauth_cache_get()
1099 if ((*ngids = p->auth_srv_ngids) != 0) { in nfsauth_cache_get()
1100 size_t sz = *ngids * sizeof (gid_t); in nfsauth_cache_get()
1219 if (ngids != NULL && gids != NULL) { in nfsauth_cache_get()
1220 *ngids = tmpngids; in nfsauth_cache_get()
1265 uid_t *uid, gid_t *gid, uint_t *ngids, gid_t **gids) in nfsauth_access() argument
1288 if (ngids != NULL) in nfsauth_access()
1289 *ngids = 0; 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()
1372 *ngids = 0; in nfsauth_access()