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

/xnu-2422.115.4/bsd/netinet6/
H A Dip6_mroute.h110 #ifndef howmany
111 #define howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) macro
115 if_mask ifs_bits[howmany(IF_SETSIZE, NIFBITS)];
/xnu-2422.115.4/bsd/sys/
H A Dparam.h216 #ifndef howmany
217 #define howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) macro
H A Dtypes.h184 #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ macro
/xnu-2422.115.4/osfmk/kern/
H A Dipc_kobject.c220 int howmany; local
233 for (pos = MIG_HASH(nentry) % MAX_MIG_ENTRIES, howmany = 1;
235 pos++, pos = pos % MAX_MIG_ENTRIES, howmany++) {
240 if (howmany == MAX_MIG_ENTRIES)
251 mig_table_max_displ = max(howmany, mig_table_max_displ);
/xnu-2422.115.4/bsd/dev/vn/
H A Dshadow.c425 off_t blocks = howmany(file_size, block_size);
426 return (howmany(blocks, NBBY));
578 n_bands = howmany(file_size, band_size);
613 map->shadow_size_bands = howmany(shadow_size, band_size);
H A Dvn.c810 sz = howmany(buf_count(bp), vn->sc_secsize);
/xnu-2422.115.4/osfmk/default_pager/
H A Ddefault_pager_internal.h180 #define howmany(a,b) ((((a) % (b)) == 0) ? ((a) / (b)) : (((a) / (b)) + 1))
483 #define RMAPSIZE(blocks) (howmany(blocks,NBBY))
H A Ddp_backing_store.c1755 for (; byte_num < howmany(ps->ps_ncls, NBBY); byte_num++) {
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/
H A DFileExtentMapping.c1013 blocksToAdd = howmany(bytesToAdd, volumeBlockSize);
1061 maximumBytes = (int64_t)howmany(bytesToAdd, vcb->vcbClpSiz);
1205 howmany(MIN(bytesToAdd, availbytes), volumeBlockSize),
1206 howmany(MIN(maximumBytes, availbytes), volumeBlockSize),
1438 nextBlock = howmany(peof, vcb->blockSize); // number of allocation blocks to remain in file
/xnu-2422.115.4/bsd/kern/
H A Dsys_generic.c978 nw = howmany(uap->nd, NFDBITS);
1244 nw = howmany(uap->nd, NFDBITS);
1313 nw = howmany(nfd, NFDBITS);
1643 nw = howmany(nfd, NFDBITS);
1734 nw = howmany(nfd, NFDBITS);
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_btreeio.c762 num_map_nodes = howmany(btcb->totalNodes - temp, bytes_per_map_record * 8);
H A Dhfs_xattr.c602 if (totalblocks > howmany(HFS_XATTR_MAXSIZE, hfsmp->blockSize)) {
1109 blkcnt = howmany(attrsize, hfsmp->blockSize);
2452 blkcnt = howmany(attrsize, hfsmp->blockSize);
H A Dhfs_catalog.c1998 howmany(forkp->cf_bytesread, blksize);
2008 howmany(forkp->cf_bytesread, blksize);
2682 blkcount = howmany(kHFSAliasSize, blksize);
H A Dhfs_hotfiles.c1889 nodecnt = 2 + howmany(entries * 2, entirespernode);
H A Dhfs_vnops.c799 blks = howmany(VTOF(vp)->ff_size, VTOVCB(vp)->blockSize);
822 blks = howmany(VTOF(vp)->ff_size, VTOVCB(vp)->blockSize);
H A Dhfs_readwrite.c4940 datablks = howmany(fp->ff_size, blksize);
H A Dhfs_vfsops.c6308 jnlBlockCount = howmany(jnl_size, hfsmp->blockSize);

Completed in 168 milliseconds