Lines Matching refs:lr

541 static void dump_log_record(LOG_RECORD *lr)
545 (unsigned long long)sle64_to_cpu(lr->this_lsn));
547 sle64_to_cpu(lr->client_previous_lsn));
549 sle64_to_cpu(lr->client_undo_next_lsn));
551 (unsigned int)le32_to_cpu(lr->client_data_length));
553 le16_to_cpu(lr->client_id.seq_number));
555 le16_to_cpu(lr->client_id.client_index));
557 (unsigned int)le32_to_cpu(lr->record_type));
559 (unsigned int)le32_to_cpu(lr->transaction_id));
560 ntfs_log_info("flags = 0x%x:", le16_to_cpu(lr->log_record_flags));
561 if (!lr->log_record_flags)
566 if (lr->log_record_flags & LOG_RECORD_MULTI_PAGE) {
570 if (lr->log_record_flags & ~LOG_RECORD_MULTI_PAGE) {
577 ntfs_log_info("redo_operation = 0x%x\n", le16_to_cpu(lr->redo_operation));
578 ntfs_log_info("undo_operation = 0x%x\n", le16_to_cpu(lr->undo_operation));
579 ntfs_log_info("redo_offset = 0x%x\n", le16_to_cpu(lr->redo_offset));
580 ntfs_log_info("redo_length = 0x%x\n", le16_to_cpu(lr->redo_length));
581 ntfs_log_info("undo_offset = 0x%x\n", le16_to_cpu(lr->undo_offset));
582 ntfs_log_info("undo_length = 0x%x\n", le16_to_cpu(lr->undo_length));
583 ntfs_log_info("target_attribute = 0x%x\n", le16_to_cpu(lr->target_attribute));
584 ntfs_log_info("lcns_to_follow = 0x%x\n", le16_to_cpu(lr->lcns_to_follow));
585 ntfs_log_info("record_offset = 0x%x\n", le16_to_cpu(lr->record_offset));
586 ntfs_log_info("attribute_offset = 0x%x\n", le16_to_cpu(lr->attribute_offset));
588 (unsigned long long)sle64_to_cpu(lr->target_vcn));
589 if (le16_to_cpu(lr->lcns_to_follow) > 0)
591 for (i = 0; i < le16_to_cpu(lr->lcns_to_follow); i++)
593 (unsigned long long)sle64_to_cpu(lr->lcn_list[i]));
602 LOG_RECORD *lr;
643 lr = (LOG_RECORD*)((u8*)rcrd + 0x40);
647 dump_log_record(lr);
649 lr = (LOG_RECORD*)((u8*)lr + 0x70);
650 } while (((u8*)lr + 0x70 <= (u8*)rcrd +