Searched refs:howmany (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c53 ind = howmany(bsize, sizeof (daddr_t));
57 tot = howmany(size, bsize);
80 tot *= howmany(bsize, DEV_BSIZE);
82 tot = howmany(frags, DEV_BSIZE);
H A Docfile.c278 howmany(svfsb.f_frsize, DEV_BSIZE) :
279 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bfree;
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dtypes.h67 #ifndef howmany
68 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
72 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
H A Dparam.h188 #define howmany(x, y) ((((u_int)(x))+(((u_int)(y))-1))/((u_int)(y))) macro
191 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/illumos-gate/usr/src/lib/libsec/common/
H A Daclsort.c163 int howmany; local
169 howmany = 1;
171 howmany++;
173 qsort(startp, howmany, sizeof (aclent_t),
/illumos-gate/usr/src/uts/common/sys/
H A Dselect.h130 #ifndef howmany
131 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c83 vap->va_nblocks = howmany(vap->va_size, vap->va_blksize);
/illumos-gate/usr/src/boot/sys/sys/
H A Dparam.h290 #ifndef howmany
291 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c380 (knp++)->value.ui64 = howmany(physical_read_bytes, PAGESIZE);
382 (knp++)->value.ui64 = howmany(readahead_bytes, PAGESIZE);
383 (knp++)->value.ui64 = howmany(coalesced_bytes, PAGESIZE);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_handle.c311 dtrace_dropkind_t what, uint64_t howmany)
323 drop.dtdda_drops = howmany;
336 howmany, what == DTRACEDROP_PRINCIPAL ? "" : "aggregation ",
337 howmany > 1 ? "s" : "", cpu);
310 dt_handle_cpudrop(dtrace_hdl_t *dtp, processorid_t cpu, dtrace_dropkind_t what, uint64_t howmany) argument
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Ddockspace.c171 howmany(svfsb.f_frsize, DEV_BSIZE) :
172 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bavail;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c261 ndb = howmany(dino.di_size, (u_offset_t)sblock.fs_bsize);
300 frags = howmany((int)dp->di_size, sblock.fs_fsize) %
334 ndb = howmany(dino.di_size, (u_offset_t)sblock.fs_bsize);
349 (u_offset_t)howmany(dino.di_size,
504 nif = (offset_t)howmany(iblks, fsbperindirb);
541 last_lbn = howmany(idesc->id_filesize, sblock.fs_bsize);
1346 idesc.id_truncto = howmany(new_length, sblock.fs_bsize);
H A Dpass1.c79 cgd += howmany(sblock.fs_cssize, sblock.fs_fsize);
188 ndb = howmany(dp->di_size, (u_offset_t)sblock.fs_bsize);
596 blocks = howmany(new_size, sblock.fs_bsize);
H A Dpass5.c98 inomapsize = howmany(fs->fs_ipg, NBBY);
100 blkmapsize = howmany(fs->fs_fpg, NBBY);
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h453 /* inode map */ howmany((fs)->fs_ipg, NBBY) + \
454 /* block map */ howmany((fs)->fs_fpg, NBBY) +\
457 /* cluster map */ howmany(fragstoblks(fs, (fs)->fs_fpg), NBBY)))
/illumos-gate/usr/src/cmd/mdb/common/modules/md/
H A Ddumpmirror.c160 rr_bitmap_size = howmany(num_rr, NBBY);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_utils.h79 #define OCE_NUM_PAGES(size) howmany(size, PAGE_4K)
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h265 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dswrand.c614 entsrc->parity = kmem_alloc(howmany(entsrc->nblocks, 8),
620 i = howmany(entsrc->nblocks, 8);
651 kmem_free(entsrc->parity, howmany(entsrc->nblocks, 8));
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c383 uint_t llcn = howmany((offset_t)length, fsp->pcfs_clsize);
390 if ((daddr_t)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize) <
442 howmany((offset_t)length, fsp->pcfs_clsize));
H A Dpc_alloc.c97 lcn >= (daddr_t)howmany((offset_t)pcp->pc_size,
272 n = (int)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrfmon.c85 #define GRPCPY(howmany) { \
86 int i = howmany; \
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c275 /* inode map */ howmany((fs)->fs_ipg, NBBY) + \
276 /* block map */ howmany((fs)->fs_cpg * (fs)->fs_spc / NSPF(fs), NBBY))
1349 howmany(MAXIpG(&sblock), NBBY)) /
1655 roundup(howmany(bbsize + sbsize, sblock.fs_fsize), sblock.fs_frag);
1657 roundup(howmany(sbsize, sblock.fs_fsize), sblock.fs_frag));
1661 howmany(sblock.fs_nsect, NSPF(&sblock)), sblock.fs_frag);
1685 mincpgcnt = (long)howmany((uint64_t)sblock.fs_cgoffset *
2549 dupper += howmany(sblock.fs_cssize, sblock.fs_fsize);
2572 icg.cg_freeoff = icg.cg_iusedoff + howmany(sblock.fs_ipg, NBBY);
2574 howmany(sbloc
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h130 #define DIV_ROUND_UP(x, y) howmany(x, y)
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c189 data_bytes = MIN(howmany(un->un_rrd_num - start_bit, NBBY),
732 size = howmany(num_rr, NBBY) + sizeof (*orp) - sizeof (orp->or_rr);
760 for (i = 0; i < howmany(num_rr, NBBY); i++)
823 un->un_goingclean_bm = (uchar_t *)kmem_zalloc((uint_t)(howmany(
825 un->un_goingdirty_bm = (uchar_t *)kmem_zalloc((uint_t)(howmany(
829 un->un_resync_bm = (uchar_t *)kmem_zalloc((uint_t)(howmany(
841 kmem_zalloc((uint_t)(howmany(un->un_rrd_num, NBBY)),
874 howmany(un->un_rrd_num, NBBY));
3116 (uint_t)howmany(un->un_rrd_num, NBBY), KM_SLEEP);
3212 mirror_copy_rr(howmany(u
[all...]

Completed in 107 milliseconds

123