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

1234567891011>>

/freebsd-11-stable/contrib/telnet/telnet/
H A Dring.c68 #if !defined(MIN)
69 #define MIN(a,b) (((a)<(b))? (a):(b)) macro
70 #endif /* !defined(MIN) */
278 i = MIN(count, ring_empty_consecutive(ring));
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dsha256-internal.c79 #ifndef MIN
80 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen));
H A Dsha512-internal.c100 #ifndef MIN
101 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen));
/freebsd-11-stable/sys/i386/include/
H A Dpcpu.h125 u_char __b[MIN(sizeof(__res), 4)]; \
147 u_char __b[MIN(sizeof(__val), 4)]; \
190 u_char __b[MIN(sizeof(__val), 4)]; \
/freebsd-11-stable/sys/amd64/include/
H A Dpcpu.h133 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
155 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
203 u_char __b[MIN(sizeof(__pcpu_type(name)), 8)]; \
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dipft_pc.c161 n = MIN(p, rec->wirelen);
195 n = MIN(i, cnt);
250 n = MIN(i, cnt);
/freebsd-11-stable/sys/kern/
H A Dtty_inq.c189 cend = MIN(MIN(ti->ti_linestart, ti->ti_begin + rlen),
311 l = MIN(nbytes, TTYINQ_DATASIZE - boff);
355 unsigned int bend = MIN(MIN(TTYINQ_DATASIZE, ti->ti_linestart),
/freebsd-11-stable/lib/libbluetooth/
H A Dhci.c42 #undef MIN macro
43 #define MIN(a, b) (((a) < (b))? (a) : (b)) macro
345 MIN(sizeof(old->packet_mask), sizeof(f.packet_mask)));
347 MIN(sizeof(old->event_mask), sizeof(f.packet_mask)));
353 MIN(sizeof(f.packet_mask), sizeof(new->event_mask)));
355 MIN(sizeof(f.event_mask), sizeof(new->event_mask)));
512 for (n = 0; n < MIN(ep->num_responses, num_rsp); n ++) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_history.c114 shpp->sh_phys_max_off = MIN(shpp->sh_phys_max_off, 1<<30);
132 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof);
169 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof);
464 read_len = MIN(*len, shpp->sh_pool_create_len -
480 read_len = MIN(*len, phys_eof - phys_read_off);
482 read_len = MIN(*len,
485 leftover = MIN(*len - read_len,
/freebsd-11-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)))
338 chunksize = MIN(uio->uio_resid,
411 n = MIN((unsigned)(biosize - on), uio->uio_resid);
584 bp->b_dirtyoff = MIN(on, bp->b_dirtyoff);
/freebsd-11-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);
/freebsd-11-stable/sys/dev/proto/
H A Dproto_busdma.c55 (((a) == 0) ? (b) : (((b) == 0) ? (a) : MIN((a), (b))))
88 tag->maxaddr = MIN(ioc->u.tag.maxaddr, parent->maxaddr);
89 tag->maxsz = MIN(ioc->u.tag.maxsz, parent->maxsz);
90 tag->maxsegsz = MIN(ioc->u.tag.maxsegsz, parent->maxsegsz);
91 tag->nsegs = MIN(ioc->u.tag.nsegs, parent->nsegs);
92 tag->datarate = MIN(ioc->u.tag.datarate, parent->datarate);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.cpp67 clEnumValN(GraphRenderer::StatType::MIN, "min",
91 clEnumValN(GraphRenderer::StatType::MIN, "min",
115 clEnumValN(GraphRenderer::StatType::MIN, "min",
139 clEnumValN(GraphRenderer::StatType::MIN, "min",
342 static_cast<int>(GraphRenderer::StatType::MIN)];
365 static_cast<int>(GraphRenderer::StatType::MIN)];
/freebsd-11-stable/lib/libc/net/
H A Dsourcefilter.c72 #ifndef MIN
73 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
261 for (i = 0; i < MIN(onumsrc, *numsrc); i++, psu++) {
/freebsd-11-stable/sys/dev/random/
H A Drandomdev.c170 read_len = MIN(read_len, PAGE_SIZE);
172 c = MIN(uio->uio_resid, read_len);
259 c = MIN(uio->uio_resid, PAGE_SIZE);
/freebsd-11-stable/stand/common/
H A Dbcache.c263 p_size = MIN(r_size, nblk - i); /* read at least those blocks */
295 ra = MIN(bc->ra, ra - 1);
388 cblk = MIN(cblk, nblk);
/freebsd-11-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-11-stable/sys/arm64/arm64/
H A Dbusdma_bounce.c346 maxpages = MIN(MAX_BPAGES, Maxmem -
351 pages = MIN(maxpages - bz->total_bpages, pages);
490 howmany(dmat->common.maxsize, MIN(dmat->common.maxsegsz, PAGE_SIZE)) &&
559 sgsize = MIN(buflen, dmat->common.maxsegsz);
561 sgsize = MIN(sgsize,
713 sgsize = MIN(buflen, dmat->common.maxsegsz);
717 sgsize = MIN(sgsize, PAGE_SIZE - (curaddr & PAGE_MASK));
799 max_sgsize = MIN(buflen, dmat->common.maxsegsz);
805 sgsize = MIN(sgsize, max_sgsize);
809 sgsize = MIN(sgsiz
[all...]
/freebsd-11-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-11-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);
/freebsd-11-stable/contrib/gcc/config/
H A Dhost-linux.c208 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_mod.c113 _libctf_version = MIN(CTF_VERSION, version);
/freebsd-11-stable/sys/net80211/
H A Dieee80211_alq.c154 memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
/freebsd-11-stable/sys/dev/isci/scil/
H A Dsati_device.c158 device->ncq_depth = MIN(
/freebsd-11-stable/sys/dev/usb/controller/
H A Dsaf1761_otg.h35 #define SOTG_MAX_DEVICES MIN(USB_MAX_DEVICES, 32)

Completed in 193 milliseconds

1234567891011>>