Lines Matching refs:belong
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);
110 int belong = 0; in netgroup_check() local
134 for (i = 0, gr = glist; i < grc && !belong; ) { in netgroup_check()
161 if (!cache_check(host0, grl, n, &belong)) { in netgroup_check()
162 for (j = 0; j < nhosts && !belong; j++) { in netgroup_check()
169 belong = 1; in netgroup_check()
172 cache_enter(host0, grl, n, belong); in netgroup_check()
177 return (belong ? response : 0); in netgroup_check()
219 cache_check(char *host, char **grl, int grc, int *belong) in cache_check() argument
269 *belong = ce->cache_belong; in cache_check()
286 cache_enter(char *host, char **grl, int grc, int belong) in cache_enter() argument
303 entry->cache_belong = belong; in cache_enter()