/dragonfly/sys/vfs/ufs/ |
H A D | ufs_dirhash.c | 134 narrays = howmany(nslots, DH_NBLKOFF); in ufsdirhash_build() 136 dirblocks = howmany(ip->i_size, DIRBLKSIZ); in ufsdirhash_build() 457 for (i = howmany(slotneeded, DIRALIGN); i <= DH_NFSTATS; i++) in ufsdirhash_findfree() 465 dh->dh_blkfree[dirblock] >= howmany(slotneeded, DIRALIGN), in ufsdirhash_findfree() 688 block = howmany(offset, DIRBLKSIZ); in ufsdirhash_dirtrunc()
|
H A D | fs.h | 337 /* inode map */ howmany((fs)->fs_ipg, NBBY) + \ 338 /* block map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPF(fs), NBBY) +\ 341 /* cluster map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPB(fs), NBBY)))
|
/dragonfly/usr.sbin/ppp/ |
H A D | defs.c | 394 return (fd_set *)malloc(howmany(getdtablesize(), NFDBITS) * sizeof (fd_mask)); in mkfdset() 400 memset(s, '\0', howmany(getdtablesize(), NFDBITS) * sizeof (fd_mask)); in zerofdset()
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | radix-tree.h | 40 howmany(sizeof(long) * NBBY, RADIX_TREE_MAP_SHIFT)
|
H A D | kernel.h | 59 #define DIV_ROUND_UP howmany
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwmvar.h | 163 uint8_t enabled_api[howmany(IWM_NUM_UCODE_TLV_API, NBBY)]; 164 uint8_t enabled_capa[howmany(IWM_NUM_UCODE_TLV_CAPA, NBBY)];
|
/dragonfly/sys/netproto/802_11/ |
H A D | _ieee80211.h | 78 #define IEEE80211_MODE_BYTES howmany(IEEE80211_MODE_MAX, NBBY) 155 #define IEEE80211_CHAN_BYTES howmany(IEEE80211_CHAN_MAX, NBBY)
|
/dragonfly/sbin/fsck/ |
H A D | inode.c | 76 ndb = howmany(dino.di_size, sblock.fs_bsize); in ckinode() 169 nif = howmany(isize , sizepb); in iblock() 379 blks = howmany(dp->di_size, sblock.fs_bsize); in cacheino()
|
/dragonfly/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.c | 151 howmany(new_image->size, diskStructure->sectorSize) * in cd9660_add_boot_disk() 152 howmany(diskStructure->sectorSize, 512); in cd9660_add_boot_disk() 399 catalog_sectors = howmany(num_entries * 0x20, diskStructure->sectorSize); in cd9660_setup_boot()
|
/dragonfly/sys/vfs/msdosfs/ |
H A D | msdosfs_conv.c | 642 if ((wep->weCnt&WIN_CNT) > howmany(WIN_MAXLEN, WIN_CHARS) in win2unixfn() 761 return howmany(WIN_MAXLEN - wlen/2, WIN_CHARS); in winSlotCnt() 766 return howmany(unlen, WIN_CHARS); in winSlotCnt()
|
/dragonfly/test/cocci/ |
H A D | useful_macros.cocci | 70 +howmany(X, Y)
|
/dragonfly/sys/dev/netif/ath/ath_hal/ |
H A D | ah.c | 337 numSymbols = howmany(numBits, bitsPerSymbol); in ath_computedur_ht() 384 numSymbols = howmany(numBits, bitsPerSymbol); in ath_hal_computetxtime() 394 numSymbols = howmany(numBits, bitsPerSymbol); in ath_hal_computetxtime() 404 numSymbols = howmany(numBits, bitsPerSymbol); in ath_hal_computetxtime() 414 numSymbols = howmany(numBits, bitsPerSymbol); in ath_hal_computetxtime()
|
/dragonfly/sys/net/netmap/ |
H A D | netmap.c | 784 u_int i, howmany, src_lim, dst_lim; in netmap_sw_to_nic() local 795 howmany = kring->nr_hwavail; /* XXX otherwise cur - reserved - nr_hwcur */ in netmap_sw_to_nic() 798 for (i = 0; howmany > 0 && i < na->num_tx_rings; i++, k1++) { in netmap_sw_to_nic() 799 ND("%d packets left to ring %d (space %d)", howmany, i, k1->nr_hwavail); in netmap_sw_to_nic() 801 while (howmany > 0 && k1->ring->avail > 0) { in netmap_sw_to_nic() 817 howmany--; in netmap_sw_to_nic()
|
/dragonfly/lib/libc/stdlib/ |
H A D | strfmon.c | 82 #define GRPCPY(howmany) do { \ argument 83 int i = howmany; \
|
/dragonfly/sys/dev/virtual/virtio/net/ |
H A D | if_vtnetvar.h | 252 howmany(sizeof(struct vtnet_rx_header) + VTNET_MAX_RX_SIZE, \
|
/dragonfly/sys/dev/raid/ida/ |
H A D | ida.c | 345 hwqcb->req.bcount = howmany(datasize, DEV_BSIZE); in ida_command() 411 hwqcb->req.bcount = howmany(bp->b_bcount, DEV_BSIZE); in ida_construct_qcb()
|
/dragonfly/sys/bus/firewire/ |
H A D | fwdma.c | 160 nseg = howmany(n, ssize / esize); in fwdma_malloc_multiseg()
|
H A D | fwcrom.c | 459 tl->crc_len = howmany(sizeof(struct csrtext) + len, sizeof(u_int32_t)); in crom_add_simple_text() 466 for (i = 0; i < howmany(len, sizeof(u_int32_t)); i ++) in crom_add_simple_text()
|
/dragonfly/contrib/file/src/ |
H A D | magic.c | 517 size_t howmany = in file_or_fd() local 522 if ((nbytes = read(fd, RCAST(void *, buf), howmany)) == -1) { in file_or_fd()
|
/dragonfly/sys/kern/ |
H A D | subr_param.c | 207 ntp_default_tick_delta = howmany(30000000, 60 * hz); in init_param1()
|
/dragonfly/usr.sbin/makefs/ |
H A D | cd9660.h | 120 howmany((__bytes), (__sector_size))
|
/dragonfly/sys/vfs/ext2fs/ |
H A D | ext2_vfsops.c | 620 fs->e2fs_gcount = howmany(fs->e2fs_bcount - in ext2_compute_sb_data() 640 e2fs_gdbcount_alloc = howmany(fs->e2fs_gcount, e2fs_descpb); in ext2_compute_sb_data() 643 e2fs_gdbcount_alloc = howmany(fs->e2fs_gcount, in ext2_compute_sb_data() 646 fs->e2fs_gdbcount = howmany(fs->e2fs_gcount, e2fs_descpb); in ext2_compute_sb_data() 1391 used_blocks = howmany(ip->i_size, fs->e2fs_bsize); in ext2_vget()
|
/dragonfly/lib/libc/stdio/ |
H A D | xprintf.c | 135 __printf_pad(struct __printf_io *io, int howmany, int zero) in __printf_pad() argument 146 if ((n = (howmany)) > 0) { in __printf_pad()
|
/dragonfly/usr.bin/ruptime/ |
H A D | ruptime.c | 191 minutes = howmany(tval, 60); in interval()
|
/dragonfly/sbin/fsdb/ |
H A D | fsdbutil.c | 241 ndb = howmany(dp->di_size, sblock.fs_bsize); in printblocks()
|