Home
last modified time | relevance | path

Searched refs:howmany (Results 1 – 25 of 76) sorted by relevance

1234

/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c53 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 Docfile.c278 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 Daclsort.c163 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 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
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dauthfd.c210 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 Dpacket.c949 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 Dselect.h130 #ifndef howmany
131 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/titanic_44/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c380 (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 Ddt_handle.c311 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 Dinode.c261 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 Dpass1.c79 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 Dpass5.c98 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 Dauthfd.h72 int howmany; member
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c83 vap->va_nblocks = howmany(vap->va_size, vap->va_blksize); in objfs_common_getattr()
/titanic_44/usr/src/cmd/ssh/sshd/
H A Daltprivsep.c890 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 Ddockspace.c171 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 Dmkfs.c275 /* 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 Dparam.h265 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
/titanic_44/usr/src/uts/common/crypto/io/
H A Dswrand.c614 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 Dpc_node.c386 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 Dpc_alloc.c97 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 Dstrfmon.c85 #define GRPCPY(howmany) { \ argument
86 int i = howmany; \
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_utils.h79 #define OCE_NUM_PAGES(size) howmany(size, PAGE_4K)
/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h130 #define DIV_ROUND_UP(x, y) howmany(x, y)

1234