Searched refs:MIN (Results 76 - 100 of 659) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/sparc64/sparc64/
H A Dofw_machdep.c183 for (i = 0; i < MIN(2, addrc); i++)
231 for (j = 0; j < MIN(2, addrc); j++)
237 for (j = 0; j < MIN(2, paddrc); j++)
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu_zfetch.c198 uint32_t max_streams = MAX(1, MIN(zfetch_max_streams,
300 pf_nblks = MIN(pf_ahead_blks, max_blks);
323 ipf_nblks = MIN(pf_ahead_blks, max_blks);
/freebsd-10-stable/lib/libc/stdlib/
H A Dqsort.c46 #define MIN(a, b) ((a) < (b) ? a : b) macro
186 d1 = MIN(pa - (char *)a, pb - pa);
188 d1 = MIN(pd - pc, pn - pd - es);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Darc4random.c157 m = MIN(datlen, KEYSZ + IVSZ);
176 m = MIN(n, rs_have);
217 m = MIN(datlen, KEYSZ + IVSZ);
H A Dxcrypt.c88 strlcpy(salt, passwd, MIN(typelen, sizeof(salt)));
/freebsd-10-stable/sys/kern/
H A Dtty_inq.c183 cend = MIN(MIN(ti->ti_linestart, ti->ti_begin + rlen),
305 l = MIN(nbytes, TTYINQ_DATASIZE - boff);
349 unsigned int bend = MIN(MIN(TTYINQ_DATASIZE, ti->ti_linestart),
/freebsd-10-stable/sys/x86/x86/
H A Dbusdma_bounce.c313 maxpages = MIN(MAX_BPAGES, Maxmem -
318 pages = MIN(maxpages - bz->total_bpages, pages);
430 howmany(dmat->common.maxsize, MIN(dmat->common.maxsegsz, PAGE_SIZE)) &&
494 sgsize = MIN(buflen, dmat->common.maxsegsz);
496 sgsize = MIN(sgsize, PAGE_SIZE);
646 sgsize = MIN(buflen, dmat->common.maxsegsz);
650 sgsize = MIN(sgsize, PAGE_SIZE);
710 max_sgsize = MIN(buflen, dmat->common.maxsegsz);
716 sgsize = MIN(sgsize, max_sgsize);
720 sgsize = MIN(sgsiz
[all...]
/freebsd-10-stable/lib/libbluetooth/
H A Dhci.c41 #undef MIN macro
42 #define MIN(a, b) (((a) < (b))? (a) : (b)) macro
344 MIN(sizeof(old->packet_mask), sizeof(f.packet_mask)));
346 MIN(sizeof(old->event_mask), sizeof(f.packet_mask)));
352 MIN(sizeof(f.packet_mask), sizeof(new->event_mask)));
354 MIN(sizeof(f.event_mask), sizeof(new->event_mask)));
511 for (n = 0; n < MIN(ep->num_responses, num_rsp); n ++) {
/freebsd-10-stable/sys/fs/fuse/
H A Dfuse_io.c193 bcount = MIN(MAXBSIZE, biosize);
251 n = MIN((unsigned)(bcount - on), uio->uio_resid);
293 fri->size = MIN(uio->uio_resid,
308 if ((err = uiomove(fdi.answ, MIN(fri->size, fdi.iosize), uio)))
336 chunksize = MIN(uio->uio_resid,
409 n = MIN((unsigned)(biosize - on), uio->uio_resid);
582 bp->b_dirtyoff = MIN(on, bp->b_dirtyoff);
/freebsd-10-stable/contrib/dialog/
H A Dchecklist.c295 max_choice = MIN(all.use_height, item_no);
322 list_width = MIN(all.use_width, text_width);
324 list_width = MIN(all.use_width, name_width);
350 scrollamt = MIN(scrollamt, max_choice + item_no - 1);
497 i = -MIN(scrollamt, max_choice);
502 i = MIN(choice + max_choice, item_no - scrollamt - 1);
H A Dprogressbox.c98 (void) waddnstr(win, line, MIN((int) strlen(line), width - 2));
100 line[MIN((int) strlen(line), width - 2)] = '\0';
/freebsd-10-stable/lib/libc/net/
H A Dsourcefilter.c73 #ifndef MIN
74 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
262 for (i = 0; i < MIN(onumsrc, *numsrc); i++, psu++) {
/freebsd-10-stable/sbin/recoverdisk/
H A Drecoverdisk.c268 i = MIN(lp->len, (off_t)bigsize);
270 i = MIN(lp->len, (off_t)medsize);
272 i = MIN(lp->len, (off_t)minsize);
/freebsd-10-stable/contrib/diff/src/
H A Dcmp.c339 if (s0 != s1 && MIN (s0, s1) < bytes)
391 off_t byte_number_max = MIN (bytes, TYPE_MAXIMUM (off_t));
413 size_t bytes_to_read = MIN (ig, buf_size);
458 smaller = MIN (read0, read1);
H A Dsystem.h228 #undef MIN macro
230 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro
/freebsd-10-stable/contrib/gcc/config/
H A Dhost-linux.c208 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
/freebsd-10-stable/contrib/gcc/
H A Dstor-layout.c265 return MIN (BIGGEST_ALIGNMENT, MAX (1, mode_base_align[mode]*BITS_PER_UNIT));
425 DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), BITS_PER_UNIT);
434 = MIN (DECL_ALIGN (decl), (unsigned) BIGGEST_FIELD_ALIGNMENT);
447 DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), mfa);
711 type_align = MIN (type_align, maximum_field_alignment);
738 type_align = MIN (type_align,
742 type_align = MIN (type_align, maximum_field_alignment);
744 type_align = MIN (type_align, BITS_PER_UNIT);
998 type_align = MIN (type_align, maximum_field_alignment);
1002 type_align = MIN (type_alig
[all...]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_mod.c113 _libctf_version = MIN(CTF_VERSION, version);
/freebsd-10-stable/sys/dev/isci/scil/
H A Dsati_device.c158 device->ncq_depth = MIN(
/freebsd-10-stable/sys/dev/wi/
H A Dif_wivar.h170 #define WI_RSSI_TO_DBM(sc, rssi) (MIN((sc)->sc_max_rssi, \
/freebsd-10-stable/sys/geom/eli/
H A Dpkcs5v2.c67 bsize = MIN(keylen, sizeof(md));
/freebsd-10-stable/sys/net80211/
H A Dieee80211_alq.c156 memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
/freebsd-10-stable/sys/compat/freebsd32/
H A Dfreebsd32_capability.c131 for (i = 0; i < MIN(fdep->fde_nioctls, maxcmds); i++) {
/freebsd-10-stable/sys/ia64/ia64/
H A Dbusdma_machdep.c245 newtag->lowaddr = MIN(parent->lowaddr, newtag->lowaddr);
250 newtag->boundary = MIN(parent->boundary,
359 maxpages = MIN(MAX_BPAGES, atop(paddr_max - dmat->lowaddr));
365 pages = MIN(maxpages - total_bpages, pages);
499 sgsize = MIN(buflen, dmat->maxsegsz);
501 sgsize = MIN(sgsize, PAGE_SIZE);
641 sgsize = MIN(buflen, dmat->maxsegsz);
644 sgsize = MIN(sgsize, PAGE_SIZE);
873 pages = MIN(free_bpages, map->pagesneeded - map->pagesreserved);
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h64 #ifndef MIN
65 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro

Completed in 253 milliseconds

1234567891011>>