Searched refs:MIN (Results 26 - 50 of 545) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/dev/isci/scil/
H A Dsci_util.h63 #ifndef MIN
64 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
/freebsd-10.0-release/lib/libc/gen/
H A Dgetloadavg.c65 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t));
H A Dutxdb.c42 MIN(sizeof (fu)->fu_ ## field, sizeof (ut)->ut_ ## field)); \
46 MIN(sizeof (fu)->fu_id, sizeof (ut)->ut_id)); \
107 MIN(sizeof (ut)->ut_ ## field - 1, sizeof (fu)->fu_ ## field)); \
111 MIN(sizeof (ut)->ut_id, sizeof (fu)->fu_id)); \
/freebsd-10.0-release/sys/dev/sound/midi/
H A Dmidiq.h64 MIN( (size), (head).s - (head).h) ), \
66 MIDIQ_MOVE(&(head).b[(head).h], (buf), sizeof(*(head).b) * MIN((size), (head).s - (head).h)); \
82 printf("#1 %p %p bytes copied %jd tran req s %d h %d t %d\n", &(head).b[(head).t], (buf), (intmax_t)sizeof(*(head).b) * MIN((size), (head).s - (head).t), (size), (head).h, (head).t); \
83 if (move) MIDIQ_MOVE((buf), &(head).b[(head).t], sizeof(*(head).b) * MIN((size), (head).s - (head).t)); \
/freebsd-10.0-release/usr.bin/calendar/
H A Dsunpos.c191 #define MIN(h) (15 * ((h) % 4)) macro
313 sunpos(year, 6, d, UTCoffset, HOUR(h), MIN(h), SEC(h),
318 DEBUG2(year, 6, d, HOUR(h), MIN(h),
343 sunpos(year, 12, d, UTCoffset, HOUR(h), MIN(h), SEC(h),
348 DEBUG2(year, 12, d, HOUR(h), MIN(h),
382 HOUR(h), MIN(h), SEC(h), 0.0, 0.0, &prevL, &dec);
389 HOUR(h), MIN(h), SEC(h),
395 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL);
405 year, m, d, HOUR(h), MIN(h), *pichinesemonths, curL);
/freebsd-10.0-release/sys/kern/
H A Dtty_outq.c157 cend = MIN(MIN(to->to_end, to->to_begin + len),
218 cend = MIN(MIN(to->to_end, to->to_begin + uio->uio_resid),
304 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff);
/freebsd-10.0-release/contrib/texinfo/lib/
H A Dsystem.h282 #ifdef MIN
283 #undef MIN macro
285 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
/freebsd-10.0-release/lib/libc/stdio/
H A Dfvwrite.c67 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
87 w = _swrite(fp, p, MIN(len, BUFSIZ));
128 COPY(w); /* copy MIN(fp->_w,len), */
161 * that the amount to write is MIN(len,nldist).
172 s = MIN(len, nldist);
/freebsd-10.0-release/sys/amd64/include/
H A Dpcpu.h118 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
140 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
188 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dps3stor.c121 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro
135 nsectors = MIN(nleft, BOUNCE_SECTORS);
169 #undef MIN macro
/freebsd-10.0-release/sys/dev/ath/ath_rate/sample/
H A Dsample.h118 #ifndef MIN
119 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
234 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2);
/freebsd-10.0-release/sys/geom/label/
H A Dg_label_msdosfs.c115 MIN(size, sizeof(pfat_bsbpb->BS_VolLab) + 1));
137 MIN(size, sizeof(pfat32_bsbpb->BS_VolLab) + 1));
188 MIN(size,
H A Dg_label_iso9660.c69 strlcpy(label, volume, MIN(size, VOLUME_LEN));
/freebsd-10.0-release/sys/i386/include/
H A Dpcpu.h137 u_char __b[MIN(sizeof(__res), 4)]; \
159 u_char __b[MIN(sizeof(__val), 4)]; \
202 u_char __b[MIN(sizeof(__val), 4)]; \
/freebsd-10.0-release/contrib/groff/src/libs/libgroff/
H A Dgeometry.cpp30 #undef MIN macro
31 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/freebsd-10.0-release/contrib/nvi/common/
H A Dutil.h59 #undef MIN macro
61 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) macro
/freebsd-10.0-release/lib/libc/locale/
H A Dgb2312.c119 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
/freebsd-10.0-release/contrib/gcc/config/
H A Dhost-hpux.c125 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
/freebsd-10.0-release/lib/libkvm/
H A Dkvm_getloadavg.c95 nelem = MIN(nelem, (int)(sizeof(loadinfo.ldavg) / sizeof(fixpt_t)));
/freebsd-10.0-release/lib/libulog/
H A Dulog_login.c60 memcpy(utx->ut_id, id, MIN(sizeof utx->ut_id, sizeof id));
/freebsd-10.0-release/sys/contrib/xz-embedded/freebsd/
H A Dxz_config.h66 # define min(x, y) MIN((x), (y))
/freebsd-10.0-release/sys/dev/lindev/
H A Dfull.c61 error = uiomove(zbuf, MIN(uio->uio_resid, PAGE_SIZE), uio);
/freebsd-10.0-release/usr.bin/grep/regex/
H A Dglue.h38 #define MIN(a,b) ((a > b) ? (b) : (a)) macro
/freebsd-10.0-release/bin/pax/
H A Dbuf_subs.c406 res = MIN((bufend - bufpt), skcnt);
445 cnt = MIN(cnt, res);
497 cnt = MIN(cnt, outcnt);
545 cnt = MIN(cnt, incnt);
577 cnt = MIN(cnt, skcnt);
620 cnt = MIN(cnt, size);
703 cnt = MIN(cnt, size);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_history.c112 shpp->sh_phys_max_off = MIN(shpp->sh_phys_max_off, 1<<30);
130 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof);
167 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof);
381 read_len = MIN(*len, shpp->sh_pool_create_len -
397 read_len = MIN(*len, phys_eof - phys_read_off);
399 read_len = MIN(*len,
402 leftover = MIN(*len - read_len,

Completed in 249 milliseconds

1234567891011>>