/freebsd-10.0-release/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 101 flowc->flowid_len16 = htonl(V_FW_WR_LEN16(howmany(flowclen, 16)) | 130 txsd->tx_credits = howmany(flowclen, 16); 389 req->wr.wr_mid = htonl(V_FW_WR_LEN16(howmany(sizeof(*req), 16)) | 403 #define MIN_OFLD_TX_CREDITS (howmany(sizeof(struct fw_ofld_tx_data_wr) + 1, 16)) 662 credits = howmany(wr->wr_len, 16); 680 credits = howmany(wr_len, 16);
|
/freebsd-10.0-release/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 232 #define PAD(howmany, with) do \ 234 if ((n = (howmany)) > 0) \
|
/freebsd-10.0-release/lib/libc/stdio/ |
H A D | vfprintf.c | 376 #define PAD(howmany, with) { \ 377 if (io_pad(&io, (howmany), (with), locale)) \
|
H A D | vfwprintf.c | 456 #define PAD(howmany, with) { \ 457 if (io_pad(&io, (howmany), (with), locale)) \
|
/freebsd-10.0-release/sys/dev/firewire/ |
H A D | fwcrom.c | 465 tl->crc_len = howmany(sizeof(struct csrtext) + len, sizeof(uint32_t)); 472 for (i = 0; i < howmany(len, sizeof(uint32_t)); i ++)
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | ssh-pkcs11-helper.c | 298 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask);
|
H A D | defines.h | 363 # define howmany(x,y) (((x)+((y)-1))/(y)) macro
|
H A D | packet.c | 1061 setp = (fd_set *)xcalloc(howmany(active_state->connection_in + 1, 1086 memset(setp, 0, howmany(active_state->connection_in + 1, 1750 setp = (fd_set *)xcalloc(howmany(active_state->connection_out + 1, 1754 memset(setp, 0, howmany(active_state->connection_out + 1,
|
H A D | sshconnect.c | 306 fdset = (fd_set *)xcalloc(howmany(sockfd + 1, NFDBITS), 503 fdsetsz = howmany(connection_in + 1, NFDBITS) * sizeof(fd_mask);
|
/freebsd-10.0-release/sbin/fsdb/ |
H A D | fsdbutil.c | 294 ndb = howmany(DIP(dp, di_size), sblock.fs_bsize);
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | sysmacros.h | 220 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | bitops.h | 37 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
|
/freebsd-10.0-release/usr.bin/systat/ |
H A D | iostat.c | 203 regions = howmany(ndrives, DRIVESPERLINE);
|
/freebsd-10.0-release/sbin/fsck_ffs/ |
H A D | fsutil.c | 716 cgp->cg_freeoff = cgp->cg_iusedoff + howmany(sblock.fs_ipg, CHAR_BIT); 717 cgp->cg_nextfreeoff = cgp->cg_freeoff + howmany(sblock.fs_fpg,CHAR_BIT); 726 howmany(fragstoblks(&sblock, sblock.fs_fpg), CHAR_BIT);
|
H A D | main.c | 494 blks += howmany(sblock.fs_cssize, sblock.fs_fsize);
|
/freebsd-10.0-release/sys/fs/ext2fs/ |
H A D | ext2_alloc.c | 698 end = howmany(fs->e2fs->e2fs_fpg, NBBY) - start; 925 len = howmany(fs->e2fs->e2fs_ipg - ipref, NBBY); 1071 len = howmany(fs->e2fs->e2fs_fpg, NBBY) - start;
|
/freebsd-10.0-release/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 657 if ((wep->weCnt&WIN_CNT) > howmany(WIN_MAXLEN, WIN_CHARS) 768 return howmany(WIN_MAXLEN - wlen/2, WIN_CHARS); 773 return howmany(unlen, WIN_CHARS);
|
/freebsd-10.0-release/sbin/dumpfs/ |
H A D | dumpfs.c | 298 howmany(afs.fs_old_size % afs.fs_fpg,
|
/freebsd-10.0-release/sys/kern/ |
H A D | subr_uio.c | 87 #define PHYS_PAGE_COUNT(len) (howmany(len, PAGE_SIZE) + 1)
|
H A D | tty_inq.c | 120 ti->ti_quota = howmany(size, TTYINQ_DATASIZE);
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_power.c | 84 vap->iv_tim_len = howmany(vap->iv_max_aid,8) * sizeof(uint8_t);
|
/freebsd-10.0-release/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 1664 spaces(int howmany) argument 1669 if (howmany <= 0 || howmany > sizeof (space_array)) { 1672 return (&space_array[sizeof (space_array) - howmany - 1]);
|
/freebsd-10.0-release/lib/libstand/ |
H A D | ext2fs.c | 392 groups = howmany(fs->fs_blocks - fs->fs_firstblk, fs->fs_bpg); 394 blkgrps = howmany(groups, bg_per_blk);
|
/freebsd-10.0-release/sbin/ifconfig/ |
H A D | ifconfig.c | 396 uint8_t afmask[howmany(AF_MAX, NBBY)]; 413 uint8_t afmask[howmany(AF_MAX, NBBY)];
|
/freebsd-10.0-release/sys/compat/x86bios/ |
H A D | x86bios.c | 335 j < howmany(size, X86BIOS_PAGE_SIZE); i++, j++) 569 sizeof(*x86bios_map) * howmany(size, X86BIOS_PAGE_SIZE));
|