Searched refs:howmany (Results 51 - 75 of 133) sorted by relevance

123456

/freebsd-10.0-release/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c101 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 Dvfprintf.c232 #define PAD(howmany, with) do \
234 if ((n = (howmany)) > 0) \
/freebsd-10.0-release/lib/libc/stdio/
H A Dvfprintf.c376 #define PAD(howmany, with) { \
377 if (io_pad(&io, (howmany), (with), locale)) \
H A Dvfwprintf.c456 #define PAD(howmany, with) { \
457 if (io_pad(&io, (howmany), (with), locale)) \
/freebsd-10.0-release/sys/dev/firewire/
H A Dfwcrom.c465 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 Dssh-pkcs11-helper.c298 set_size = howmany(max + 1, NFDBITS) * sizeof(fd_mask);
H A Ddefines.h363 # define howmany(x,y) (((x)+((y)-1))/(y)) macro
H A Dpacket.c1061 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 Dsshconnect.c306 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 Dfsdbutil.c294 ndb = howmany(DIP(dp, di_size), sblock.fs_bsize);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h220 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/freebsd-10.0-release/sys/ofed/include/linux/
H A Dbitops.h37 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
/freebsd-10.0-release/usr.bin/systat/
H A Diostat.c203 regions = howmany(ndrives, DRIVESPERLINE);
/freebsd-10.0-release/sbin/fsck_ffs/
H A Dfsutil.c716 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 Dmain.c494 blks += howmany(sblock.fs_cssize, sblock.fs_fsize);
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dext2_alloc.c698 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 Dmsdosfs_conv.c657 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 Ddumpfs.c298 howmany(afs.fs_old_size % afs.fs_fpg,
/freebsd-10.0-release/sys/kern/
H A Dsubr_uio.c87 #define PHYS_PAGE_COUNT(len) (howmany(len, PAGE_SIZE) + 1)
H A Dtty_inq.c120 ti->ti_quota = howmany(size, TTYINQ_DATASIZE);
/freebsd-10.0-release/sys/net80211/
H A Dieee80211_power.c84 vap->iv_tim_len = howmany(vap->iv_max_aid,8) * sizeof(uint8_t);
/freebsd-10.0-release/usr.bin/rpcinfo/
H A Drpcinfo.c1664 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 Dext2fs.c392 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 Difconfig.c396 uint8_t afmask[howmany(AF_MAX, NBBY)];
413 uint8_t afmask[howmany(AF_MAX, NBBY)];
/freebsd-10.0-release/sys/compat/x86bios/
H A Dx86bios.c335 j < howmany(size, X86BIOS_PAGE_SIZE); i++, j++)
569 sizeof(*x86bios_map) * howmany(size, X86BIOS_PAGE_SIZE));

Completed in 320 milliseconds

123456