ffs
extern int ffs(int i);
info->control_value |= (ffs(count) - 1) << 4;
init.init_rlen = (a >> 16) | ((ffs(sc->sc_nrbuf) - 1) << 13);
init.init_tlen = (a >> 16) | ((ffs(sc->sc_ntbuf) - 1) << 13);
init.init_mode |= LE_HTOLE32(((ffs(sc->sc_ntbuf) - 1) << 28) |
((ffs(sc->sc_nrbuf) - 1) << 20));
sn->current_rix[y] = ffs(sn->ratemask)-1;
uint32 result = offset + ffs(~chunk) - 1;
len = ffs(map) - 1 - start;
len += ffs(map) - 1;
cn = idx * N_INUSEBITS + ffs(map ^ FULL_RUN) - 1;
cn = idx * N_INUSEBITS + ffs(map ^ FULL_RUN) - 1;
fatVolume->pm_bnshift = ffs(DEV_BSIZE) - 1;
fatVolume->pm_cnshift = ffs(fatVolume->pm_bpcluster) - 1;
dummyVolume.pm_bnshift = ffs(DEV_BSIZE) - 1;
na->compression_block_size_bits = ffs(
vol->sector_size_bits = ffs(vol->sector_size) - 1;
vol->nr_clusters = sectors >> (ffs(sectors_per_cluster) - 1);
vol->cluster_size_bits = ffs(vol->cluster_size) - 1;
vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1;
vol->indx_record_size_bits = ffs(vol->indx_record_size) - 1;
extern int ffs(int i);
index_block_size_bits = ffs(index_block_size) - 1;
log_page_bits = ffs(log_page_size) - 1;
return ffs(~word) - 1;
while (volume_size >> (ffs(vol->cluster_size) - 1 + 32)) {
vol->cluster_size_bits = ffs(vol->cluster_size) - 1;
vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1;
vol->indx_record_size_bits = ffs(vol->indx_record_size) - 1;
bs->clusters_per_mft_record = -(ffs(g_vol->mft_record_size) -
k = ffs(*lp >> j) + j;
k = ffs(*lp);
return ffs(i);