Home
last modified time | relevance | path

Searched refs:bucket_seq (Results 1 – 4 of 4) sorted by relevance

/fs/bcachefs/
A Djournal.c1179 memcpy(new_bucket_seq, ja->bucket_seq, ja->nr * sizeof(u64)); in bch2_set_nr_journal_buckets_iter()
1210 swap(new_bucket_seq, ja->bucket_seq); in bch2_set_nr_journal_buckets_iter()
1357 memmove(&ja->bucket_seq[pos], in bch2_dev_journal_bucket_delete()
1358 &ja->bucket_seq[pos + 1], in bch2_dev_journal_bucket_delete()
1359 (ja->nr - pos) * sizeof(ja->bucket_seq[0])); in bch2_dev_journal_bucket_delete()
1598 kfree(ja->bucket_seq); in bch2_dev_journal_exit()
1600 ja->bucket_seq = NULL; in bch2_dev_journal_exit()
1623 ja->bucket_seq = kcalloc(ja->nr, sizeof(u64), GFP_KERNEL); in bch2_dev_journal_init()
1624 if (!ja->bucket_seq) in bch2_dev_journal_init()
1817 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()
[all …]
A Djournal_types.h312 u64 *bucket_seq; member
A Djournal_reclaim.c207 ja->bucket_seq[ja->dirty_idx] < journal_last_seq(j)) in bch2_journal_space_available()
211 ja->bucket_seq[ja->dirty_idx_ondisk] < j->last_seq_ondisk) in bch2_journal_space_available()
645 ja->bucket_seq[bucket_to_flush]); in journal_seq_to_flush()
A Djournal_io.c1145 if (le64_to_cpu(j->seq) < ja->bucket_seq[bucket]) in journal_read_bucket()
1148 ja->bucket_seq[bucket] = le64_to_cpu(j->seq); in journal_read_bucket()
1556 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(seq); in journal_advance_devs_to_next_bucket()
1603 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(w->data->seq); in __journal_write_alloc()
1888 ja->bucket_seq[ja->cur_idx] = le64_to_cpu(w->data->seq); in CLOSURE_CALLBACK()

Completed in 17 milliseconds