Lines Matching +defs:find +defs:file

10  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
12 * See the COPYRIGHT file distributed with this work for additional
16 /*! \file */
24 #include <isc/file.h>
237 * Hold key file IO locks.
570 DNS_ZONEFLG_HASINCLUDE = 0x00000010U, /*%< $INCLUDE in zone file */
579 DNS_ZONEFLG_FIXJOURNAL = 0x00000800U, /*%< journal file had
696 dns_adbfind_t *find;
721 dns_adbfind_t *find;
857 * Reference to an include file encountered during loading
1782 dns_zone_setfile(dns_zone_t *zone, const char *file, dns_masterformat_t format,
1790 result = dns_zone_setstring(zone, &zone->masterfile, file);
1900 * master file (if any) is written by the server, rather than being
2138 * Assuming the raw zone file is readable, there are two
2143 * subsequent attempt to load the signed zone file will
2185 * The zone has no master file configured.
2208 * file changes between the time of the load and the time that
2209 * zone->loadtime is set, then the file will still be reloaded
2215 * Don't do the load if the file that stores the zone is older
2223 * The file is already loaded. If we are just doing a
2238 "skipping load: master file "
2245 * If the file modification time is in the past
2345 "no master file");
2379 "no master file configured");
2385 "no master file configured: continuing");
3967 * For non-dynamic zones we only need to find a supported
4399 * Write all transactions in 'diff' to the zone journal file.
4580 * Walk the zone DB. If we find any keys whose names are no longer
4652 * Walk secroots to find any initial keys that aren't in
4653 * the zone. If we find any, add them to the zone directly.
4666 /* Write changes to journal file. */
4820 "no master file");
4824 "loading from master file %s "
4834 "no master file, requesting db");
4844 "loading from master file %s failed: %s",
4866 * If there's no master file for a key zone, then the zone is new:
4868 * if there happens to be a journal file, we can roll forward from
4901 "could not find NS and/or SOA records");
4916 * journal file if it isn't, as we wouldn't be able to apply
4941 "journal file is out of date: "
4942 "removing journal file");
6252 /* Corrupted .key file? */
6260 * If the key was revoked and the private file
6285 sizeof("key file for //65535")];
6305 "key file for %s/%s/%d", namebuf,
7284 /* Write changes to journal file. */
8411 * by a delegation or a DNAME, nodes are skipped over until we find one
9023 /* Write changes to journal file. */
9819 * Write changes to journal file.
10413 * First scan keydataset to find keys that are not in dnskeyset
10456 * automatically trust all the keys we find at the zone apex.
10804 /* Write changes to journal file. */
11129 * (e.g. because of a syntax failure in the config file)?
11564 "no journal file, but that's OK ");
11767 * Adjust modification time of zone file to preserve expire timing.
12099 if (notify->find != NULL) {
12100 dns_adb_cancelfind(notify->find);
12121 if (checkds->find != NULL) {
12122 dns_adb_cancelfind(checkds->find);
12368 if (notify->find != NULL) {
12369 dns_adb_destroyfind(&notify->find);
12414 dns_adbfind_t *find = (dns_adbfind_t *)arg;
12415 dns_notify_t *notify = (dns_notify_t *)find->cbarg;
12416 dns_adbstatus_t astat = find->status;
12419 REQUIRE(find == notify->find);
12423 dns_adb_destroyfind(&notify->find);
12464 notify->zone->view->dstport, 0, NULL, &notify->find);
12473 if ((notify->find->options & DNS_ADBFIND_WANTEVENT) != 0) {
12693 for (ai = ISC_LIST_HEAD(notify->find->list); ai != NULL;
13091 * SOA received from primary, sync database to file, restart
13856 * Set the file modification time zone->expire seconds before expiretime.
13884 * Someone removed the file from underneath us!
13891 "file modification time of '%s': %s",
14423 ISC_LOG_ERROR, "unable to find key: %s",
14436 "unable to find TSIG key for %s", addrbuf);
14451 "unable to find TLS configuration: %s",
14738 "unable to find key: %s", namebuf);
16467 "corrupt journal file: '%s'\n",
17725 "removing journal file");
17988 "transfer: could not set file "
19072 /* Key file I/O locks. */
19491 "renaming file to '%s' for failure analysis and "
20812 if (checkds->find != NULL) {
20813 dns_adb_destroyfind(&checkds->find);
21259 dns_adbfind_t *find = (dns_adbfind_t *)arg;
21260 dns_checkds_t *checkds = (dns_checkds_t *)find->cbarg;
21261 dns_adbstatus_t astat = find->status;
21264 REQUIRE(find == checkds->find);
21268 dns_adb_destroyfind(&checkds->find);
21309 checkds->zone->view->dstport, 0, NULL, &checkds->find);
21318 if ((checkds->find->options & DNS_ADBFIND_WANTEVENT) != 0) {
21498 for (ai = ISC_LIST_HEAD(checkds->find->list); ai != NULL;
22391 "import new skr file");
23544 /* Write changes to journal file. */
23901 * If we changed anything in the zone, write changes to journal file
24416 /* Write changes to journal file. */
24641 dns_zone_import_skr(dns_zone_t *zone, const char *file) {
24647 REQUIRE(file != NULL);
24649 dns_skr_create(zone->mctx, file, &zone->origin, zone->rdclass, &skr);
24651 CHECK(dns_skr_read(zone->mctx, file, &zone->origin, zone->rdclass,
24655 dnssec_log(zone, ISC_LOG_DEBUG(1), "imported skr file %s", file);