ffs 317 arch/i386/i386/ioapic.c new_id = ffs(ioapic_id_map) - 1; ffs 86 arch/i386/i386/k6_mem.c for (bit = ffs(desc->mr_len >> 17) - 1; bit < 15; bit++) ffs 117 arch/i386/i386/k6_mem.c sc->mr_desc[d].mr_len = ffs(mask) << 17; ffs 504 arch/i386/pci/pci_intr_fixup.c (irq = ffs(l->bitmap & pciirq)) > 0) { ffs 526 arch/i386/pci/pci_intr_fixup.c (irq = ffs(l->bitmap & pcibios_irqs_hint)) > 0) { ffs 129 dev/acpi/acpiprt.c *irq = ffs(aml_letohost16(crs->sr_irq.irq_mask)) - 1; ffs 687 dev/ic/aic6360.c target = ffs(selid) - 1; ffs 9828 dev/ic/aic79xx.c our_id = ffs(targid_mask); ffs 7110 dev/ic/aic7xxx.c our_id = ffs(targid_mask); ffs 255 dev/ic/am7990.c init.init_rlen = (a >> 16) | ((ffs(sc->sc_nrbuf) - 1) << 13); ffs 259 dev/ic/am7990.c init.init_tlen = (a >> 16) | ((ffs(sc->sc_ntbuf) - 1) << 13); ffs 1349 dev/ic/ncr53c9x.c target = ffs(selid) - 1; ffs 1542 dev/ic/osiop.c int reselid = ffs(osiop_read_4(sc, OSIOP_SCRATCH) & 0xff) - 1; ffs 272 dev/ic/sili.c slot = ffs(pss_saved) - 1; ffs 316 dev/ic/sili.c slot = ffs(pss_masked) - 1; ffs 390 dev/ic/sili.c port = ffs(is) - 1; ffs 2447 dev/isa/ess.c port = ffs(di.un.s.member[i].mask); ffs 219 dev/isa/if_ec.c i = ffs(x) - 1; ffs 230 dev/isa/if_ec.c i = ffs(x) - 1; ffs 457 dev/microcode/aic7xxx/aicasm_gram.y enum_increment = 0x01 << (ffs($3.value) - 1); ffs 479 dev/microcode/aic7xxx/aicasm_gram.y enum_increment = 0x01 << (ffs($3.value) - 1); ffs 282 dev/pci/agp_amd.c vas = ffs(aperture / 32*1024*1024) - 1; ffs 182 dev/pci/agp_sis.c gws = ffs(aperture / 4*1024*1024) - 1; ffs 1580 dev/pci/ahci.c port = ffs(is) - 1; ffs 1722 dev/pci/ahci.c slot = ffs(tmp) - 1; ffs 1752 dev/pci/ahci.c slot = ffs(ci_masked) - 1; ffs 1773 dev/pci/ahci.c slot = ffs(ci_masked) - 1; ffs 1810 dev/pci/ahci.c slot = ffs(tmp) - 1; ffs 1678 dev/pci/if_pcn.c ((ffs(PCN_NTXDESC) - 1) << 28) | ffs 1679 dev/pci/if_pcn.c ((ffs(PCN_NRXDESC) - 1) << 20)); ffs 235 dev/raidframe/rf_disks.c raidPtr->logBytesPerSector = ffs(bs) - 1; ffs 623 dev/raidframe/rf_disks.c raidPtr->logBytesPerSector = ffs(bs) - 1; ffs 320 dev/sbus/stp4020.c if ((socket = ffs(sc->events)) == 0) { ffs 446 dev/wscons/wsmouse.c ev->value = ffs(d) - 1; ffs 368 isofs/cd9660/cd9660_vfsops.c isomp->im_bshift = ffs(logical_block_size) - 1; ffs 299 isofs/udf/udf_vfsops.c ump->um_bshift = ffs(ump->um_bsize) - 1; ffs 120 kern/kern_descrip.c return (off << NDENTRYSHIFT) + ffs(~sub) - 1; ffs 393 kern/kern_sig.c nc = ffs((long)p->p_sigcatch); ffs 1039 kern/kern_sig.c signum = ffs((long)mask); ffs 572 kern/subr_disk.c i = ffs(openmask) - 1; ffs 407 kern/subr_pool.c palloc->pa_pageshift = ffs(palloc->pa_pagesz) - 1; ffs 753 kern/sys_generic.c while ((j = ffs(bits)) && (fd = i + --j) < nfd) { ffs 155 lib/libkern/libkern.h int ffs(int); ffs 364 msdosfs/msdosfs_fat.c + ffs(pmp->pm_inusemap[cn / N_INUSEBITS] ffs 702 msdosfs/msdosfs_fat.c len = ffs(map) - 1 - start; ffs 712 msdosfs/msdosfs_fat.c len += ffs(map) - 1; ffs 812 msdosfs/msdosfs_fat.c cn = idx * N_INUSEBITS + ffs(map^(u_int)-1) - 1; ffs 829 msdosfs/msdosfs_fat.c cn = idx * N_INUSEBITS + ffs(map^(u_int)-1) - 1; ffs 443 msdosfs/msdosfs_vfsops.c pmp->pm_bnshift = ffs(DEV_BSIZE) - 1; ffs 451 msdosfs/msdosfs_vfsops.c pmp->pm_cnshift = ffs(pmp->pm_bpcluster) - 1; ffs 177 netinet/ip_ipsp.c shift = ffs(tdb_hashmask + 1); ffs 202 sys/disklabel.h (((ffs((fsize) * (frag)) - 13) << 3) | (ffs(frag))))