/dragonfly/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 1642 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 D | ext2_alloc.c | 1051 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 D | msdosfs_conv.c | 156 return howmany(unlen, WIN_CHARS); in winSlotCnt()
|
/dragonfly/sys/vfs/ufs/ |
H A D | ffs_vfsops.c | 515 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 D | main.c | 296 n_blks += howmany(sblock.fs_cssize, sblock.fs_fsize); in checkfilesys()
|
H A D | setup.c | 284 bmapsize = roundup(howmany(maxfsblock, NBBY), sizeof(short)); in setup()
|
/dragonfly/lib/libc/stdio/ |
H A D | vfprintf.c | 371 #define PAD(howmany, with) { \ in __vfprintf() argument 372 if (io_pad(&io, (howmany), (with), locale)) \ in __vfprintf()
|
H A D | vfwprintf.c | 448 #define PAD(howmany, with) { \ in __vfwprintf() argument 449 if (io_pad(&io, (howmany), (with), locale)) \ in __vfwprintf()
|
/dragonfly/stand/lib/ |
H A D | ext2fs.c | 385 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 D | iostat.c | 189 regions = howmany(ndrives, DRIVESPERLINE); in numlabels()
|
/dragonfly/sys/dev/netif/ath/ath_hal/ |
H A D | ah_internal.h | 44 #ifndef howmany 45 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/dragonfly/sys/vfs/msdosfs/ |
H A D | msdosfs_vfsops.c | 454 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 D | in_pcb.h | 389 #define DP_MAPSIZE (howmany(65536, DP_MAPBITS))
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | bitops.h | 37 #define BITS_TO_LONGS(n) howmany((n), BITS_PER_LONG)
|
/dragonfly/sbin/restore/ |
H A D | tape.c | 254 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 D | ieee80211_power.c | 86 vap->iv_tim_len = howmany(vap->iv_max_aid,8) * sizeof(uint8_t); in ieee80211_power_latevattach()
|
/dragonfly/stand/boot/pc32/btxld/ |
H A D | btxld.c | 232 cwr = howmany(ihdr.text, BTX_PGSIZE); in btxld()
|
/dragonfly/crypto/openssh/ |
H A D | defines.h | 429 # define howmany(x,y) (((x)+((y)-1))/(y)) macro
|
/dragonfly/sys/vm/ |
H A D | vm_swap.c | 101 sz = howmany(bp->b_bcount, PAGE_SIZE); in swapdev_strategy()
|
/dragonfly/sys/kern/ |
H A D | kern_clock.c | 1196 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 D | ifconfig.c | 706 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 D | rr.c | 1210 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 D | sys_bsd.c | 929 tmp = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in process_rings()
|
/dragonfly/usr.sbin/traceroute/ |
H A D | traceroute.c | 742 fdsn = howmany(sock+1, NFDBITS) * sizeof(fd_mask); in wait_for_reply()
|
/dragonfly/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 567 len = howmany(fs->fs_fpg, NBBY) - start; in ffs_mapsearch()
|