Lines Matching refs:count
147 static void write_resolv_conf_server(DnsServer *s, FILE *f, unsigned *count) {
150 assert(count);
159 if (*count == MAXNS)
161 (*count) ++;
169 unsigned *count,
176 if (*count >= MAXDNSRCH ||
178 if (*count == MAXDNSRCH)
187 (*count) ++;
205 unsigned count = 0;
209 write_resolv_conf_server(s, f, &count);
213 unsigned length = 0, count = 0;
218 write_resolv_conf_search(domain, f, &count, &length);