/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 440 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 470 blocksize = MIN(iosize, maxblk); 516 if ((n = MIN(max_read, MBLKL(mp))) != 0) { 1199 n = MIN(n, uiop->uio_resid); 1516 retval = MIN(so->so_rcv_queued, INT_MAX); 1610 retval = MIN(size, INT_MAX);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | startup.c | 1399 range_size = MIN(cur->ml_next->ml_address, 1958 i = ptob(MIN(segkpsize, max_phys_segkp)); 2125 if (i > MIN(SEGMAPSIZE, mmu_ptob(freemem))) 2126 i = MIN(SEGMAPSIZE, mmu_ptob(freemem)); 2585 left = MIN(next - base, num); 2591 left = num - MIN(num, (seg->pages_end - seg->pages_base) - off);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kmem.c | 1414 for (d = 0; d < MIN(bcap->bc_depth, KMEM_STACK_DEPTH); d++) { 2208 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); 2219 reap = MIN(cp->cache_empty.ml_reaplimit, cp->cache_empty.ml_min); 3536 reap = MIN(cp->cache_full.ml_reaplimit, cp->cache_full.ml_min); 3537 reap = MIN(reap, cp->cache_full.ml_total); 3635 return ((size_t)ptob(MIN(MAX(MIN(rmem, fmem), 0), 3652 return ((size_t)ptob(MAX(MIN(pmem, vmem), 0))); 3900 cp->cache_verify = MIN(cp->cache_buftag, kmem_maxverify); 3905 cp->cache_contents = MIN(c [all...] |
H A D | vm_pageout.c | 423 fastscan = MIN(looppages / loopfraction, maxfastscan); 434 slowscan = MIN(fastscan / 10, maxslowscan);
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 613 pwlen = MIN(strlen(pw), max); 614 opwlen = MIN(strlen(opw), max);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 102 min_chan = MIN(min_chan, chan); 104 min_rank = MIN(min_rank, rank);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | pppd.h | 879 #ifndef MIN 880 #define MIN(a, b) ((a) < (b)? (a): (b)) macro 881 #endif /* MIN */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 510 depth = MIN(vs.vs_depth, VMEM_STACK_DEPTH); 525 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH);
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctfmerge.c | 635 nslots = MIN(nslots, (nfiles + wq->wq_maxbatchsz - 1) / 640 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots);
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_pptp_pxy.c | 308 len = MIN(8 - pptps->pptps_bytes, dlen); 352 len = MIN(pptps->pptps_len - pptps->pptps_bytes, dlen);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_regs.c | 194 am = MIN(max_am, MIN(dvma_am, npg_am));
|
/illumos-gate/usr/src/uts/sun4u/starcat/os/ |
H A D | starcat.c | 125 n = MIN(n, STARCAT_BDSET_MAX * STARCAT_BDSET_SLOT_MAX); 135 return (MIN(starcat_tsb_spares, MAX_UPA));
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_util.c | 226 sz = sz ? MIN(sz, PCI_CONF_HDR_SIZE) : PCI_CONF_HDR_SIZE; 622 latency_timer = MIN(latency_timer, 0xff);
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vnops.c | 88 bytes = MIN(PAGESIZE - poff, uiop->uio_resid); 97 bytes = MIN(bytes, frem);
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | tcp_impl.h | 273 (tcp)->tcp_cwnd = MIN(4 * (mss), \ 276 (tcp)->tcp_cwnd = MIN(TCP_MAX_INIT_CWND * (mss),\
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_nvram.c | 97 chunk = MIN(size, SIENA_NVRAM_CHUNK); 150 chunk = MIN(size, SIENA_NVRAM_CHUNK);
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_vm_dep.c | 341 slew = slew % MIN(aslr_max_map_skew, (addr - base)); 759 contig_mem_prealloc_size = MIN((PREALLOC_PER_CPU * ncpu_guest_max) +
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_enclosure_ctl.c | 88 len = MIN(datalen - offset, chunksz);
|
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 63 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro 810 R->minor_vers = MIN(new_minor, req->minor_vers); 873 MIN(new_minor, req->minor_vers))) == 0) { 891 R->minor_vers = MIN(new_minor, req->minor_vers);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_bboard.c | 371 cont_cnt = MIN(rv, cont_cnt);
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_xaction_state_mc.c | 86 #ifndef MIN 87 #define MIN(a, b) (((a) < (b)) ? (a):(b)) macro 1457 MIN(SIP_TIMER_T2, 1565 MIN(SIP_TIMER_T2,
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | form.c | 354 chunk = MIN(cols, dcols - start);
|
/illumos-gate/usr/src/lib/libeti/form/inc/ |
H A D | utility.h | 50 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | taskq.c | 239 pct = MIN(nthreads, 100);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | utf8.c | 166 for (i = (us->want == 0) ? 1 : 0; i < MIN(want, n); i++) {
|