Lines Matching +defs:file +defs:exists +defs:p

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
857 * Reference to an include file encountered during loading
1363 REQUIRE(zone->rpz_num < zone->rpzs->p.num_zones);
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");
4399 * Write all transactions in 'diff' to the zone journal file.
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
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. */
9023 /* Write changes to journal file. */
9819 * Write changes to journal file.
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.
13091 * SOA received from primary, sync database to file, restart
13807 * Get the EDNS EXPIRE option from the response and if it exists trim
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",
14652 * If a db exists we will update it, otherwise we create a
16467 "corrupt journal file: '%s'\n",
16884 * exists use its value provided it is greater
17725 "removing journal file");
17988 "transfer: could not set file "
18427 "no database exists yet, requesting AXFR of "
19072 /* Key file I/O locks. */
19491 "renaming file to '%s' for failure analysis and "
22262 * if it exists. Otherwise update the DNSKEY ttl if
22391 "import new skr file");
23544 /* Write changes to journal file. */
23737 bool exists = false;
23781 * Success because the NSEC3PARAM already exists, but
23828 exists = true;
23854 exists = true;
23868 if (!exists && np->replace && (np->length != 0 || np->nsec)) {
23873 if (!exists && np->length != 0) {
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);