Searched refs:ffs (Results 1 - 25 of 131) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Dcompat.h39 extern int ffs(int i);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/bitops/
H A Dffs.h5 * ffs - find first bit set
9 * the libc and compiler builtin ffs routines, therefore
10 * differs in spirit from the above ffz (man ffs).
12 static inline int ffs(int x) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/
H A Dppc4xx_pic.c103 return 64 - ffs(mfdcr(DCRN_UIC_MSR(UIC1)));
105 return 96 - ffs(mfdcr(DCRN_UIC_MSR(UIC2)));
107 return 128 - ffs(mfdcr(DCRN_UIC_MSR(UIC3)));
109 return uic0 ? 32 - ffs(uic0) : -1;
132 return 32 - ffs(mfdcr(DCRN_UIC_MSR(UIC0)));
134 return 64 - ffs(mfdcr(DCRN_UIC_MSR(UIC1)));
136 return 96 - ffs(mfdcr(DCRN_UIC_MSR(UIC2)));
165 return 64 - ffs(mfdcr(DCRN_UIC_MSR(UIC1)));
167 return uic0 ? 32 - ffs(uic0) : -1;
185 return uic0 ? 32 - ffs(uic
[all...]
H A Dppc403_pic.c60 * We want PPC, not C bit numbering, so just subtract the ffs()
63 irq = 32 - ffs(bits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/
H A Dxfs_bit.c145 n = ffs(w);
148 if (w && (n = ffs(w)))
295 return result + ffs(tmp) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dbitops.h23 #include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dbitops.h61 * ffs: Find first bit set in word. This is defined the same way as
62 * the libc and compiler builtin ffs routines, therefore
63 * differs in spirit from the above ffz (man ffs).
66 static inline int ffs(unsigned long x) function
85 # include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dbootsect.c181 vol->sector_size_bits = ffs(vol->sector_size) - 1;
212 vol->nr_clusters = sectors >> (ffs(sectors_per_cluster) - 1);
233 vol->cluster_size_bits = ffs(vol->cluster_size) - 1;
258 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1;
268 vol->indx_record_size_bits = ffs(vol->indx_record_size) - 1;
H A Dcompat.c31 * ffs - Find the first set bit in an int
38 int ffs(int x) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Dsyscopyarea.c180 dst += dst_idx >> (ffs(bits) - 1);
183 src += src_idx >> (ffs(bits) - 1);
352 dst += dst_idx >> (ffs(bits) - 1);
354 src += src_idx >> (ffs(bits) - 1);
361 dst += dst_idx >> (ffs(bits) - 1);
363 src += src_idx >> (ffs(bits) - 1);
H A Dcfbcopyarea.c175 dst += dst_idx >> (ffs(bits) - 1);
178 src += src_idx >> (ffs(bits) - 1);
344 dst += dst_idx >> (ffs(bits) - 1);
346 src += src_idx >> (ffs(bits) - 1);
353 dst += dst_idx >> (ffs(bits) - 1);
355 src += src_idx >> (ffs(bits) - 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_ULOG.c89 printf(" --ulog-nlgroup %d", ffs(loginfo->nl_group));
105 ffs(loginfo->nl_group));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c119 profile[i].log_num = max(ffs(profile[i].num) - 1, 0);
223 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1;
237 init_hca->mtt_seg_sz = ffs(MTHCA_MTT_SEG_SIZE) - 7;
251 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13;
252 init_hca->log_uar_sz = ffs(request->num_uar) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dbitops.h95 #include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dbitops.h38 #include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dvia-macii.c213 next_device = ffs(autopoll_devs & ~device_mask) - 1;
215 next_device = ffs(autopoll_devs) - 1;
300 ADB_READREG(ffs(autopoll_devs) - 1, 0));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/
H A Dbitops.h238 #include <asm-generic/bitops/ffs.h>
279 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
280 #define __ffs(x) (ffs(x) - 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dpci-excite.c121 o = ffs(rem) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dbitops.h138 #include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dbitops.h140 #include <asm-generic/bitops/ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/
H A Dbitops.h149 * use -fno-builtin, so just hide the name ffs.
151 #define ffs kernel_ffs macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dbitops.h274 * ffs: find first bit set. This is defined the same way as
275 * the libc and compiler builtin ffs routines, therefore
276 * differs in spirit from the above ffz (man ffs).
281 static inline int ffs(unsigned long word) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/sni/
H A Dpcit.c170 irq = ffs((pending >> 16) & 0x7f);
183 irq = ffs((pending >> 16) & 0x3f);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dbootmem.c326 ffs(bdata->node_boot_start) - PAGE_SHIFT > ffs(BITS_PER_LONG))
336 order = ffs(BITS_PER_LONG) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/boards/se/7343/
H A Dirq.c87 bit = ffs(val);

Completed in 252 milliseconds

123456