Searched refs:div_roundup (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/util-linux/ |
D | mkfs_ext2.c | 108 static uint32_t div_roundup(uint32_t size, uint32_t n) in div_roundup() function 347 ngroups = div_roundup(nblocks - first_block, blocks_per_group); in mkfs_ext2_main() 349 group_desc_blocks = div_roundup(ngroups, blocksize / sizeof(*gd)); in mkfs_ext2_main() 364 …reserved_group_desc_blocks = div_roundup(reserved_group_desc_blocks - first_block, blocks_per_grou… in mkfs_ext2_main() 365 …reserved_group_desc_blocks = div_roundup(reserved_group_desc_blocks, blocksize / sizeof(*gd)) - gr… in mkfs_ext2_main() 379 inodes_per_group = div_roundup(ninodes, ngroups); in mkfs_ext2_main() 387 inodes_per_group = (div_roundup(inodes_per_group * inodesize, blocksize) * blocksize) / inodesize; in mkfs_ext2_main() 390 inode_table_blocks = div_roundup(inodes_per_group * inodesize, blocksize); in mkfs_ext2_main()
|
D | mkfs_minix.c | 163 static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) in div_roundup() function 183 # define INODE_BLOCKS div_roundup(SB_INODES, MINIX1_INODES_PER_BLOCK) 186 # define INODE_BLOCKS div_roundup(SB_INODES, \ 571 SB_IMAPS = div_roundup(SB_INODES + 1, BITS_PER_BLOCK); in setup_tables() 585 sb_zmaps = div_roundup(G.total_blocks - norm_firstzone + 1, BITS_PER_BLOCK); in setup_tables()
|
D | fsck_minix.c | 269 static ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) in div_roundup() function 275 #define INODE_BLOCKS div_roundup(INODES, MINIX1_INODES_PER_BLOCK) 277 #define INODE_BLOCKS div_roundup(INODES, \
|