Searched refs:MIN (Results 101 - 125 of 653) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c134 * Because of this, we default to returning MIN(sz, TR_ARG_MAX) instead of 0
143 max = MIN(sz / sizeof (long), TR_ARG_MAX);
164 return (MIN(count, max));
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgb18030.c106 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dring.c300 i = MIN(count, ring_empty_consecutive(ring));
322 i = MIN(count, ring_full_consecutive(ring));
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c194 size_t len = MIN(resid, DEV_BSIZE - blkoff);
235 size_t len = MIN(resid, DEV_BSIZE - blkoff);
H A Dmdb_pipeio.c95 n = MIN(pd->pipe_used, nleft);
159 n = MIN(pd->pipe_free, nleft);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.h66 #ifndef MIN
67 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctftools.h64 #ifndef MIN
65 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro
/illumos-gate/usr/src/uts/common/io/
H A Dsmbios.c127 size_t eprlen = MIN(len, cp->c_eplen - off);
145 MIN(len, cp->c_stlen - bufoff), UIO_READ, uio);
H A Dksyms.c89 sz = MIN(rsize, (BUF_SIZE - hptr->curbuf_off));
193 sz = MIN(size, BUF_SIZE);
296 size = MIN(PAGESIZE, len);
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_krcvudat.c137 len = MIN(pptr->unitdata_ind.SRC_length,
143 len = MIN(pptr->unitdata_ind.OPT_length,
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c230 len = MIN(a->size, b->size);
255 len = MIN(a->size, b->size);
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c147 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
202 chunk->ml_size -= MIN(chunk_end, rem_end) -
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_vm_dep.c311 maxslew = MIN(aslr_max_map_skew, (addr - base));
316 maxslew = MIN(maxslew, (addr - errata57_limit));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c60 #ifndef MIN
61 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
117 offset = MIN(x_offset, hdrp->sbh_msglen);
119 length = MIN(hdrp->sbh_msglen - offset, x_length);
767 len = MIN(chunk, left);
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_irm.c183 pool_p->ipool_defsz = MIN(DDI_MAX_MSIX_ALLOC, MAX(DDI_MIN_MSIX_ALLOC,
246 pool_p->ipool_defsz = MIN(DDI_MAX_MSIX_ALLOC,
281 pool_p->ipool_defsz = MIN(DDI_MAX_MSIX_ALLOC,
389 MIN(count, i_ddi_intr_get_limit(dip, type, pool_p));
391 npartial = MIN(nreq, pool_p->ipool_defsz);
768 nreq = MIN(req_p->ireq_nreq, pool_p->ipool_defsz);
773 nreq = MIN(nreq, ddi_msix_alloc_limit);
H A Dddi_intr_impl.c294 limit = MIN(limit, nintrs);
299 limit = MIN(limit, ddi_msix_alloc_limit);
304 limit = MIN(limit, DDI_MAX_MSI_ALLOC);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c287 int len = MIN(array_len, buf_len);
384 int toread = MIN(array_numints - bseen, ZAP_LEAF_ARRAY_BYTES);
848 n = MIN(n, ZAP_HISTOGRAM_SIZE-1);
853 n = MIN(n, ZAP_HISTOGRAM_SIZE-1);
859 n = MIN(n, ZAP_HISTOGRAM_SIZE-1);
873 n = MIN(n, ZAP_HISTOGRAM_SIZE-1);
881 n = MIN(n, ZAP_HISTOGRAM_SIZE-1);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c766 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
811 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
815 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
896 for (j = i; j < MIN(i + ncolumns, 2); j++) {
900 for (j = i; j < MIN(i + ncolumns, 2); j++) {
919 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
923 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
974 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
979 for (j = i; j < MIN(i + ncolumns, nreq); j++) {
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dkvm_v7dep.c292 argc = MIN(argc, (uint_t)arglim);
309 argc = MIN(argc, (uint_t)arglim);
473 size_t pd_size = MIN(PANICBUFSIZE, pd.pd_msgoff);
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.h416 MIN(MIN(sizeof (cmd_cpu_0_t), sizeof (cmd_cpu_1_t)), \
417 MIN(sizeof (cmd_cpu_2_t), sizeof (cmd_cpu_pers_t)))
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c136 nbytes = MIN((pplen - curlen),
160 contig = MIN(contig, len - curlen);
308 nbytes = (int)MIN(fs->fs_bsize - offsetn, io_len - done_len);
/illumos-gate/usr/src/uts/common/conf/
H A Dparam.c589 maxusers = MIN(MAX(MIN(physmegs, virtmegs),
645 v.v_maxup = MIN(maxuprc, v.v_maxupttl); /* max procs per user */
/illumos-gate/usr/src/lib/libpicltree/
H A Dptree_impl.h210 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/illumos-gate/usr/src/common/ctf/
H A Dctf_decl.c182 cd->cd_ptr += MIN(n, len);
/illumos-gate/usr/src/cmd/sort/common/
H A Dutility.h64 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro

Completed in 195 milliseconds

1234567891011>>