/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 53 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 D | ocfile.c | 278 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 D | types.h | 67 #ifndef howmany 68 #define howmany(x, y) (((x)+((y)-1))/(y)) macro 72 fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
|
H A D | param.h | 188 #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 D | aclsort.c | 163 int howmany; local 169 howmany = 1; 171 howmany++; 173 qsort(startp, howmany, sizeof (aclent_t),
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | select.h | 130 #ifndef howmany 131 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_common.c | 83 vap->va_nblocks = howmany(vap->va_size, vap->va_blksize);
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | param.h | 290 #ifndef howmany 291 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_subr.c | 380 (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 D | dt_handle.c | 311 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 D | dockspace.c | 171 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 D | inode.c | 261 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 D | pass1.c | 79 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 D | pass5.c | 98 inomapsize = howmany(fs->fs_ipg, NBBY); 100 blkmapsize = howmany(fs->fs_fpg, NBBY);
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 453 /* 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 D | dumpmirror.c | 160 rr_bitmap_size = howmany(num_rr, NBBY);
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_utils.h | 79 #define OCE_NUM_PAGES(size) howmany(size, PAGE_4K)
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | param.h | 265 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 614 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 D | pc_node.c | 383 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 D | pc_alloc.c | 97 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 D | strfmon.c | 85 #define GRPCPY(howmany) { \ 86 int i = howmany; \
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 275 /* 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 D | osdep.h | 130 #define DIV_ROUND_UP(x, y) howmany(x, y)
|
/illumos-gate/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_resync.c | 189 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...] |