HelenOS sources

is_power_of_two   831 uspace/app/mkexfat/mkexfat.c 			if (!is_power_of_two(cfg.cluster_size)) {
is_power_of_two    84 uspace/app/mkmfs/mkmfs.c static bool	is_power_of_two(uint32_t n);
is_power_of_two   177 uspace/app/mkmfs/mkmfs.c 	} else if (!is_power_of_two(sb.block_size)) {
is_power_of_two    66 uspace/srv/fs/mfs/mfs_ops.c static bool is_power_of_two(uint32_t n);
is_power_of_two  1141 uspace/srv/fs/mfs/mfs_ops.c 	if (!is_power_of_two(sbi->block_size) ||
HelenOS homepage, sources at GitHub