/freebsd-10-stable/sys/sparc64/sparc64/ |
H A D | ofw_machdep.c | 183 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 D | dmu_zfetch.c | 198 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 D | qsort.c | 46 #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 D | arc4random.c | 157 m = MIN(datlen, KEYSZ + IVSZ); 176 m = MIN(n, rs_have); 217 m = MIN(datlen, KEYSZ + IVSZ);
|
H A D | xcrypt.c | 88 strlcpy(salt, passwd, MIN(typelen, sizeof(salt)));
|
/freebsd-10-stable/sys/kern/ |
H A D | tty_inq.c | 183 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 D | busdma_bounce.c | 313 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 D | hci.c | 41 #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 D | fuse_io.c | 193 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 D | checklist.c | 295 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 D | progressbox.c | 98 (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 D | sourcefilter.c | 73 #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 D | recoverdisk.c | 268 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 D | cmp.c | 339 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 D | system.h | 228 #undef MIN macro 230 #define MIN(a, b) ((a) <= (b) ? (a) : (b)) macro
|
/freebsd-10-stable/contrib/gcc/config/ |
H A D | host-linux.c | 208 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
|
/freebsd-10-stable/contrib/gcc/ |
H A D | stor-layout.c | 265 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 D | ctf_mod.c | 113 _libctf_version = MIN(CTF_VERSION, version);
|
/freebsd-10-stable/sys/dev/isci/scil/ |
H A D | sati_device.c | 158 device->ncq_depth = MIN(
|
/freebsd-10-stable/sys/dev/wi/ |
H A D | if_wivar.h | 170 #define WI_RSSI_TO_DBM(sc, rssi) (MIN((sc)->sc_max_rssi, \
|
/freebsd-10-stable/sys/geom/eli/ |
H A D | pkcs5v2.c | 67 bsize = MIN(keylen, sizeof(md));
|
/freebsd-10-stable/sys/net80211/ |
H A D | ieee80211_alq.c | 156 memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
|
/freebsd-10-stable/sys/compat/freebsd32/ |
H A D | freebsd32_capability.c | 131 for (i = 0; i < MIN(fdep->fde_nioctls, maxcmds); i++) {
|
/freebsd-10-stable/sys/ia64/ia64/ |
H A D | busdma_machdep.c | 245 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 D | ctftools.h | 64 #ifndef MIN 65 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro
|