Lines Matching refs:inc
2319 dns_include_t *inc = NULL;
2329 for (inc = ISC_LIST_HEAD(zone->newincludes);
2330 inc != NULL;
2331 inc = ISC_LIST_NEXT(inc, link))
2332 if (strcmp(filename, inc->name) == 0)
2335 inc = isc_mem_get(zone->mctx, sizeof(dns_include_t));
2336 if (inc == NULL)
2338 inc->name = isc_mem_strdup(zone->mctx, filename);
2339 if (inc->name == NULL) {
2340 isc_mem_put(zone->mctx, inc, sizeof(dns_include_t));
2343 ISC_LINK_INIT(inc, link);
2345 result = isc_file_getmodtime(filename, &inc->filetime);
2347 isc_time_settoepoch(&inc->filetime);
2349 ISC_LIST_APPEND(zone->newincludes, inc, link);
4434 dns_include_t *inc;
4863 for (inc = ISC_LIST_HEAD(zone->includes);
4864 inc != NULL;
4865 inc = ISC_LIST_HEAD(zone->includes)) {
4866 ISC_LIST_UNLINK(zone->includes, inc, link);
4867 isc_mem_free(zone->mctx, inc->name);
4868 isc_mem_put(zone->mctx, inc, sizeof(*inc));
4875 for (inc = ISC_LIST_HEAD(zone->newincludes);
4876 inc != NULL;
4877 inc = ISC_LIST_HEAD(zone->newincludes)) {
4878 ISC_LIST_UNLINK(zone->newincludes, inc, link);
4879 ISC_LIST_APPEND(zone->includes, inc, link);
4892 for (inc = ISC_LIST_HEAD(zone->newincludes);
4893 inc != NULL;
4894 inc = ISC_LIST_HEAD(zone->newincludes)) {
4895 ISC_LIST_UNLINK(zone->newincludes, inc, link);
4896 isc_mem_free(zone->mctx, inc->name);
4897 isc_mem_put(zone->mctx, inc, sizeof(*inc));