/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | delay.h | 59 DELAY(howmany(x, 1000));
|
H A D | jiffies.h | 75 result = howmany(msec * (u64)hz, 1000ULL); 87 result = howmany(u * (u64)hz, 1000000ULL); 97 return (usecs_to_jiffies(howmany(n, 1000ULL)));
|
H A D | types.h | 64 unsigned long n[howmany(bits, sizeof(long) * 8)]
|
/freebsd-11.0-release/sbin/ffsinfo/ |
H A D | ffsinfo.c | 380 rb=howmany(ino->di_size, sblock.fs_bsize)-NDADDR; 395 rb-=howmany(sblock.fs_bsize, sizeof(ufs1_daddr_t)); 410 howmany(rb, howmany(sblock.fs_bsize, sizeof(ufs1_daddr_t)))); 411 for(ind2ctr=0; ((ind2ctr < howmany(sblock.fs_bsize, 426 rb-=howmany(sblock.fs_bsize, sizeof(ufs1_daddr_t)); 443 howmany(rb, 444 SQUARE(howmany(sblock.fs_bsize, sizeof(ufs1_daddr_t))))); 446 for(ind3ctr=0; ((ind3ctr<howmany(sblock.fs_bsize, 460 howmany(r [all...] |
/freebsd-11.0-release/lib/libc/stdio/ |
H A D | printfcommon.h | 115 io_pad(struct io_state *iop, int howmany, const CHAR * __restrict with, argument 120 while (howmany > 0) { 121 n = (howmany >= PADSIZE) ? PADSIZE : howmany; 124 howmany -= n;
|
/freebsd-11.0-release/usr.bin/du/ |
H A D | du.c | 223 cblocksize = howmany(cblocksize, DEV_BSIZE) * DEV_BSIZE; 245 threshold = howmany(threshold / DEV_BSIZE * cblocksize, 266 howmany(p->fts_statp->st_size, cblocksize) : 267 howmany(p->fts_statp->st_blocks, cblocksize); 272 threshold_sign * howmany(p->fts_bignum * 279 (intmax_t)howmany(p->fts_bignum * 306 howmany(p->fts_statp->st_size, cblocksize) : 307 howmany(p->fts_statp->st_blocks, cblocksize); 315 (intmax_t)howmany(curblocks * 334 (void)printf("%jd\ttotal\n", (intmax_t)howmany( [all...] |
/freebsd-11.0-release/sys/compat/cloudabi64/ |
H A D | cloudabi64_module.c | 80 *stack_base -= howmany(sizeof(canarybuf), sizeof(register_t)); 114 *stack_base -= howmany(sizeof(auxv), sizeof(register_t)); 120 *stack_base -= howmany(sizeof(cloudabi64_tcb_t), sizeof(register_t));
|
/freebsd-11.0-release/sys/netinet6/ |
H A D | 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)];
|
/freebsd-11.0-release/usr.sbin/ctm/ctm_smail/ |
H A D | ctm_smail.c | 119 #undef howmany macro 120 #define howmany(x,y) (((x)+((y)-1)) / (y)) macro 129 exp_size += howmany(exp_size, LINE_LENGTH); 130 npieces = howmany(exp_size, max_msg_size); 131 msg_size = howmany(ctm_size, npieces); 133 #undef howmany macro
|
/freebsd-11.0-release/sys/dev/sfxge/ |
H A D | sfxge_tx.h | 55 #define SFXGE_TSO_MAX_SEGS howmany(SFXGE_TSO_MAX_SIZE, 512) 67 (2 + howmany(SFXGE_TSO_MAX_SIZE, MCLBYTES) + 1)
|
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | mkfs.c | 284 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 287 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag)); 320 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 326 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 343 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 352 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 364 sblock.fs_ncg = howmany(sblock.fs_size, sblock.fs_fpg); 376 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 403 blks = howmany(size, sblock.fs_fsize); 440 csfrags = howmany(sbloc [all...] |
/freebsd-11.0-release/sbin/dump/ |
H A D | traverse.c | 117 blkest = howmany(dbtob(DIP(dp, di_blocks)), TP_BSIZE); 118 sizeest = howmany(DIP(dp, di_size), TP_BSIZE); 124 howmany(sizeest - NDADDR * sblock->fs_bsize / TP_BSIZE, 563 cnt = howmany(DIP(dp, di_size), sblock->fs_fsize); 602 cnt = howmany(*size, sblock->fs_fsize); 632 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); 674 blks = howmany(frags * sblock->fs_fsize, TP_BSIZE); 677 resid = howmany(fragoff(sblock, spcl.c_extsize), 680 resid = howmany(fragoff(sblock, dp->dp2.di_size), 683 blks -= howmany(sbloc [all...] |
/freebsd-11.0-release/sbin/growfs/ |
H A D | debug.c | 521 e = howmany(sb->fs_old_cpg * sb->fs_old_spc / sb->fs_old_nspf, 567 e = howmany(sb->fs_old_cpg * sb->fs_old_spc / (sb->fs_old_nspf << sb->fs_fragshift), CHAR_BIT); 696 remaining_blocks = howmany(ino->di_size, sb->fs_bsize); /* XXX ts - +1? */ 706 remaining_blocks -= howmany(sb->fs_bsize, sizeof(ufs1_daddr_t)); 712 remaining_blocks -= SQUARE(howmany(sb->fs_bsize, sizeof(ufs1_daddr_t))); 773 remaining_blocks = howmany(ino->di_size, sb->fs_bsize); /* XXX ts - +1? */ 783 remaining_blocks -= howmany(sb->fs_bsize, sizeof(ufs2_daddr_t)); 789 remaining_blocks -= SQUARE(howmany(sb->fs_bsize, sizeof(ufs2_daddr_t))); 825 for (i = 0; (size_t)i < MIN(howmany(sb->fs_bsize, size), length);
|
/freebsd-11.0-release/lib/libufs/ |
H A D | sblock.c | 97 blks = howmany(size, fs->fs_fsize); 147 blks = howmany(fs->fs_cssize, fs->fs_fsize);
|
/freebsd-11.0-release/sys/sys/ |
H A D | param.h | 290 #ifndef howmany 291 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/freebsd-11.0-release/contrib/pf/libevent/ |
H A D | select.c | 56 #ifndef howmany 57 #define howmany(x, y) (((x)+((y)-1))/(y)) macro 104 select_resize(sop, howmany(32 + 1, NFDBITS)*sizeof(fd_mask)); 292 (howmany(ev->ev_fd + 1, NFDBITS) * sizeof(fd_mask)))
|
/freebsd-11.0-release/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 137 u_int *j, u_int lim, u_int *howmany) 396 /* Update howmany. */ 397 if (unlikely(dst_slots > *howmany)) { 398 dst_slots = *howmany; 401 *howmany -= dst_slots; 134 bdg_mismatch_datapath(struct netmap_vp_adapter *na, struct netmap_vp_adapter *dst_na, struct nm_bdg_fwd *ft_p, struct netmap_ring *ring, u_int *j, u_int lim, u_int *howmany) argument
|
/freebsd-11.0-release/sbin/newfs/ |
H A D | mkfs.c | 299 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 302 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag); 361 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 367 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 383 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 394 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 406 sblock.fs_ncg = howmany(sblock.fs_size, sblock.fs_fpg); 418 sblock.fs_ipg = roundup(howmany(sblock.fs_fpg, fragsperinode), 466 csfrags = howmany(sblock.fs_cssize, sblock.fs_fsize); 471 howmany(csfrag [all...] |
/freebsd-11.0-release/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 355 numSymbols = howmany(numBits, bitsPerSymbol); 365 numSymbols = howmany(numBits, bitsPerSymbol); 375 numSymbols = howmany(numBits, bitsPerSymbol); 386 numSymbols = howmany(numBits, bitsPerSymbol); 421 numSymbols = howmany(numBits, bitsPerSymbol);
|
/freebsd-11.0-release/sbin/newfs_msdos/ |
H A D | mkfs_msdos.c | 449 howmany((RESFTE + (bpb.bpbSecPerClust ? MINCLS16 : MAXCLS12 + 1)) * 453 howmany(bpb.bpbRootDirEnts ? bpb.bpbRootDirEnts : DEFRDE, 457 howmany(DEFBLK, bpb.bpbBytesPerSec))) 461 howmany((RESFTE + MAXCLS16) * 2, bpb.bpbBytesPerSec) * 463 howmany(DEFRDE, bpb.bpbBytesPerSec / sizeof(struct de)) + 466 howmany(8192, bpb.bpbBytesPerSec))) 505 rds = howmany(bpb.bpbRootDirEnts, bpb.bpbBytesPerSec / sizeof(struct de)); 507 for (bpb.bpbSecPerClust = howmany(fat == 16 ? DEFBLK16 : 511 howmany((RESFTE + maxcls(fat)) * (fat / BPN), 533 x2 = howmany((RESFT [all...] |
/freebsd-11.0-release/sbin/fsck_ffs/ |
H A D | pass5.c | 130 inomapsize = howmany(fs->fs_ipg, CHAR_BIT); 132 blkmapsize = howmany(fs->fs_fpg, CHAR_BIT); 142 howmany(fragstoblks(fs, fs->fs_fpg), CHAR_BIT); 180 newcg->cg_old_ncyl = howmany(newcg->cg_ndblk, 426 inomapsize = howmany(fs->fs_ipg, CHAR_BIT); 440 howmany(fs->fs_fpg, CHAR_BIT),
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 60 nmemb = howmany(maxfd + 1 , NFDBITS);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_handle.c | 313 dtrace_dropkind_t what, uint64_t howmany) 325 drop.dtdda_drops = howmany; 338 (u_longlong_t)howmany, 340 howmany > 1 ? "s" : "", cpu); 312 dt_handle_cpudrop(dtrace_hdl_t *dtp, processorid_t cpu, dtrace_dropkind_t what, uint64_t howmany) argument
|
/freebsd-11.0-release/sys/dev/drm2/ |
H A D | drm_atomic.h | 40 #define BITS_TO_LONGS(x) howmany(x, NB_BITS_PER_LONG)
|
/freebsd-11.0-release/tools/tools/vt/mkkfont/ |
H A D | mkkfont.c | 62 gbytes = howmany(fh->width, 8) * fh->height;
|