HelenOS sources

UPPER             521 uspace/app/mkmfs/mkmfs.c 	sb->ibmap_blocks = UPPER(sb->n_inodes, sb->block_size * 8);
UPPER             527 uspace/app/mkmfs/mkmfs.c 	sb->zbmap_blocks = UPPER(sb->n_zones, sb->block_size * 8);
HelenOS homepage, sources at GitHub