Searched refs:MIN (Results 51 - 75 of 653) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_log.c195 for (len = MIN(len, rgep->rxbuf_size); len != 0; len -= nbytes) {
196 nbytes = MIN(len, sizeof (buf));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_overflow.c119 nb = MIN(sz, plen);
167 nb = MIN(sz, plen);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h286 #ifndef MIN /* Usually found in <sys/param.h>. */
287 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) macro
/illumos-gate/usr/src/uts/common/sys/
H A Dldterm.h44 #ifndef MIN
45 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h258 #ifndef MIN
259 #define MIN(a, b) (((a) < (b))?(a):(b)) macro
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c71 cnt = MIN(iov->iov_len, n);
133 cnt = MIN(iov->iov_len, n);
157 incr = MIN(cnt, PAGESIZE);
197 cnt = MIN(iov->iov_len, n);
374 register size_t niovb = MIN(iovp->iov_len, n);
490 cnt = MIN(n, iov->iov_len);
491 cnt = MIN(cnt, PAGESIZE - soff);
492 cnt = MIN(cnt, PAGESIZE - doff);
H A Dbp_map.c77 MIN(8 * bp_align, bp_max_cache), VM_SLEEP);
328 psize = MIN(PAGESIZE - poff, size);
388 psize = MIN(PAGESIZE, size);
407 psize = MIN(PAGESIZE, size);
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c81 _libctf_version = MIN(CTF_VERSION, version);
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_bank.h132 MIN(sizeof (cmd_bank_0_t), sizeof (cmd_bank_pers_t))
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_hc_opl.c88 npairs = MIN(npairs, HC_MAXPAIRS);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_ef.c125 i = MIN(cnt, slen);
H A Dipft_pc.c175 n = MIN(p, rec->ph_len);
207 n = MIN(i, cnt);
247 n = MIN(i, cnt);
/illumos-gate/usr/src/cmd/sort/common/
H A Dinternal.c148 p = MIN(le, l - le);
150 p = MIN(re - r, n - re - 1);
258 p = MIN(le, l - le);
260 p = MIN(re - r, n - re - 1);
H A Doptions.c122 int p_period = MIN(length, strcspn(C, "."));
123 int p_modifiers = MIN(length, strspn(C, ".1234567890"));
124 int p_boundary = MIN(p_period, p_modifiers);
207 int p_comma = MIN(length, strcspn(arg, ","));
H A Dstreams_array.c41 str->s_type.LA.s_cur_index = MIN(0, str->s_type.LA.s_array_size - 1);
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_cpu.c92 return (MIN(r1, r2));
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftread.c54 #ifndef MIN
55 #define MIN(x, y) ((x) <= (y) ? (x) : (y)) macro
133 size_t rsz = MIN(hdr.identlen, idbufsz - 1);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dstrtab.c119 n = MIN(resid, len);
145 n = MIN(resid, len);
249 n = MIN(resid, len);
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmt.c259 MIN(cfg_parms->peak_burst,
272 MIN(cfg_parms->committed_burst,
279 MIN(cfg_parms->peak_burst,
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kconnect.c191 len = MIN(pptr->conn_con.RES_length,
197 len = MIN(pptr->conn_con.OPT_length,
207 len = MIN(msgsz, rcvcall->udata.maxlen);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_zfetch.c180 uint32_t max_streams = MAX(1, MIN(zfetch_max_streams,
282 pf_nblks = MIN(pf_ahead_blks, max_blks);
305 ipf_nblks = MIN(pf_ahead_blks, max_blks);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_bootcfg.c274 if (used_bytes > MIN(sector_length, BOOTCFG_MAX_SIZE)) {
298 remaining = MIN(chunk_length, sector_length - offset);
304 MIN(remaining, used_bytes - offset));
/illumos-gate/usr/src/uts/common/syscall/
H A Dsendfile.c240 size = MIN(vp->v_vfsp->vfs_bsize,
253 iov_len = MIN(size, sfv_len);
365 copy_cnt = MIN(sfvcnt, SEND_MAX_CHUNK);
446 buf_left = MIN(total_size, maxblk);
491 buf_left = MIN(total_size, maxblk);
492 iov_len = MIN(buf_left, sfv_len);
502 iov_len = MIN(buf_left, sfv_len);
594 buf_left = MIN(total_size, maxblk);
595 iov_len = MIN(buf_left, sfv_len);
608 iov_len = MIN(buf_lef
[all...]
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c174 * Because of this, we default to returning MIN(sz, TR_ARG_MAX) instead of 0
183 max = MIN(sz / sizeof (uint32_t), TR_ARG_MAX);
206 return (MIN(count, max));
406 for (i = 0; i < MIN(5, finfo.ctc_argc); i++) {
420 insnsize = MIN(MIN(sym.st_size, SAVEARGS_INSN_SEQ_LEN),
429 int regargs = MIN((6 - start_index), argc);
452 size = MIN((argc - regargs) * sizeof (long),
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_log.c266 hlen += MIN(sizeof(tcphdr_t), fin->fin_dlen);
268 hlen += MIN(sizeof(udphdr_t), fin->fin_dlen);
286 hlen += MIN(sizeof(struct icmp) + 8,
290 hlen += MIN(sizeof(struct icmp),
307 hlen += MIN(sizeof(struct icmp6_hdr) + 8,
310 hlen += MIN(sizeof(struct icmp6_hdr),
358 mlen = (flags & FR_LOGBODY) ? MIN(mlen, 128) : 0;

Completed in 201 milliseconds

1234567891011>>