/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 53 ind = howmany(bsize, sizeof (daddr_t)); in nblk() 57 tot = howmany(size, bsize); in nblk() 80 tot *= howmany(bsize, DEV_BSIZE); in nblk() 82 tot = howmany(frags, DEV_BSIZE); in nblk()
|
H A D | ocfile.c | 278 howmany(svfsb.f_frsize, DEV_BSIZE) : in ocfile() 279 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bfree; in ocfile()
|
/titanic_44/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 163 int howmany; in sortid() local 169 howmany = 1; in sortid() 171 howmany++; in sortid() 173 qsort(startp, howmany, sizeof (aclent_t), in sortid()
|
/titanic_44/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
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | authfd.c | 210 auth->howmany = 0; in ssh_get_authentication_connection() 294 auth->howmany = buffer_get_int(&auth->identities); in ssh_get_num_identities() 295 if (auth->howmany > 1024) in ssh_get_num_identities() 297 auth->howmany); in ssh_get_num_identities() 299 return auth->howmany; in ssh_get_num_identities() 320 if (auth->howmany <= 0) in ssh_get_next_identity() 349 auth->howmany--; in ssh_get_next_identity()
|
H A D | packet.c | 949 setp = (fd_set *)xmalloc(howmany(connection_in+1, NFDBITS) * in packet_read_seqnr() 974 memset(setp, 0, howmany(connection_in + 1, NFDBITS) * in packet_read_seqnr() 1562 setp = (fd_set *)xmalloc(howmany(connection_out + 1, NFDBITS) * in packet_write_wait() 1566 memset(setp, 0, howmany(connection_out + 1, NFDBITS) * in packet_write_wait()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | select.h | 130 #ifndef howmany 131 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/titanic_44/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_subr.c | 380 (knp++)->value.ui64 = howmany(physical_read_bytes, PAGESIZE); in hsfs_kstats_update() 382 (knp++)->value.ui64 = howmany(readahead_bytes, PAGESIZE); in hsfs_kstats_update() 383 (knp++)->value.ui64 = howmany(coalesced_bytes, PAGESIZE); in hsfs_kstats_update()
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 311 dtrace_dropkind_t what, uint64_t howmany) in dt_handle_cpudrop() argument 323 drop.dtdda_drops = howmany; in dt_handle_cpudrop() 336 howmany, what == DTRACEDROP_PRINCIPAL ? "" : "aggregation ", in dt_handle_cpudrop() 337 howmany > 1 ? "s" : "", cpu); in dt_handle_cpudrop()
|
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | inode.c | 261 ndb = howmany(dino.di_size, (u_offset_t)sblock.fs_bsize); in ckinode_common() 300 frags = howmany((int)dp->di_size, sblock.fs_fsize) % in ckinode_common() 334 ndb = howmany(dino.di_size, (u_offset_t)sblock.fs_bsize); in ckinode_common() 349 (u_offset_t)howmany(dino.di_size, in ckinode_common() 504 nif = (offset_t)howmany(iblks, fsbperindirb); in iblock() 541 last_lbn = howmany(idesc->id_filesize, sblock.fs_bsize); in iblock() 1346 idesc.id_truncto = howmany(new_length, sblock.fs_bsize); in truncino()
|
H A D | pass1.c | 79 cgd += howmany(sblock.fs_cssize, sblock.fs_fsize); in pass1() 188 ndb = howmany(dp->di_size, (u_offset_t)sblock.fs_bsize); in verify_inode() 596 blocks = howmany(new_size, sblock.fs_bsize); in collapse_dirhole()
|
H A D | pass5.c | 98 inomapsize = howmany(fs->fs_ipg, NBBY); in pass5() 100 blkmapsize = howmany(fs->fs_fpg, NBBY); in pass5()
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | authfd.h | 72 int howmany; member
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_common.c | 83 vap->va_nblocks = howmany(vap->va_size, vap->va_blksize); in objfs_common_getattr()
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | altprivsep.c | 890 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_send() 891 memset(setp, 0, howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_send() 955 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_read() 956 memset(setp, 0, howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_read()
|
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | dockspace.c | 171 howmany(svfsb.f_frsize, DEV_BSIZE) : in fsys_stat() 172 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bavail; in fsys_stat()
|
/titanic_44/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)) 1345 howmany(MAXIpG(&sblock), NBBY)) / in main() 1634 roundup(howmany(bbsize + sbsize, sblock.fs_fsize), sblock.fs_frag); in main() 1636 roundup(howmany(sbsize, sblock.fs_fsize), sblock.fs_frag)); in main() 1640 howmany(sblock.fs_nsect, NSPF(&sblock)), sblock.fs_frag); in main() 1664 mincpgcnt = (long)howmany((uint64_t)sblock.fs_cgoffset * in main() 2528 dupper += howmany(sblock.fs_cssize, sblock.fs_fsize); in initcg() 2551 icg.cg_freeoff = icg.cg_iusedoff + howmany(sblock.fs_ipg, NBBY); in initcg() 2553 howmany(sblock.fs_cpg * sblock.fs_spc / NSPF(&sblock), NBBY); in initcg() [all …]
|
/titanic_44/usr/src/ucbhead/sys/ |
H A D | param.h | 265 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 614 entsrc->parity = kmem_alloc(howmany(entsrc->nblocks, 8), in physmem_ent_init() 620 i = howmany(entsrc->nblocks, 8); in physmem_ent_init() 651 kmem_free(entsrc->parity, howmany(entsrc->nblocks, 8)); in physmem_ent_fini()
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 386 uint_t llcn = howmany((offset_t)length, fsp->pcfs_clsize); in pc_truncate() 393 if ((daddr_t)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize) < in pc_truncate() 445 howmany((offset_t)length, fsp->pcfs_clsize)); in pc_truncate()
|
H A D | pc_alloc.c | 97 lcn >= (daddr_t)howmany((offset_t)pcp->pc_size, in pc_bmap() 272 n = (int)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize); in pc_bfree()
|
/titanic_44/usr/src/lib/libc/port/locale/ |
H A D | strfmon.c | 85 #define GRPCPY(howmany) { \ argument 86 int i = howmany; \
|
/titanic_44/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)
|
/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | osdep.h | 130 #define DIV_ROUND_UP(x, y) howmany(x, y)
|