Searched refs:MIN (Results 401 - 425 of 653) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c433 roundup(length, MIN(fsp->pcfs_clsize, MAXBSIZE)) -
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dshared.h55 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
H A Dfsys_zfs.c638 int toread = MIN(array_len - bseen, ZAP_LEAF_ARRAY_BYTES);
1875 movesize = MIN(length, file_end - filepos);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c569 sz = MIN(pgsz, ptob(npages - pidx));
2172 sz = MIN(pgsz, ptob(npages - pidx));
2185 sz = MIN(pgsz, ptob(npages - pidx));
2508 nlck = MIN(nlck, npages - i);
H A Dseg_dev.c689 mlen = MIN(slen, (dhpp->dh_len - soff));
1351 mlen = MIN(tlen, (dhp->dh_len - off));
1726 mlen = MIN(slen, (dhpp->dh_len - off));
1790 mlen = MIN(len, (dhp->dh_len - off));
2166 mlen = MIN(slen, (dhp->dh_len - soff));
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c200 bytes = MIN(PAGESIZE - pageoffset, uio->uio_resid);
509 bytes = MIN(PAGESIZE - pageoffset, uio->uio_resid);
2005 eoff = MIN(off + len, tp->tn_size);
2094 kllen = MIN(tmp_klustsize, tp->tn_size - klstart);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_top.c722 MAX(hmof, vamof), MIN(hnb, nb1));
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c368 if (copyin(data, STRUCT_BUF(args), MIN(uap->datalen,
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c173 int this_line_length = MIN(BYTES_PER_LINE, length - i);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpmtok_int.h61 #ifndef MIN
62 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c759 MIN((sizeof (struct scsi_descr_sense_hdr) +
917 MIN((sizeof (struct scsi_descr_sense_hdr) +
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c1046 n_entries = MIN(ie->ds_max, length / type_size);
1048 n_entries = MIN(ie->ds_max * ie->ds_gran, length / type_size);
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c316 (void) memcpy(new, data_ptr, MIN(bytes, old->size - shift));
324 MIN(cacheptr->mt_size - OVERHEAD - shift, bytes));
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c132 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
137 return (MIN(scf_limit(type), 120));
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c1404 n = MIN(n, sizeof (filter) - 1);
1719 n = MIN(n, sizeof (filter) - 1);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmpo.c1230 *npages_out = MIN(test_end, end) - MAX(test_base, base) + 1;
1872 (d) = MIN((b), (d)); \
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dndp.c966 validtime = MIN(validtime, pi->pi_TmpValidLifetime);
967 preftime = MIN(preftime, cur_tpreftime);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c1508 size_t initial_size = MIN(1, n) * itemsize;
1523 initial_size = MIN(MAPSIZE, initial_size + sizeof (*iol));
2310 MIN(sizeof (up->u_comm), sizeof (psp->pr_fname)-1));
2312 MIN(PRARGSZ-1, PSARGSZ));
2442 MIN(sizeof (up->u_comm), sizeof (psp->pr_fname)-1));
2444 MIN(PRARGSZ-1, PSARGSZ));
3589 pagev->pg_npages = MIN(total_pages, pagev_lim);
3818 return (MIN(spt_realsize(seg), size));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c1660 return (MAX(space >> spa_slop_shift, MIN(space >> 1, spa_min_slop)));
1754 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override));
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c393 buckets = MIN(buckets, maxbuckets);
400 buckets = MIN(buckets, 1 + ((buffers_per_slab - 1) /
2937 depth = MIN(bc.bc_depth, KMEM_STACK_DEPTH);
3862 depth = MIN(bcp->bc_depth, KMEM_STACK_DEPTH);
3991 int i, depth = MIN(bcp->bc_depth, KMEM_STACK_DEPTH);
4086 int i, depth = MIN(bcp->bc_depth, KMEM_STACK_DEPTH);
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1608 n = MIN(bp->b_wptr - bp->b_rptr, len);
1730 n = MIN(mp->b_wptr - mp->b_rptr, len);
1765 n = MIN(save_bp->b_wptr - save_bp->b_rptr, len);
3362 val = MIN(PIPE_BUF, val);
3364 val = MIN(strmsgsz, val);
3650 cnt = MIN(uiocnt, uiop->uio_resid);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_vfsops.c488 if (copyin(data, STRUCT_BUF(args), MIN(datalen,
1936 MIN(MAXBSIZE, mi->mi_tsize);
1939 MIN(garp->n4g_ext_res->n4g_maxread,
1944 MIN(MAXBSIZE, mi->mi_stsize);
1947 MIN(garp->n4g_ext_res->n4g_maxwrite,
1952 MIN(garp->n4g_ext_res->n4g_maxfilesize,
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2578 depth = MIN(bcp->bc_depth, umem_stack_depth);
3498 depth = MIN(bcp->bc_depth, umem_stack_depth);
3621 int i, depth = MIN(bcp->bc_depth, umem_stack_depth);
3726 int i, depth = MIN(bcp->bc_depth, umem_stack_depth);
3904 buckets = MIN(buckets, maxbuckets);
3907 buckets = MIN(buckets, nbucks/minbucketsize);
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp.c658 connp->conn_sndbuf = MIN(uinfo.iulp_spipe,
674 tcp->tcp_rwnd = MIN(uinfo.iulp_rpipe,
3036 MIN(tcps->tcps_local_dacks_max, rwnd / mss / 2);
3044 MIN(tcps->tcps_deferred_acks_max, rwnd / mss / 2);
3327 tcp->tcp_lso_max = MIN(TCP_MAX_LSO_LENGTH, lsoc->ill_lso_max);
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c759 MIN(LIFNAMSIZ, ill.ill_name_length),
938 MIN(LIFNAMSIZ, ill.ill_name_length),
2210 (void) mdb_readstr(ill_name, MIN(LIFNAMSIZ, ill.ill_name_length),
2588 (void) mdb_readstr(ill_name, MIN(LIFNAMSIZ, ill->ill_name_length),
2887 if ((mdb_readstr(ill_name, MIN(LIFNAMSIZ,

Completed in 201 milliseconds

<<11121314151617181920>>