/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 134 * 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 D | gb18030.c | 106 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | ring.c | 300 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 D | mdb_fdio.c | 194 size_t len = MIN(resid, DEV_BSIZE - blkoff); 235 size_t len = MIN(resid, DEV_BSIZE - blkoff);
|
H A D | mdb_pipeio.c | 95 n = MIN(pd->pipe_used, nleft); 159 n = MIN(pd->pipe_free, nleft);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_api.h | 66 #ifndef MIN 67 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctftools.h | 64 #ifndef MIN 65 #define MIN(a, b) ((a) > (b) ? (b) : (a)) macro
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 127 size_t eprlen = MIN(len, cp->c_eplen - off); 145 MIN(len, cp->c_stlen - bufoff), UIO_READ, uio);
|
H A D | ksyms.c | 89 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 D | t_krcvudat.c | 137 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 D | bt_utils.c | 230 len = MIN(a->size, b->size); 255 len = MIN(a->size, b->size);
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 147 #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 D | mach_vm_dep.c | 311 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 D | snoop_display.c | 60 #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 D | ddi_intr_irm.c | 183 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 D | ddi_intr_impl.c | 294 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 D | zap_leaf.c | 287 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 D | nfsstat.c | 766 #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 D | kvm_v7dep.c | 292 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 D | cmd_cpu.h | 416 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 D | ufs_extvnops.c | 136 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 D | param.c | 589 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 D | ptree_impl.h | 210 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_decl.c | 182 cd->cd_ptr += MIN(n, len);
|
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | utility.h | 64 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
|