Home
last modified time | relevance | path

Searched refs:howmany (Results 51 – 75 of 114) sorted by relevance

12345

/dragonfly/usr.bin/rpcinfo/
H A Drpcinfo.c1642 spaces(int howmany) argument
1647 if (howmany <= 0 || howmany > sizeof (space_array)) {
1650 return (&space_array[sizeof (space_array) - howmany - 1]);
/dragonfly/sys/vfs/ext2fs/
H A Dext2_alloc.c1051 end = howmany(fs->e2fs_fpg, NBBY) - start; in ext2_alloccg()
1254 used_blks = howmany(fs->e2fs_ipg - in ext2_zero_inode_table()
1357 len = howmany(fs->e2fs_ipg - ipref, NBBY); in ext2_nodealloccg()
1518 len = howmany(fs->e2fs_fpg, NBBY) - start; in ext2_mapsearch()
/dragonfly/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c156 return howmany(unlen, WIN_CHARS); in winSlotCnt()
/dragonfly/sys/vfs/ufs/
H A Dffs_vfsops.c515 blks = howmany(fs->fs_cssize, fs->fs_fsize); in ffs_reload()
681 blks = howmany(size, fs->fs_fsize); in ffs_mountfs()
1268 blks = howmany(fs->fs_cssize, fs->fs_fsize); in ffs_sbupdate()
/dragonfly/sbin/fsck/
H A Dmain.c296 n_blks += howmany(sblock.fs_cssize, sblock.fs_fsize); in checkfilesys()
H A Dsetup.c284 bmapsize = roundup(howmany(maxfsblock, NBBY), sizeof(short)); in setup()
/dragonfly/lib/libc/stdio/
H A Dvfprintf.c371 #define PAD(howmany, with) { \ in __vfprintf() argument
372 if (io_pad(&io, (howmany), (with), locale)) \ in __vfprintf()
H A Dvfwprintf.c448 #define PAD(howmany, with) { \ in __vfwprintf() argument
449 if (io_pad(&io, (howmany), (with), locale)) \ in __vfwprintf()
/dragonfly/stand/lib/
H A Dext2fs.c385 groups = howmany(fs->fs_blocks - fs->fs_firstblk, fs->fs_bpg); in ext2fs_open()
387 blkgrps = howmany(groups, bg_per_blk); in ext2fs_open()
/dragonfly/usr.bin/systat/
H A Diostat.c189 regions = howmany(ndrives, DRIVESPERLINE); in numlabels()
/dragonfly/sys/dev/netif/ath/ath_hal/
H A Dah_internal.h44 #ifndef howmany
45 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/dragonfly/sys/vfs/msdosfs/
H A Dmsdosfs_vfsops.c454 pmp->pm_rootdirsize = howmany(pmp->pm_RootDirEnts * in mountmsdosfs()
565 pmp->pm_inusemap = kmalloc(howmany(pmp->pm_maxcluster + 1, in mountmsdosfs()
/dragonfly/sys/netinet/
H A Din_pcb.h389 #define DP_MAPSIZE (howmany(65536, DP_MAPBITS))
/dragonfly/sys/dev/drm/include/linux/
H A Dbitops.h37 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
/dragonfly/sbin/restore/
H A Dtape.c254 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY)); in setup()
264 map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY)); in setup()
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_power.c86 vap->iv_tim_len = howmany(vap->iv_max_aid,8) * sizeof(uint8_t); in ieee80211_power_latevattach()
/dragonfly/stand/boot/pc32/btxld/
H A Dbtxld.c232 cwr = howmany(ihdr.text, BTX_PGSIZE); in btxld()
/dragonfly/crypto/openssh/
H A Ddefines.h429 # define howmany(x,y) (((x)+((y)-1))/(y)) macro
/dragonfly/sys/vm/
H A Dvm_swap.c101 sz = howmany(bp->b_bcount, PAGE_SIZE); in swapdev_strategy()
/dragonfly/sys/kern/
H A Dkern_clock.c1196 ticks = (int)(sec * hz + howmany((u_long)usec, ustick)) + 1; in tvtohz_high()
1227 ticks = (int)(sec * hz + howmany((u_long)nsec, nstick)) + 1; in tstohz_high()
/dragonfly/sbin/ifconfig/
H A Difconfig.c706 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_other_status()
723 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_all_tunnel_status()
/dragonfly/contrib/ldns/
H A Drr.c1210 ldns_rr_list_pop_rr_list(ldns_rr_list *rr_list, size_t howmany) in ldns_rr_list_pop_rr_list() argument
1215 size_t i = howmany; in ldns_rr_list_pop_rr_list()
1230 if (i == howmany) { /* so i <= 0 */ in ldns_rr_list_pop_rr_list()
/dragonfly/usr.bin/telnet/
H A Dsys_bsd.c929 tmp = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in process_rings()
/dragonfly/usr.sbin/traceroute/
H A Dtraceroute.c742 fdsn = howmany(sock+1, NFDBITS) * sizeof(fd_mask); in wait_for_reply()
/dragonfly/usr.sbin/makefs/ffs/
H A Dffs_alloc.c567 len = howmany(fs->fs_fpg, NBBY) - start; in ffs_mapsearch()

12345