Lines Matching defs:xhdr
455 journal_read_xhdr(dns_journal_t *j, journal_xhdr_t *xhdr) {
461 xhdr->size = decode_uint32(raw.size);
462 xhdr->serial0 = decode_uint32(raw.serial0);
463 xhdr->serial1 = decode_uint32(raw.serial1);
797 journal_xhdr_t xhdr;
810 result = journal_read_xhdr(j, &xhdr);
817 if (xhdr.serial0 != pos->serial) {
821 j->filename, pos->serial, xhdr.serial0);
828 if ((isc_offset_t)(pos->offset + sizeof(journal_rawxhdr_t) + xhdr.size)
835 pos->offset += sizeof(journal_rawxhdr_t) + xhdr.size;
836 pos->serial = xhdr.serial1;
1657 journal_xhdr_t xhdr;
1668 CHECK(journal_read_xhdr(j, &xhdr));
1669 if (xhdr.size == 0) {
1675 if (xhdr.serial0 != j->it.current_serial) {
1680 j->it.current_serial, xhdr.serial0);
1683 j->it.xsize = xhdr.size;