Searched refs:ffs (Results 201 - 225 of 273) sorted by relevance

1234567891011

/freebsd-11-stable/sys/fs/udf/
H A Dudf_vfsops.c415 udfmp->bshift = ffs(udfmp->bsize) - 1;
/freebsd-11-stable/sys/x86/x86/
H A Dmptable.c967 while ((id = ffs(id_mask)) != 0) {
/freebsd-11-stable/contrib/gcc/
H A Dsys-protos.h334 extern int ffs(int);
H A Dggc-zone.c233 #define alloc_ffs(x) ffs(x)
/freebsd-11-stable/contrib/libpcap/
H A Doptimize.c145 * MS-DOS with DJGPP, which declares ffs() in <string.h>, which
148 #define lowest_set_bit(mask) (ffs((mask)) - 1)
151 * MS-DOS with Watcom C, which has <strings.h> and declares ffs() there,
156 #define lowest_set_bit(mask) (ffs((mask)) - 1)
/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_snapshot.c37 __FBSDID("$FreeBSD: stable/11/sys/ufs/ffs/ffs_snapshot.c 362050 2020-06-11 11:45:30Z kib $");
67 #include <ufs/ffs/fs.h>
68 #include <ufs/ffs/ffs_extern.h>
/freebsd-11-stable/sys/geom/part/
H A Dg_part.c119 { "netbsd-ffs", G_PART_ALIAS_NETBSD_FFS },
882 i = ffs(table->gpt_smhead) - 1;
892 i = ffs(table->gpt_smtail) - 1;
/freebsd-11-stable/sys/dev/ath/ath_rate/sample/
H A Dsample.c1116 sn->current_rix[y] = ffs(sn->ratemask)-1;
/freebsd-11-stable/sbin/growfs/
H A Dgrowfs.c79 #include <ufs/ffs/fs.h>
851 * close as possible to the original implementation of ffs.
1730 build_iovec(&iov, &iovlen, "fstype", __DECONST(char *, "ffs"), 4);
/freebsd-11-stable/sys/dev/nsp/
H A Dnsp.c1210 sid = ffs(sid) - 1;
/freebsd-11-stable/sys/mips/adm5120/
H A Dif_admsw.c920 vlan = ffs(desc->status & 0x3f) - 1;
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.c1003 irq = BCM_GPIO_PINS_PER_BANK * bank + ffs(reg) - 1;
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c575 shift = ffs(mhp->umem->page_size) - 1;
/freebsd-11-stable/lib/libedit/
H A Dtty.c53 #include <strings.h> /* for ffs */
1266 int c = ffs((int)m->m_value);
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mr.c1058 if (page_shift < (ffs(dev->caps.page_size_cap) - 1) || page_shift >= 32)
/freebsd-11-stable/usr.sbin/makefs/
H A Dffs.c1 /* $NetBSD: ffs.c,v 1.45 2011/10/09 22:49:26 christos Exp $ */
69 __FBSDID("$FreeBSD: stable/11/usr.sbin/makefs/ffs.c 332981 2018-04-25 01:48:15Z benno $");
88 #include "ffs.h"
96 #include <ufs/ffs/fs.h>
99 #include "ffs/ufs_bswap.h"
100 #include "ffs/ufs_inode.h"
101 #include "ffs/newfs_extern.h"
102 #include "ffs/ffs_extern.h"
361 errx(1, "`%s' minsize of %lld rounded up to ffs bsize of %d "
1063 * cribbed from sys/ufs/ffs/ffs_allo
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_netmap.c502 switch (ffs(db) - 1) {
/freebsd-11-stable/sbin/newfs/
H A Dmkfs.c67 #include <ufs/ffs/fs.h>
/freebsd-11-stable/sys/net/
H A Dnetisr.c943 while ((prot = ffs(bits)) != 0) {
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dmixer.c361 src = (1 << (ffs(mixer->recdevs) - 1));
/freebsd-11-stable/sys/dev/sume/
H A Dif_sume.c247 np = (ffs(dport & SUME_DPORT_MASK) >> 1) - 1;
/freebsd-11-stable/sys/dev/mvs/
H A Dmvs.c767 port = ffs(p) - 1;
1200 slotn = ffs(~ch->oslots) - 1;
1204 tag = ffs(~ch->otagspd[ccb->ccb_h.target_id]) - 1;
/freebsd-11-stable/sys/dev/ahci/
H A Dahci.c1380 ccs = powerof2(cstatus) ? ffs(cstatus) - 1 : -1;
1540 tag = ffs(~(ch->oslots >> (ch->lastslot + 1)));
1544 tag = ffs(~ch->oslots) - 1;
/freebsd-11-stable/sys/arm/arm/
H A Dpmap-v6.c2867 bit = ffs(inuse) - 1;
3037 bit = ffs(pc->pc_map[field]) - 1;
4438 bit = ffs(inuse) - 1;
/freebsd-11-stable/sys/dev/advansys/
H A Dadvlib.c2085 orig_id = ffs(ADV_INB(adv, ADV_HOST_SCSIID)) - 1;

Completed in 269 milliseconds

1234567891011