Searched refs:bucket_seq (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | journal.c | 974 memcpy(new_bucket_seq, ja->bucket_seq, ja->nr * sizeof(u64)); in __bch2_set_nr_journal_buckets() 1006 swap(new_bucket_seq, ja->bucket_seq); in __bch2_set_nr_journal_buckets() 1289 kfree(ja->bucket_seq); in bch2_dev_journal_exit() 1291 ja->bucket_seq = NULL; in bch2_dev_journal_exit() 1313 ja->bucket_seq = kcalloc(ja->nr, sizeof(u64), GFP_KERNEL); in bch2_dev_journal_init() 1314 if (!ja->bucket_seq) in bch2_dev_journal_init() 1497 …prt_printf(out, "dirty_ondisk\t%u (seq %llu)\n",ja->dirty_idx_ondisk, ja->bucket_seq[ja->dirty_idx… in __bch2_journal_debug_to_text() 1498 prt_printf(out, "dirty_idx\t%u (seq %llu)\n", ja->dirty_idx, ja->bucket_seq[ja->dirty_idx]); in __bch2_journal_debug_to_text() 1499 prt_printf(out, "cur_idx\t%u (seq %llu)\n", ja->cur_idx, ja->bucket_seq[ja->cur_idx]); in __bch2_journal_debug_to_text()
|
H A D | journal_types.h | 315 u64 *bucket_seq; member
|
H A D | journal_reclaim.c | 190 ja->bucket_seq[ja->dirty_idx] < journal_last_seq(j)) in bch2_journal_space_available() 194 ja->bucket_seq[ja->dirty_idx_ondisk] < j->last_seq_ondisk) in bch2_journal_space_available() 595 ja->bucket_seq[bucket_to_flush]); in journal_seq_to_flush()
|
H A D | journal_io.c | 1089 if (le64_to_cpu(j->seq) < ja->bucket_seq[bucket]) in journal_read_bucket() 1092 ja->bucket_seq[bucket] = le64_to_cpu(j->seq); in journal_read_bucket() 1462 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(w->data->seq); in __journal_write_alloc() 1524 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(w->data->seq); in journal_write_alloc() 1744 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(w->data->seq); in CLOSURE_CALLBACK()
|