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

1234567891011>>

/freebsd-9.3-release/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-9.3-release/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-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_log.c288 hlen += MIN(sizeof(tcphdr_t), fin->fin_dlen);
290 hlen += MIN(sizeof(udphdr_t), fin->fin_dlen);
308 hlen += MIN(sizeof(struct icmp) + 8,
312 hlen += MIN(sizeof(struct icmp),
329 hlen += MIN(sizeof(struct icmp6_hdr) + 8,
332 hlen += MIN(sizeof(struct icmp6_hdr),
367 mlen = (flags & FR_LOGBODY) ? MIN(mlen, 128) : 0;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-bootmem.c73 #undef MIN macro
74 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
402 *min_addr_ptr = MIN(MAX(*min_addr_ptr, linux_mem32_min), linux_mem32_max);
406 *max_addr_ptr = MAX(MIN(*max_addr_ptr, linux_mem32_max), linux_mem32_min);
420 *min_addr_ptr = MIN(MAX(*min_addr_ptr, 0x0), max_phys);
424 *max_addr_ptr = MAX(MIN(*max_addr_ptr, max_phys), 0x0);
623 usable_max = MIN(address_max, ent_addr + ent_size);
/freebsd-9.3-release/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-9.3-release/sbin/recoverdisk/
H A Drecoverdisk.c267 i = MIN(lp->len, (off_t)bigsize);
269 i = MIN(lp->len, (off_t)medsize);
271 i = MIN(lp->len, (off_t)minsize);
/freebsd-9.3-release/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-9.3-release/contrib/gcc/config/
H A Dhost-linux.c208 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
/freebsd-9.3-release/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...]
H A Dsbitmap.h77 MIN. */
131 /* Loop over all elements of SBITMAP, starting with MIN. In each
135 #define EXECUTE_IF_SET_IN_SBITMAP(SBITMAP, MIN, N, ITER) \
136 for (sbitmap_iter_init (&(ITER), (SBITMAP), (MIN)); \
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dipft_ef.c132 i = MIN(cnt, slen);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_mod.c113 _libctf_version = MIN(CTF_VERSION, version);
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dsati_device.c158 device->ncq_depth = MIN(
/freebsd-9.3-release/sys/dev/wi/
H A Dif_wivar.h170 #define WI_RSSI_TO_DBM(sc, rssi) (MIN((sc)->sc_max_rssi, \
/freebsd-9.3-release/sys/geom/eli/
H A Dpkcs5v2.c67 bsize = MIN(keylen, sizeof(md));
/freebsd-9.3-release/sys/gnu/fs/xfs/FreeBSD/
H A Dxfs_compat.h153 #define min_t(type,x,y) MIN((x),(y))
/freebsd-9.3-release/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);
862 pages = MIN(free_bpages, map->pagesneeded - map->pagesreserved);
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_alq.c153 memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c158 n = MIN(resid, len);
188 n = MIN(resid, len);
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctftools.h64 #ifndef MIN
65 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro
/freebsd-9.3-release/contrib/bmake/
H A Dmake.h514 #ifndef MIN
515 #define MIN(a, b) ((a < b) ? a : b) macro
/freebsd-9.3-release/contrib/dialog/
H A Dprogressbox.c95 (void) waddnstr(win, line, MIN((int) strlen(line), width - 2));
97 line[MIN((int) strlen(line), width - 2)] = '\0';
/freebsd-9.3-release/contrib/gcclibs/libcpp/
H A Dsystem.h274 #undef MIN macro
276 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) macro
/freebsd-9.3-release/contrib/lukemftpd/
H A Dlukemftpd.h376 #if ! defined(MIN)
377 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro

Completed in 389 milliseconds

1234567891011>>