/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | param.h | 225 #ifndef MIN 226 #define MIN(a,b) (((a)<(b))?(a):(b)) macro 227 #endif /* MIN */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | misc_protos.h | 50 #ifndef MIN 51 #define MIN(a,b) (((a)<(b))?(a):(b)) macro 52 #endif /* MIN */
|
H A D | debug.c | 331 length = MIN(((length & ~7) +8), buflen);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_bmap.c | 159 *ap->a_run = MIN(cbytes, ap->a_size);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeNodeReserve.c | 161 rsrvblks = MIN(rsrvblks, HFS_MAXRESERVE / hfsmp->blockSize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kpi_mbuf.c | 1076 n->m_len = MIN(MLEN, len + off); 1083 mlen = MIN(m->m_len - off, len); 1085 size_t grow = MIN(mbuf_trailingspace(m), len - mlen); 1107 n->m_len = MIN(mbuf_maxlen(n), len);
|
H A D | uipc_syscalls.c | 513 namelen = MIN(namelen, sa_len); 1176 #ifndef MIN 1177 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro 1180 len = MIN((unsigned int)len, sa_len); 1684 len = MIN(len, sa_len); 1787 len = MIN(len, sa_len); 1972 needed = MIN(SENDFILE_MAX_16K, HOWMANY_16K(pktlen)); 1976 needed = MIN(SENDFILE_MAX_4K, HOWMANY_4K(pktlen));
|
H A D | uipc_mbuf.c | 1865 * By this time "needed" is MIN(mbuf, cluster, ref). Any left 2558 MIN(num, m_infree(class))); 3847 if (MIN(len, (m->m_len - off)) == len) { 3850 MIN(len, (m->m_len - off))); 3853 n->m_len = MIN(len, (m->m_len - off)); 3921 len -= MIN(len, (n->m_len - ((needed == 1) ? off : 0))); 3970 n->m_len = MIN(len, (m->m_len - off)); 4037 count = MIN(m->m_len - off, len); 4186 count = MIN(MIN(MA [all...] |
H A D | mcache.c | 458 objs = MIN((unsigned int)ccp->cc_objs, need); 1213 reap = MIN(cp->mc_full.bl_reaplimit, cp->mc_full.bl_min); 1218 reap = MIN(cp->mc_empty.bl_reaplimit, cp->mc_empty.bl_min);
|
H A D | subr_sbuf.c | 60 #define min(x,y) MIN(x,y)
|
H A D | uipc_usrreq.c | 1321 #ifndef MIN 1322 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_xattr.c | 1832 calcbytes = MIN(hfsmp->hfs_catalog_cp->c_datafork->ff_size / 5, 20 * 1024 * 1024); 1836 calcbytes = MIN(calcbytes, freebytes / 10); 1974 iosize = MIN(iosize, attrsize); 1975 iosize = MIN(iosize, bufsize); 2029 iosize = MIN(iosize, attrsize); 2030 iosize = MIN(iosize, bufsize);
|
H A D | hfs_vfsops.c | 179 vcb->reserveBlocks = MIN(vcb->reserveBlocks, HFS_MAXRESERVE / vcb->blockSize); 1453 MIN(HFS_LOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize, 1456 MIN(HFS_LOWDISKSHUTOFFLEVEL / HFSTOVCB(hfsmp)->blockSize, 1467 MIN(HFS_ROOTLOWDISKTRIGGERLEVEL / HFSTOVCB(hfsmp)->blockSize, 1470 MIN(HFS_ROOTLOWDISKSHUTOFFLEVEL / HFSTOVCB(hfsmp)->blockSize, 1845 sbp->f_ffree = (u_int64_t)((unsigned long )(MIN(freeCNIDs, sbp->f_bavail))); 3915 bufferSize = MIN(ioattr.io_maxreadcnt, ioattr.io_maxwritecnt); 3927 ioSize = MIN(bufferSize, resid); 4551 maxfilecnt = MIN(hfsmp->hfs_filecount, 250000); 4552 maxfilecnt = MIN((u_lon [all...] |
H A D | hfs_readwrite.c | 3440 iosize = bufsize = MIN(copysize, 128 * 1024); 3451 iosize = MIN(copysize - offset, iosize); 3520 bufsize = MIN(blkcnt * blksize, 1024 * 1024) & ~(iosize - 1);
|
H A D | hfs_vfsutils.c | 1521 freeblks = MIN(vfreeblks, freeblks); 2215 filesize = MIN((fs_size / 1024) * 10, GIGABYTE); 2318 return MIN(freeblocks, hfsmp->hfs_hotfile_maxblks);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | rtclock.c | 129 return MIN(MAX(rtc_decrementer_min,delta),maxDec);
|
H A D | machine_check.c | 304 mmm = MIN(mc8.memory_operation, MC8_MMM_RESERVED);
|
H A D | machine_routines.c | 457 machine_info.max_cpus = MIN(max_cpus, max_ncpus);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp_nbp.c | 71 #ifndef MIN 72 #define MIN(a,b) ((a)>(b)?(b):(a)) macro 673 len = MIN((size_t)(nvestr->len-i), sizeof(int));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_xattr.c | 551 iosize = bufsize = MIN(datasize, NS_IOBUFSIZE); 567 iosize = MIN(datasize - offset, iosize); 771 iosize = bufsize = MIN(datasize, NS_IOBUFSIZE); 787 iosize = MIN(datasize - offset, iosize); 2498 iosize = MIN(ATTR_MAX_HDR_SIZE, ainfop->filesize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | fasttrap_isa.c | 267 size_t first = MIN(len, PAGE_SIZE - (pc & PAGE_MASK)); 765 int i, x, cap = MIN(argc, probe->ftp_nargs); 788 int i, x, cap = MIN(argc, probe->ftp_nargs);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | fasttrap_isa.c | 381 int i, x, cap = MIN(argc, probe->ftp_nargs);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfsm_subs.h | 640 for (__i=0; __i < MIN(__len, (LEN)); __i++) \
|
H A D | nfs_subs.c | 373 tlen = MIN(nmc->nmc_left, paddedlen); 412 tlen = MIN(nmc->nmc_left, len); 441 tlen = MIN(nmc->nmc_left, paddedlen); 647 cplen = MIN(mblen, need); 708 cplen = MIN(nmc->nmc_left, len); 752 cplen = MIN(nmc->nmc_left, len);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 1115 howmany(MIN(bytesToAdd, availbytes), volumeBlockSize), 1116 howmany(MIN(maximumBytes, availbytes), volumeBlockSize),
|