HomeSort by: relevance | last modified time | path
    Searched refs:howmany (Results 1 - 25 of 220) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/sys/external/bsd/drm2/include/linux/
pfn.h 35 #define PFN_UP(N) howmany(N, PAGE_SIZE)
bitmap.h 51 size_t n = howmany(nbits, bpl);
179 size_t n = howmany(nbits, bpl);
194 size_t n = howmany(nbits, bpl);
212 size_t n = howmany(nbits, bpl);
230 size_t n = howmany(nbits, bpl);
248 size_t n = howmany(nbits, bpl);
258 size_t n = howmany(nbits, bpl);
  /src/lib/libc/locale/
newlocale.c 50 int i, howmany, categories[_LC_LAST - 1]; local in function:__weak_alias
76 howmany = 0;
79 categories[howmany++] = i;
81 if (howmany-- > 0) {
82 for (i = 1; i < howmany; ++i) {
92 tokens[howmany] = tail;
93 tail = __UNCONST(strchr(tokens[howmany], '/'));
98 for (i = 0; i <= howmany; ++i) {
  /src/sys/external/bsd/drm2/radeon/
mkregtable.awk 31 function howmany(x, n) { function
76 nentries = howmany(hi(maxreg, 2), 32)
  /src/sys/netinet6/
ip6_mroute.h 85 #ifndef howmany
86 #define howmany(x, y) (((x) + ((y) - 1)) / (y)) macro
90 if_mask ifs_bits[howmany(IF_SETSIZE, NIFBITS)];
  /src/sys/arch/arm/arm/
cpu_subr.c 70 volatile u_long arm_cpu_hatched[howmany(MAXCPUS, CPUINDEX_DIVISOR)] __cacheline_aligned = { 0 };
71 volatile u_long arm_cpu_mbox[howmany(MAXCPUS, CPUINDEX_DIVISOR)] __cacheline_aligned = { 0 };
  /src/usr.sbin/makefs/ffs/
mkfs.c 318 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize),
321 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag));
354 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
360 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
377 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
386 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
398 sblock.fs_ncg = howmany(sblock.fs_size, sblock.fs_fpg);
410 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode),
472 csfrags = howmany(sblock.fs_cssize, sblock.fs_fsize);
477 howmany(csfrags, sblock.fs_frag)
    [all...]
  /src/sys/arch/arm/amlogic/
meson_clk_mpll.c 75 return (u_int)howmany(parent_rate * SDM_DEN, div);
meson_i2c.c 385 u_int div = howmany(rate, sc->sc_clkfreq) - FILTER_DELAY;
386 div = howmany(div, 4);
414 divh = howmany(rate, sc->sc_clkfreq);
415 divl = howmany(divh, 4);
416 divh = howmany(divh, 2) - FILTER_DELAY;
418 divh = howmany(rate * 2, sc->sc_clkfreq * 5) - FILTER_DELAY;
419 divl = howmany(rate * 3, sc->sc_clkfreq * 5 * 2);
meson_clk_div.c 112 ratio = howmany(parent_rate, new_rate);
  /src/sys/compat/freebsd/
freebsd_mod.c 54 #define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
  /src/sys/dev/ic/
amdccp.c 78 const size_t nwords = howmany(nbytes, sizeof(buf[0]));
  /src/sbin/dump/
