Searched refs:journal_buckets_v2 (Results 1 – 1 of 1) sorted by relevance
1318 struct bch_sb_field_journal_v2 *journal_buckets_v2 = in bch2_dev_journal_init() local1323 if (journal_buckets_v2) { in bch2_dev_journal_init()1324 unsigned nr = bch2_sb_field_journal_v2_nr_entries(journal_buckets_v2); in bch2_dev_journal_init()1327 ja->nr += le64_to_cpu(journal_buckets_v2->d[i].nr); in bch2_dev_journal_init()1353 if (journal_buckets_v2) { in bch2_dev_journal_init()1354 unsigned nr = bch2_sb_field_journal_v2_nr_entries(journal_buckets_v2); in bch2_dev_journal_init()1358 for (unsigned j = 0; j < le64_to_cpu(journal_buckets_v2->d[i].nr); j++) in bch2_dev_journal_init()1360 le64_to_cpu(journal_buckets_v2->d[i].start) + j; in bch2_dev_journal_init()