Searched refs:howmany (Results 1 - 17 of 17) sorted by relevance
/xnu-2422.115.4/bsd/netinet6/ |
H A D | ip6_mroute.h | 110 #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 D | param.h | 216 #ifndef howmany 217 #define howmany(x, y) ((((x) % (y)) == 0) ? ((x) / (y)) : (((x) / (y)) + 1)) macro
|
H A D | types.h | 184 #define howmany(x, y) __DARWIN_howmany(x, y) /* # y's == x bits? */ macro
|
/xnu-2422.115.4/osfmk/kern/ |
H A D | ipc_kobject.c | 220 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 D | shadow.c | 425 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 D | vn.c | 810 sz = howmany(buf_count(bp), vn->sc_secsize);
|
/xnu-2422.115.4/osfmk/default_pager/ |
H A D | default_pager_internal.h | 180 #define howmany(a,b) ((((a) % (b)) == 0) ? ((a) / (b)) : (((a) / (b)) + 1)) 483 #define RMAPSIZE(blocks) (howmany(blocks,NBBY))
|
H A D | dp_backing_store.c | 1755 for (; byte_num < howmany(ps->ps_ncls, NBBY); byte_num++) {
|
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 1013 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 D | sys_generic.c | 978 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 D | hfs_btreeio.c | 762 num_map_nodes = howmany(btcb->totalNodes - temp, bytes_per_map_record * 8);
|
H A D | hfs_xattr.c | 602 if (totalblocks > howmany(HFS_XATTR_MAXSIZE, hfsmp->blockSize)) { 1109 blkcnt = howmany(attrsize, hfsmp->blockSize); 2452 blkcnt = howmany(attrsize, hfsmp->blockSize);
|
H A D | hfs_catalog.c | 1998 howmany(forkp->cf_bytesread, blksize); 2008 howmany(forkp->cf_bytesread, blksize); 2682 blkcount = howmany(kHFSAliasSize, blksize);
|
H A D | hfs_hotfiles.c | 1889 nodecnt = 2 + howmany(entries * 2, entirespernode);
|
H A D | hfs_vnops.c | 799 blks = howmany(VTOF(vp)->ff_size, VTOVCB(vp)->blockSize); 822 blks = howmany(VTOF(vp)->ff_size, VTOVCB(vp)->blockSize);
|
H A D | hfs_readwrite.c | 4940 datablks = howmany(fp->ff_size, blksize);
|
H A D | hfs_vfsops.c | 6308 jnlBlockCount = howmany(jnl_size, hfsmp->blockSize);
|
Completed in 168 milliseconds