/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | ring.c | 68 #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 D | sha256-internal.c | 79 #ifndef MIN 80 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen));
|
H A D | sha512-internal.c | 100 #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 D | pcpu.h | 125 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 D | pcpu.h | 133 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 D | ipft_pc.c | 161 n = MIN(p, rec->wirelen); 195 n = MIN(i, cnt); 250 n = MIN(i, cnt);
|
/freebsd-11-stable/sys/kern/ |
H A D | tty_inq.c | 189 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 D | hci.c | 42 #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 D | spa_history.c | 114 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 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))) 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 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);
|
/freebsd-11-stable/sys/dev/proto/ |
H A D | proto_busdma.c | 55 (((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 D | xray-graph.cpp | 67 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 D | sourcefilter.c | 72 #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 D | randomdev.c | 170 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 D | bcache.c | 263 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 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-11-stable/sys/arm64/arm64/ |
H A D | busdma_bounce.c | 346 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 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-11-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);
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | host-linux.c | 208 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_mod.c | 113 _libctf_version = MIN(CTF_VERSION, version);
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_alq.c | 154 memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | sati_device.c | 158 device->ncq_depth = MIN(
|
/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | saf1761_otg.h | 35 #define SOTG_MAX_DEVICES MIN(USB_MAX_DEVICES, 32)
|