Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dsb-clean.c146 struct bch_sb_field_clean *clean, *sb_clean; in bch2_read_superblock_clean() local
150 sb_clean = bch2_sb_field_get(c->disk_sb.sb, clean); in bch2_read_superblock_clean()
152 if (fsck_err_on(!sb_clean, c, in bch2_read_superblock_clean()
161 clean = kmemdup(sb_clean, vstruct_bytes(&sb_clean->field), in bch2_read_superblock_clean()
283 struct bch_sb_field_clean *sb_clean; in bch2_fs_mark_clean() local
299 u64s = sizeof(*sb_clean) / sizeof(u64) + c->journal.entry_u64s_reserved; in bch2_fs_mark_clean()
301 sb_clean = bch2_sb_field_resize(&c->disk_sb, clean, u64s); in bch2_fs_mark_clean()
302 if (!sb_clean) { in bch2_fs_mark_clean()
307 sb_clean->flags = 0; in bch2_fs_mark_clean()
308 sb_clean->journal_seq = cpu_to_le64(atomic64_read(&c->journal.seq)); in bch2_fs_mark_clean()
[all …]