Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dsb-downgrade.c375 unsigned sb_u64s = DIV_ROUND_UP(sizeof(*d) + table.nr, sizeof(u64)); in bch2_sb_downgrade_update() local
377 if (d && le32_to_cpu(d->field.u64s) > sb_u64s) in bch2_sb_downgrade_update()
380 d = bch2_sb_field_resize(&c->disk_sb, downgrade, sb_u64s); in bch2_sb_downgrade_update()
H A Dsuper-io.c97 unsigned sb_u64s = le32_to_cpu(sb->sb->u64s) + u64s - old_u64s; in __bch2_sb_field_resize() local
99 BUG_ON(__vstruct_bytes(struct bch_sb, sb_u64s) > sb->buffer_size); in __bch2_sb_field_resize()
126 sb->sb->u64s = cpu_to_le32(sb_u64s); in __bch2_sb_field_resize()