Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dvstructs.h19 #define __vstruct_bytes(_type, _u64s) \ macro
27 __vstruct_bytes(typeof(*(_s)), __vstruct_u64s(_s))
30 (round_up(__vstruct_bytes(_type, _u64s), \
H A Dsuper-io.c99 BUG_ON(__vstruct_bytes(struct bch_sb, sb_u64s) > sb->buffer_size); in __bch2_sb_field_resize()
156 size_t new_bytes = __vstruct_bytes(struct bch_sb, u64s); in bch2_sb_realloc()
H A Dbtree_update_interior.c220 return __vstruct_bytes(struct btree_node, u64s) < btree_buf_bytes(b); in bch2_btree_node_format_fits()
1511 if (__vstruct_bytes(struct btree_node, u64s) > btree_buf_bytes(b)) in __btree_split_node()
H A Dbtree_io.c321 : __vstruct_bytes(struct btree_node, u64s); in btree_node_sort()