Lines Matching refs:journal

589 	struct f2fs_journal *journal;  in f2fs_write_check_point_pack()  local
745 journal = &sum->journal; in f2fs_write_check_point_pack()
746 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack()
747 journal->nat_j.entries[0].nid = sb->root_ino; in f2fs_write_check_point_pack()
748 journal->nat_j.entries[0].ne.version = 0; in f2fs_write_check_point_pack()
749 journal->nat_j.entries[0].ne.ino = sb->root_ino; in f2fs_write_check_point_pack()
750 journal->nat_j.entries[0].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
757 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
758 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack()
759 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
760 journal->nat_j.entries[i].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
768 journal->nat_j.entries[i].nid = cpu_to_le32(c.lpf_ino); in f2fs_write_check_point_pack()
769 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack()
770 journal->nat_j.entries[i].ne.ino = cpu_to_le32(c.lpf_ino); in f2fs_write_check_point_pack()
771 journal->nat_j.entries[i].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
777 memcpy(sum_compact_p, &journal->n_nats, SUM_JOURNAL_SIZE); in f2fs_write_check_point_pack()
782 journal->n_sits = cpu_to_le16(6); in f2fs_write_check_point_pack()
783 journal->sit_j.entries[0].segno = cp->cur_node_segno[0]; in f2fs_write_check_point_pack()
784 journal->sit_j.entries[0].se.vblocks = in f2fs_write_check_point_pack()
787 f2fs_set_bit(0, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
789 f2fs_set_bit(i, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
791 f2fs_set_bit(i, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
793 journal->sit_j.entries[1].segno = cp->cur_node_segno[1]; in f2fs_write_check_point_pack()
794 journal->sit_j.entries[1].se.vblocks = in f2fs_write_check_point_pack()
796 journal->sit_j.entries[2].segno = cp->cur_node_segno[2]; in f2fs_write_check_point_pack()
797 journal->sit_j.entries[2].se.vblocks = in f2fs_write_check_point_pack()
801 journal->sit_j.entries[3].segno = cp->cur_data_segno[0]; in f2fs_write_check_point_pack()
802 journal->sit_j.entries[3].se.vblocks = in f2fs_write_check_point_pack()
805 f2fs_set_bit(0, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
807 f2fs_set_bit(i, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
809 f2fs_set_bit(i, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
811 journal->sit_j.entries[4].segno = cp->cur_data_segno[1]; in f2fs_write_check_point_pack()
812 journal->sit_j.entries[4].se.vblocks = in f2fs_write_check_point_pack()
814 journal->sit_j.entries[5].segno = cp->cur_data_segno[2]; in f2fs_write_check_point_pack()
815 journal->sit_j.entries[5].se.vblocks = in f2fs_write_check_point_pack()
818 memcpy(sum_compact_p, &journal->n_sits, SUM_JOURNAL_SIZE); in f2fs_write_check_point_pack()