Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dvstructs.h29 #define __vstruct_blocks(_type, _sector_block_bits, _u64s) \ argument
31 512 << (_sector_block_bits)) >> (9 + (_sector_block_bits)))
33 #define vstruct_blocks(_s, _sector_block_bits) \ argument
34 __vstruct_blocks(typeof(*(_s)), _sector_block_bits, __vstruct_u64s(_s))
36 #define vstruct_blocks_plus(_s, _sector_block_bits, _u64s) \ argument
37 __vstruct_blocks(typeof(*(_s)), _sector_block_bits, \
40 #define vstruct_sectors(_s, _sector_block_bits) \ argument
41 (round_up(vstruct_bytes(_s), 512 << (_sector_block_bits)) >> 9)