traverse.c 96 blkest = howmany(ufs_fragroundup(ufsib,
98 sizeest = howmany(ufs_fragroundup(ufsib, DIP(dp, size)), TP_BSIZE);
104 howmany(sizeest - UFS_NDADDR * ufsib->ufs_bsize / TP_BSIZE,
584 cnt = howmany(DIP(dp, size), ufsib->ufs_fsize);
626 cnt = howmany(*size, ufsib->ufs_fsize);
660 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
693 blks = howmany(frags * ufsib->ufs_fsize, TP_BSIZE);
699 resid = howmany(ufsib->ufs_qfmask & extsize,
702 resid = howmany(ufsib->ufs_qfmask & dp->dp2.di_size,
705 blks -= howmany(ufsib->ufs_fsize, TP_BSIZE) - resid
    [all...]
rcache.c 115 nblksread = howmany(readblksize, ufsib->ufs_bsize);
276 daddr_t numBlocks = howmany(size, dev_bsize);
355 blkno += howmany(toCopy, dev_bsize);
356 numBlocks -= howmany(toCopy, dev_bsize);
367 howmany(toCopy, dev_bsize);
  /src/sys/arch/arm/rockchip/
rk_i2c.c 143 div = howmany(rate, sc->sc_clkfreq * 8) - 2;
149 divh = howmany(div, 2);
259 for (int i = 0; i < howmany(len + 1, 4); i++)
263 txdata.data32, howmany(len + 1, 4));
317 rxdata, howmany(buflen, 4));
324 for (int i = 0; i < howmany(buflen, 4); i++)
  /src/sys/arch/x86/x86/
cpu_rng.c 271 NBYTES = howmany(NBITS, 8),
272 NWORDS = howmany(NBITS, 64),
  /src/sbin/newfs_msdos/
mkfs_msdos.c 356 x1 = howmany(bpb.bsec, (1048576 / 512)); /* -> MB */
486 howmany((RESFTE + (bpb.spc ? MINCLS16 : MAXCLS12 + 1)) *
489 howmany(bpb.rde ? bpb.rde : DEFRDE,
492 (bpb.spc ? bpb.spc : howmany(DEFBLK, bpb.bps)))
496 howmany((RESFTE + MAXCLS16) * 2, bpb.bps) * bpb.nft +
497 howmany(DEFRDE, bpb.bps / sizeof(struct de)) +
499 (bpb.spc ? bpb.spc : howmany(8192, bpb.bps)))
536 rds = howmany(bpb.rde, bpb.bps / sizeof(struct de));
538 for (bpb.spc = howmany(o.fat_type == 16 ? DEFBLK16 : DEFBLK, bpb.bps);
541 howmany((RESFTE + maxcls(o.fat_type)) * (o.fat_type / BPN)
    [all...]
  /src/games/warp/
term.c 619 int howmany; local in function:circfill
623 howmany = read(devtty,circlebuf+nextin,metakey?1:PUSHSIZE-nextin);
624 if (howmany > 0) {
632 for (i = howmany+nextin-1; i >= nextin; i--)
634 nextin += howmany;
637 return howmany;
  /src/sbin/fsck_ext2fs/
setup.c 250 bmapsize = roundup(howmany(maxfsblock, NBBY), sizeof(int16_t));
334 howmany(sblock.e2fs.e2fs_bcount - sblock.e2fs.e2fs_first_dblock,
341 sblock.e2fs_ngdb = howmany(sblock.e2fs_ncg,
344 sblock.e2fs_itpg = howmany(sblock.e2fs.e2fs_ipg, sblock.e2fs_ipb);
532 howmany(fs->e2fs.e2fs_bcount - fs->e2fs.e2fs_first_dblock,
535 fs->e2fs_ngdb = howmany(fs->e2fs_ncg,
  /src/sbin/fsck_ffs/
pass5.c 148 inomapsize = howmany(fs->fs_ipg, CHAR_BIT);
150 blkmapsize = howmany(fs->fs_fpg, CHAR_BIT);
167 howmany(ffs_fragstoblks(fs, fs->fs_fpg), CHAR_BIT);
178 mapsize = &ocg->cg_free[howmany(fs->fs_fpg, NBBY)] -
180 blkmapsize = howmany(fs->fs_fpg, NBBY);
284 newcg->cg_old_ncyl = howmany(newcg->cg_ndblk,
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 33 #include <sys/param.h> /* XXX for roundup, howmany */
133 bb->bb_secsize = howmany(insb.st_size, ALPHA_BOOT_BLOCK_BLOCKSIZE);
  /src/sys/compat/netbsd32/
netbsd32_mod.c 83 #define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
  /src/sys/external/bsd/drm2/linux/
linux_hrtimer.c 177 nperiods = howmany(now_ms - expires_ms, period_ms);
  /src/usr.sbin/apmd/
apmd.c 76 static void make_noise(int howmany);
226 make_noise(int howmany)
259 syslog(LOG_DEBUG, "sending %d tones to speaker\n", howmany);
260 write (spkrfd, "o4cc", 2 + howmany);
  /src/usr.sbin/diskpart/
diskpart.c 188 threshold = howmany(spc, badsecttable);
199 dp->d_ncylinders = howmany(totsize, spc);
212 curcyl += howmany(defpart[def][part], spc);
231 numcyls[part] = howmany(defpart[def][part], spc);

Completed in 26 milliseconds

1 2 3 4 5 6 7 8 9