Lines Matching refs:diff

29 #include <dns/diff.h>
217 * update in 'diff'.
221 * ownership has been transferred to the diff.
225 dns_diff_t *diff)
231 * Create a singleton diff.
233 dns_diff_init(diff->mctx, &temp_diff);
249 dns_diff_appendminimal(diff, tuple);
258 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff,
264 result = dns_difftuple_create(diff->mctx, op,
268 return (do_one_tuple(&tuple, db, ver, diff));
641 dns_diff_t *diff;
678 result = update_one_rr(ctx->db, ctx->ver, ctx->diff,
692 * deletions in 'diff'.
697 dns_rdata_t *update_rr, dns_diff_t *diff)
703 ctx.diff = diff;
971 * Add a NSEC record for "name", recording the change in "diff".
977 dns_diff_t *diff)
1007 NULL, diff));
1011 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD, name,
1013 CHECK(do_one_tuple(&tuple, db, ver, diff));
1023 * Add a placeholder NSEC record for "name", recording the change in "diff".
1027 dns_diff_t *diff)
1038 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD, name, 0,
1040 CHECK(do_one_tuple(&tuple, db, ver, diff));
1063 * Add RRSIG records for an RRset, recording the change in "diff".
1068 dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys,
1080 isc_mem_t *mctx = diff->mctx;
1162 CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADDRESIGN, name,
1189 dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys)
1236 result = update_one_rr(db, ver, diff,
1246 result = update_one_rr(db, ver, diff, DNS_DIFFOP_DEL,
1264 dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys,
1312 result = add_sigs(log, zone, db, ver, name, type, diff,
1334 * changes, is in "diff" and has already been applied to "newver" of "db".
1338 * and added (as a minimal diff) to "diff".
1345 dns_diff_t *diff, isc_uint32_t sigvalidityinterval)
1347 return (dns_update_signaturesinc(log, zone, db, oldver, newver, diff,
1371 dns_diff_t *diff, isc_uint32_t sigvalidityinterval,
1395 state = isc_mem_get(diff->mctx, sizeof(*state));
1400 dns_diff_init(diff->mctx, &state->diffnames);
1401 dns_diff_init(diff->mctx, &state->affected);
1402 dns_diff_init(diff->mctx, &state->sig_diff);
1403 dns_diff_init(diff->mctx, &state->nsec_diff);
1404 dns_diff_init(diff->mctx, &state->nsec_mindiff);
1405 dns_diff_init(diff->mctx, &state->work);
1409 result = find_zone_keys(zone, db, newver, diff->mctx,
1454 CHECK(dns_diff_sort(diff, temp_order));
1467 t = ISC_LIST_HEAD(diff->tuples);
1535 ISC_LIST_UNLINK(diff->tuples, t, link);
1544 ISC_LIST_APPENDLIST(diff->tuples, state->work.tuples, link);
1698 diff));
1715 newver, name, diff));
1752 * unnecessary, the diff minimization
1823 dns_diff_appendminimal(diff, &t);
1828 dns_diff_appendminimal(diff, &t);
1847 CHECK(dns_diff_sort(diff, temp_order));
1854 t = ISC_LIST_HEAD(diff->tuples);
1917 diff));
1993 dns_diff_appendminimal(diff, &t);
1998 dns_diff_appendminimal(diff, &t);
2028 isc_mem_put(diff->mctx, state, sizeof(*state));