Lines Matching defs:record

54 #define MINRECSIZE 48 /* Minimal log record size */
55 #define MAXRECSIZE 65536 /* Maximal log record size (seen > 56000) */
215 RECORD_PAGE_HEADER *record;
225 record = &buffer->block.record;
227 xusa = le16_to_cpu(record->usa_ofs);
228 nusa = le16_to_cpu(record->usa_count);
853 case LOG_STANDARD : /* standard record */
925 * Search for a likely record in a block
956 * From a previous block, determine the location of first record
959 * record, and the current block must have the beginning of next
960 * record (which can overlap on next blocks).
963 * Note : the overlapping record from previous block does not reach
967 * Returns near blocksz when there is no beginning of record in
983 rph = &buf->block.record;
986 prevrph = &prevbuf->block.record;
991 /* a null value means there is no full record in next block */
1001 * Sometimes the end of record is free space.
1025 printf("** Bad record size %ld in block %ld"
1032 " record does not overlap\n");
1043 printf("No minimal record space\n");
1046 printf("Overlapping record from block %d,"
1055 printf("No minimal record from block %d,"
1068 * try to find a starting record.
1072 /* Accept reaching the end with no record beginning */
1088 * Find the block which defines the first record in current one
1090 * Either the wanted block has the beginning of a record overlapping
1120 rph = &buf->block.record;
1147 rph = &prevbuf->block.record;
1164 /* No luck if there is not enough space in this record */
1165 rph = &prevbuf->block.record;
1217 logr = &action->record;
1220 switch (le16_to_cpu(action->record.redo_operation)) {
1248 * The record layout has also changed
1335 * full MFT record is logged.
1337 * only the header of the MFT record is logged.
1346 printf(" new base MFT record, attr 0x%x (%s)\n",attr,attrname(attr));
1394 printf(" free base MFT record, attr 0x%x (%s)\n",
1445 * The record offset designates the mft attribute offset,
1451 * record.
1521 base = 64; /* full record */
1554 * The record offset designates the mft attribute offset,
1640 * The record offset designates the mft attribute offset,
1784 * The record layout has also changed
1933 printf(" (MFT record for inode %lld)\n",
1936 printf(" assuming record for inode %lld\n",
2031 else printf("redo data overflowing from record\n");
2062 else printf("undo data overflowing from record\n");
2088 printf("* redo data overflows from record\n");
2091 printf("* undo data overflows from record\n");
2095 printf("---> checkpoint record\n");
2126 printf("client_data for record type %ld\n",
2243 logr = &action->record;
2274 logr = &action->record;
2298 /* enqueue record */
2300 malloc(size + offsetof(struct ACTION_RECORD, record));
2302 memcpy(&action->record, logr, size);
2486 printf("\nOverlapping record %u at 0x%x"
2499 " overlapping record\n");
2509 * The maximum size of of log record is 131104
2553 printf("\nBig overlapping record %u at "
2566 " overlapping record\n");
2575 printf("Next record expected in"
2622 rph = &buf->block.record;
2639 printf("No likely full record in block %lu\n",
2648 printf("First record computed at"
2661 printf("** Bad record size %ld in block %ld"
2699 printf("** Not a RCRD record, MAGIC 0x%08lx\n",
2812 printf("Not a RSTR or CHKD record, MAGIC 0x%08lx\n",
3041 * Determine the most recent valid record block
3055 head = &buf->block.record;
3056 althead = &altbuf->block.record;
3065 if (best && (best->block.record.magic != magic_RCRD))
3334 * Concatenate and process a record overlapping on several blocks
3371 printf("* big record, size %d\n",size);
3418 printf("** Invalid record size %ld"
3423 " record in block %ld"
3451 rph = &buf->block.record;
3454 prevrph = &prevbuf->block.record;
3481 /* check whether there is at least one beginning of record */
3489 printf("First record checked"
3492 printf("** Bad first record at offset 0x%x\n",
3540 /* Now examine an overlapping record */
3563 printf("* This is the latest record\n");
3573 " last record length\n");
3625 magic = prevbuf->block.record.magic;
3712 offset = basebuf->block.record.copy.file_offset;
3720 prevlsn = basebuf->block.record.last_end_lsn;
3735 if (curbuf && (curbuf->block.record.magic == magic_RCRD)) {
3736 curlsn = curbuf->block.record.copy.last_lsn;
3739 && (curbuf->block.record.magic == magic_RCRD)
3773 if (buf && (buf->block.record.magic == magic_RCRD)) {
3775 buf->block.record.copy.last_lsn);
3783 if (buf && (buf->block.record.magic == magic_RCRD)) {
3785 buf->block.record.copy.last_lsn);
3811 if (buf && (buf->block.record.magic == magic_RCRD)) {
3813 buf->block.record.copy.last_lsn);
3844 const NTFS_RECORD *record;
3888 record = (const NTFS_RECORD*)&nextbuf->block.data;
3890 magic = record->magic;
3901 magic = buf->block.record.magic;
3986 rph = &buf->block.record;
4024 showheadrcrd(blk, &buf->block.record);
4039 &nextbuf->block.record);
4046 buf->block.record.last_end_lsn);
4054 rph = &buf->block.record;
4065 magic = prevbuf->block.record.magic;