Home
last modified time | relevance | path

Searched refs:powerof2 (Results 1 – 25 of 44) sorted by relevance

12

/netbsd/sys/external/bsd/common/include/linux/
H A Dprintk.h81 KASSERT(powerof2(bytes_per_group)); in hex_dump_to_buffer()
117 KASSERT(powerof2(bytes_per_group)); in print_hex_dump()
/netbsd/lib/libc/stdio/
H A Dgetdelim.c103 if (!powerof2(newlen)) { in __weak_alias()
/netbsd/sys/kern/
H A Dsubr_disk_open.c125 (secsize == 0 || secsize > MAXBSIZE || !powerof2(secsize) || in getdisksize()
/netbsd/sys/arch/arm/ti/
H A Dti_div_clock.c175 while (!powerof2(max_val)) in ti_div_clock_get_rate()
H A Dti_mux_clock.c127 while (!powerof2(sc->sc_nparent)) in ti_mux_clock_attach()
H A Dif_cpsw.c95 CTASSERT(powerof2(CPSW_NTXDESCS));
96 CTASSERT(powerof2(CPSW_NRXDESCS));
/netbsd/external/gpl3/gdb/dist/opcodes/
H A Dcrx-dis.c214 powerof2 (int x) in powerof2() function
547 getregname (a->r), getregname (a->i_r), powerof2 (a->scale)); in print_arg()
/netbsd/external/gpl3/binutils.old/dist/opcodes/
H A Dcrx-dis.c214 powerof2 (int x) in powerof2() function
547 getregname (a->r), getregname (a->i_r), powerof2 (a->scale)); in print_arg()
/netbsd/external/gpl3/binutils/dist/opcodes/
H A Dcrx-dis.c214 powerof2 (int x) in powerof2() function
547 getregname (a->r), getregname (a->i_r), powerof2 (a->scale)); in print_arg()
/netbsd/external/gpl3/gdb.old/dist/opcodes/
H A Dcrx-dis.c214 powerof2 (int x) in powerof2() function
547 getregname (a->r), getregname (a->i_r), powerof2 (a->scale)); in print_arg()
/netbsd/usr.bin/cap_mkdb/
H A Dcap_mkdb.c318 } else if (!powerof2(nelem)) { in count_records()
/netbsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c397 if (!powerof2(bpb.bps)) { in mkfs_msdos()
410 if (!powerof2(o.block_size)) { in mkfs_msdos()
427 if (!powerof2(o.sectors_per_cluster)) { in mkfs_msdos()
/netbsd/sys/sys/
H A Dparam.h454 #define powerof2(x) ((((x)-1)&(x))==0) macro
/netbsd/sys/arch/i386/i386/
H A Dmtrr_k6.c234 if (mtrrp->len < (128 * 1024) || powerof2(mtrrp->len) == 0) in k6_mtrr_validate()
/netbsd/sbin/newfs_ext2fs/
H A Dmke2fs.c203 if (!powerof2(bsize)) { in mke2fs()
208 if (!powerof2(fsize)) { in mke2fs()
1424 if (val == 0 || !powerof2(val)) in ilog2()
H A Dnewfs_ext2fs.c168 if (!powerof2(sectorsize)) in main()
/netbsd/tools/compat/
H A Dcompat_defs.h1268 #ifndef powerof2
1269 #define powerof2(x) ((((x)-1)&(x))==0) macro
/netbsd/external/lgpl3/mpfr/dist/src/
H A DMakefile.am57 powerof2.c gamma.c set_ld.c get_ld.c cbrt.c volatile.c fits_s.h \
H A DMakefile.in188 set_inf.lo set_zero.lo powerof2.lo gamma.lo set_ld.lo \
315 ./$(DEPDIR)/powerof2.Plo ./$(DEPDIR)/powr.Plo \
572 powerof2.c gamma.c set_ld.c get_ld.c cbrt.c volatile.c fits_s.h \
904 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerof2.Plo@am__quote@ # am--include-marker
1374 -rm -f ./$(DEPDIR)/powerof2.Plo
1677 -rm -f ./$(DEPDIR)/powerof2.Plo
/netbsd/external/lgpl3/mpfr/lib/libmpfr/
H A DMakefile188 powerof2.c \
/netbsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c584 if ((SecPerClust == 0) || !powerof2(SecPerClust) || in msdosfs_mountfs()
585 (pmp->pm_BytesPerSec == 0) || !powerof2(pmp->pm_BytesPerSec) || in msdosfs_mountfs()
/netbsd/sbin/newfs/
H A Dmkfs.c247 if (!powerof2(sblock.fs_bsize)) { in mkfs()
252 if (!powerof2(sblock.fs_fsize)) { in mkfs()
278 if (maxbsize < bsize || !powerof2(maxbsize)) { in mkfs()
/netbsd/libexec/ld.elf_so/
H A Dheaders.c219 nmw_power2 = powerof2(nmaskwords); in _rtld_digest_dynamic()
/netbsd/sys/lib/libsa/
H A Dminixfs3.c580 if (!powerof2(mult)) { in minixfs3_open()
/netbsd/sbin/fsck_ext2fs/
H A Dsetup.c323 (!powerof2(sblock.e2fs.e2fs_inode_size) || in readsb()

12