Searched refs:grl (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 73 static int cache_check(char *host, char **grl, int grc, int *belong); 74 static void cache_enter(char *host, char **grl, int grc, int belong); 104 char **grl; in netgroup_check() local 130 grl = calloc(grc, sizeof (char *)); in netgroup_check() 131 if (grl == NULL) in netgroup_check() 151 grl[n] = response ? gr : gr + 1; in netgroup_check() 161 if (!cache_check(host0, grl, n, &belong)) { in netgroup_check() 165 if (__multi_innetgr(n, grl, in netgroup_check() 172 cache_enter(host0, grl, n, belong); in netgroup_check() 176 free(grl); in netgroup_check() [all …]
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 554 char **grl; in smb_netgroup_match() local 583 grl = calloc(grc, sizeof (char *)); in smb_netgroup_match() 584 if (grl == NULL) in smb_netgroup_match() 604 grl[n] = response ? gr : gr + 1; in smb_netgroup_match() 613 if (__multi_innetgr(n, grl, 1, &host, 0, NULL, in smb_netgroup_match() 619 free(grl); in smb_netgroup_match()
|