/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 433 roundup(length, MIN(fsp->pcfs_clsize, MAXBSIZE)) -
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | shared.h | 55 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
H A D | fsys_zfs.c | 638 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 D | seg_spt.c | 569 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 D | seg_dev.c | 689 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 D | tmp_vnops.c | 200 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 D | lufs_top.c | 722 MAX(hmof, vamof), MIN(hnb, nb1));
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 368 if (copyin(data, STRUCT_BUF(args), MIN(uap->datalen,
|
/illumos-gate/usr/src/cmd/zstreamdump/ |
H A D | zstreamdump.c | 173 int this_line_length = MIN(BYTES_PER_LINE, length - i);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpmtok_int.h | 61 #ifndef MIN 62 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 759 MIN((sizeof (struct scsi_descr_sense_hdr) + 917 MIN((sizeof (struct scsi_descr_sense_hdr) +
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 1046 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 D | mtmalloc.c | 316 (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 D | ilbd_scf.c | 132 #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 D | nl7chttp.c | 1404 n = MIN(n, sizeof (filter) - 1); 1719 n = MIN(n, sizeof (filter) - 1);
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 1230 *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 D | ndp.c | 966 validtime = MIN(validtime, pi->pi_TmpValidLifetime); 967 preftime = MIN(preftime, cur_tpreftime);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 1508 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 D | spa_misc.c | 1660 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 D | kmem.c | 393 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 D | stream.c | 1608 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 D | nfs4_vfsops.c | 488 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 D | umem.c | 2578 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 D | tcp.c | 658 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 D | ip.c | 759 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,
|