Searched refs:MIN (Results 1 - 25 of 43) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dparam.h225 #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 Dmisc_protos.h50 #ifndef MIN
51 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
52 #endif /* MIN */
H A Ddebug.c331 length = MIN(((length & ~7) +8), buflen);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_bmap.c159 *ap->a_run = MIN(cbytes, ap->a_size);
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c161 rsrvblks = MIN(rsrvblks, HFS_MAXRESERVE / hfsmp->blockSize);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c1076 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 Duipc_syscalls.c513 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 Duipc_mbuf.c1865 * 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 Dmcache.c458 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 Dsubr_sbuf.c60 #define min(x,y) MIN(x,y)
H A Duipc_usrreq.c1321 #ifndef MIN
1322 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_xattr.c1832 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 Dhfs_vfsops.c179 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 Dhfs_readwrite.c3440 iosize = bufsize = MIN(copysize, 128 * 1024);
3451 iosize = MIN(copysize - offset, iosize);
3520 bufsize = MIN(blkcnt * blksize, 1024 * 1024) & ~(iosize - 1);
H A Dhfs_vfsutils.c1521 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 Drtclock.c129 return MIN(MAX(rtc_decrementer_min,delta),maxDec);
H A Dmachine_check.c304 mmm = MIN(mc8.memory_operation, MC8_MMM_RESERVED);
H A Dmachine_routines.c457 machine_info.max_cpus = MIN(max_cpus, max_ncpus);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dddp_nbp.c71 #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 Dvfs_xattr.c551 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 Dfasttrap_isa.c267 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 Dfasttrap_isa.c381 int i, x, cap = MIN(argc, probe->ftp_nargs);
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfsm_subs.h640 for (__i=0; __i < MIN(__len, (LEN)); __i++) \
H A Dnfs_subs.c373 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 DFileExtentMapping.c1115 howmany(MIN(bytesToAdd, availbytes), volumeBlockSize),
1116 howmany(MIN(maximumBytes, availbytes), volumeBlockSize),

Completed in 301 milliseconds

12