Lines Matching defs:tail
57 * [6] Write tail tag (this tag ensures the atomicity, please read the following
90 * logs only if there's at least 1 valid tail present. For every fast commit
91 * operation, there is 1 tail. This means, we may end up with multiple tails
662 * Complete a fast commit by writing tail tag.
664 * Writing tail tag marks the end of a fast commit. In order to guarantee
665 * atomicity, after writing tail tag, even if there's space remaining
666 * in the block, next commit shouldn't use it. That's why tail tag
673 struct ext4_fc_tail tail;
679 * there's no enough space on this block for accommodating this tail.
681 dst = ext4_fc_reserve_space(sb, sizeof(tl) + sizeof(tail), &crc);
693 tail.fc_tid = cpu_to_le32(sbi->s_journal->j_running_transaction->t_tid);
694 ext4_fc_memcpy(sb, dst, &tail.fc_tid, sizeof(tail.fc_tid), &crc);
695 dst += sizeof(tail.fc_tid);
696 tail.fc_crc = cpu_to_le32(crc);
697 ext4_fc_memcpy(sb, dst, &tail.fc_crc, sizeof(tail.fc_crc), NULL);
698 dst += sizeof(tail.fc_crc);
1942 struct ext4_fc_tail tail;
2000 memcpy(&tail, val, sizeof(tail));
2005 if (le32_to_cpu(tail.fc_tid) == expected_tid &&
2006 le32_to_cpu(tail.fc_crc) == state->fc_crc) {
2057 struct ext4_fc_tail tail;
2122 memcpy(&tail, val, sizeof(tail));
2123 WARN_ON(le32_to_cpu(tail.fc_tid) != expected_tid);