Searched refs:MIN (Results 226 - 250 of 653) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_subr.c440 #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 Dstartup.c1399 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 Dkmem.c1414 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 Dvm_pageout.c423 fastscan = MIN(looppages / loopfraction, maxfastscan);
434 slowscan = MIN(fastscan / 10, maxslowscan);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c613 pwlen = MIN(strlen(pw), max);
614 opwlen = MIN(strlen(opw), max);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c102 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 Dpppd.h879 #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 Dleaky_subr.c510 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 Dctfmerge.c635 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 Dip_pptp_pxy.c308 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 Dimmu_regs.c194 am = MIN(max_am, MIN(dvma_am, npg_am));
/illumos-gate/usr/src/uts/sun4u/starcat/os/
H A Dstarcat.c125 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 Dpci_util.c226 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 Dbootfs_vnops.c88 bytes = MIN(PAGESIZE - poff, uiop->uio_resid);
97 bytes = MIN(bytes, frem);
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp_impl.h273 (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 Dsiena_nvram.c97 chunk = MIN(size, SIENA_NVRAM_CHUNK);
150 chunk = MIN(size, SIENA_NVRAM_CHUNK);
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c341 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 Dses2_enclosure_ctl.c88 len = MIN(datalen - offset, chunksz);
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c63 #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 Dx86pi_bboard.c371 cont_cnt = MIN(rv, cont_cnt);
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_xaction_state_mc.c86 #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 Dform.c354 chunk = MIN(cols, dcols - start);
/illumos-gate/usr/src/lib/libeti/form/inc/
H A Dutility.h50 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/illumos-gate/usr/src/lib/libzpool/common/
H A Dtaskq.c239 pct = MIN(nthreads, 100);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dutf8.c166 for (i = (us->want == 0) ? 1 : 0; i < MIN(want, n); i++) {

Completed in 220 milliseconds

1234567891011>>