Lines Matching refs:journal
690 struct f2fs_journal *journal; in f2fs_write_check_point_pack() local
864 journal = &sum->journal; in f2fs_write_check_point_pack()
865 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack()
866 journal->nat_j.entries[0].nid = sb->root_ino; in f2fs_write_check_point_pack()
867 journal->nat_j.entries[0].ne.version = 0; in f2fs_write_check_point_pack()
868 journal->nat_j.entries[0].ne.ino = sb->root_ino; in f2fs_write_check_point_pack()
869 journal->nat_j.entries[0].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
876 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
877 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack()
878 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
879 journal->nat_j.entries[i].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
887 journal->nat_j.entries[i].nid = cpu_to_le32(c.lpf_ino); in f2fs_write_check_point_pack()
888 journal->nat_j.entries[i].ne.version = 0; in f2fs_write_check_point_pack()
889 journal->nat_j.entries[i].ne.ino = cpu_to_le32(c.lpf_ino); in f2fs_write_check_point_pack()
890 journal->nat_j.entries[i].ne.block_addr = cpu_to_le32( in f2fs_write_check_point_pack()
896 memcpy(sum_compact_p, &journal->n_nats, SUM_JOURNAL_SIZE); in f2fs_write_check_point_pack()
903 journal->n_sits = cpu_to_le16(2); in f2fs_write_check_point_pack()
905 journal->n_sits = cpu_to_le16(6); in f2fs_write_check_point_pack()
907 journal->sit_j.entries[0].segno = cp->cur_node_segno[0]; in f2fs_write_check_point_pack()
908 journal->sit_j.entries[0].se.vblocks = in f2fs_write_check_point_pack()
911 f2fs_set_bit(0, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
913 f2fs_set_bit(i, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
915 f2fs_set_bit(i, (char *)journal->sit_j.entries[0].se.valid_map); in f2fs_write_check_point_pack()
919 journal->sit_j.entries[1].segno = cp->cur_data_segno[0]; in f2fs_write_check_point_pack()
920 journal->sit_j.entries[1].se.vblocks = in f2fs_write_check_point_pack()
923 f2fs_set_bit(0, (char *)journal->sit_j.entries[1].se.valid_map); in f2fs_write_check_point_pack()
925 f2fs_set_bit(i, (char *)journal->sit_j.entries[1].se.valid_map); in f2fs_write_check_point_pack()
927 f2fs_set_bit(i, (char *)journal->sit_j.entries[1].se.valid_map); in f2fs_write_check_point_pack()
929 journal->sit_j.entries[1].segno = cp->cur_node_segno[1]; in f2fs_write_check_point_pack()
930 journal->sit_j.entries[1].se.vblocks = in f2fs_write_check_point_pack()
932 journal->sit_j.entries[2].segno = cp->cur_node_segno[2]; in f2fs_write_check_point_pack()
933 journal->sit_j.entries[2].se.vblocks = in f2fs_write_check_point_pack()
937 journal->sit_j.entries[3].segno = cp->cur_data_segno[0]; in f2fs_write_check_point_pack()
938 journal->sit_j.entries[3].se.vblocks = in f2fs_write_check_point_pack()
941 f2fs_set_bit(0, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
943 f2fs_set_bit(i, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
945 f2fs_set_bit(i, (char *)journal->sit_j.entries[3].se.valid_map); in f2fs_write_check_point_pack()
947 journal->sit_j.entries[4].segno = cp->cur_data_segno[1]; in f2fs_write_check_point_pack()
948 journal->sit_j.entries[4].se.vblocks = in f2fs_write_check_point_pack()
950 journal->sit_j.entries[5].segno = cp->cur_data_segno[2]; in f2fs_write_check_point_pack()
951 journal->sit_j.entries[5].se.vblocks = in f2fs_write_check_point_pack()
955 memcpy(sum_compact_p, &journal->n_sits, SUM_JOURNAL_SIZE); in f2fs_write_check_point_pack()