/illumos-gate/usr/src/ucbhead/sys/ |
H A D | param.h | 258 #ifndef MIN 259 #define MIN(a, b) (((a) < (b))?(a):(b)) macro
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 202 MIN(sizeof (fru.isf_data.disk.isf_manufacturer), in platform_update_fru() 205 MIN(sizeof (fru.isf_data.disk.isf_model), sizeof (frup->model))); in platform_update_fru() 207 MIN(sizeof (fru.isf_data.disk.isf_serial), sizeof (frup->serial))); in platform_update_fru() 209 MIN(sizeof (fru.isf_data.disk.isf_version), sizeof (frup->rev))); in platform_update_fru()
|
H A D | diskmon_conf.h | 46 #ifndef MIN 47 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ldterm.h | 42 #ifndef MIN 43 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/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); in process_pkt() 119 length = MIN(hdrp->sbh_msglen - offset, x_length); in process_pkt() 767 len = MIN(chunk, left); in hexdump()
|
H A D | snoop_mount.c | 45 #ifndef MIN 46 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 435 l = MIN(len - i, 32); in detail_mountfh3()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | arc4random.c | 77 m = MIN(datalen, ARC4_KEYSZ + ARC4_IVSZ); in arc4_rekey() 142 size_t m = MIN(n, arc4->arc4_have); in arc4_fill()
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | gb2312.c | 118 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count); in _GB2312_mbrtowc()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_overflow.c | 117 nb = MIN(sz, plen); 165 nb = MIN(sz, plen);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-int.h | 286 #ifndef MIN /* Usually found in <sys/param.h>. */ 287 #define MIN(_a,_b) ((_a)<(_b)?(_a):(_b)) macro
|
/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 166 max = MIN(sz / sizeof (long), TR_ARG_MAX); in argcount() 187 return (MIN(count, max)); in argcount() 252 argc = MIN(argc, 32); in Pstack_iter()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 168 MIN(command->uscsi_buflen, 512), HEX_ASCII); in cmd() 191 MIN(command->uscsi_buflen, 512), HEX_ASCII); in cmd()
|
/illumos-gate/usr/src/uts/common/inet/cc/ |
H A D | cc_sunreno.c | 117 CCV(ccv, tcp_cwnd) = MIN(cwnd + add, CCV(ccv, tcp_cwnd_max)); in sunreno_ack_received() 130 num_sack_blk = MIN(CCV(ccv, tcp_max_sack_blk), in sunreno_after_idle()
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | ramdisk.c | 223 prom_free(addr, MIN(BOOT_ARCHIVE_ALLOC_SIZE, end_addr - addr)); in ramdisk_free_mem() 239 MIN(BOOT_ARCHIVE_ALLOC_SIZE, end_addr - virt), in ramdisk_alloc_mem()
|
/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++) { in req_print() 815 for (j = i; j < MIN(i + ncolumns, nreq); j++) { in req_print() 896 for (j = i; j < MIN(i + ncolumns, 2); j++) { in req_print_v4() 900 for (j = i; j < MIN(i + ncolumns, 2); j++) { in req_print_v4() 919 for (j = i; j < MIN(i + ncolumns, nreq); j++) { in req_print_v4() 923 for (j = i; j < MIN(i + ncolumns, nreq); j++) { in req_print_v4() 974 for (j = i; j < MIN(i + ncolumns, nreq); j++) { in stat_print() 979 for (j = i; j < MIN(i + ncolumns, nreq); j++) { in stat_print()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 283 int len = MIN(array_len, buf_len); in zap_leaf_array_read() 375 int toread = MIN(array_numints - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_match() 813 n = MIN(n, ZAP_HISTOGRAM_SIZE-1); in zap_leaf_stats() 818 n = MIN(n, ZAP_HISTOGRAM_SIZE-1); in zap_leaf_stats() 824 n = MIN(n, ZAP_HISTOGRAM_SIZE-1); in zap_leaf_stats() 838 n = MIN(n, ZAP_HISTOGRAM_SIZE-1); in zap_leaf_stats() 846 n = MIN(n, ZAP_HISTOGRAM_SIZE-1); in zap_leaf_stats()
|
H A D | dmu_zfetch.c | 217 uint32_t max_streams = MAX(1, MIN(zfetch_max_streams, in dmu_zfetch_stream_create() 391 pf_nblks = MIN(pf_ahead_blks, max_blks); in dmu_zfetch() 414 ipf_nblks = MIN(pf_ahead_blks, max_blks); in dmu_zfetch()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md4_mod.c | 266 cur_len = MIN(data->cd_uio->uio_iov[vec_idx].iov_len - in md4_digest_update_uio() 360 cur_len = MIN(digest->cd_uio->uio_iov[vec_idx].iov_len - in md4_digest_final_uio() 415 cur_len = MIN(MBLKL(mp) - offset, length); in md4_digest_update_mblk() 493 cur_len = MIN(MBLKL(mp) - offset, length); in md4_digest_final_mblk()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 387 MIN(sizeof ((vd_vtoc)->volume_name), \ 390 MIN(sizeof ((vd_vtoc)->ascii_label), \ 430 MIN(sizeof ((vtoc)->v_volume), \ 433 MIN(sizeof ((vtoc)->v_asciilabel), \
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_cpuid.c | 453 width = MIN(0xF, log2(threads * cores)); in legacy_emulate_cpuid() 456 logical_cpus = MIN(0xFF, threads * cores - 1); in legacy_emulate_cpuid() 587 logical_cpus = MIN(0xfff, logical_cpus - 1); in legacy_emulate_cpuid() 607 threads = MIN(0xFF, threads - 1); in legacy_emulate_cpuid()
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | mdb_ia32util.c | 196 return (MIN((ssize_t)n, size) / sizeof (uint32_t)); in kvm_argcount() 434 argc = MIN(argc, (uintptr_t)arglim); in mdb_ia32_kvm_frame() 453 argc = MIN(argc, (uintptr_t)arglim); in mdb_ia32_kvm_framev()
|
/illumos-gate/usr/src/uts/common/conf/ |
H A D | param.c | 568 maxusers = MIN(MAX(MIN(physmegs, virtmegs), in param_calc() 624 v.v_maxup = MIN(maxuprc, v.v_maxupttl); /* max procs per user */ in param_init()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | eio.c | 33 #ifndef MIN 34 #define MIN(a,b) (((a)<(b))?(a):(b)) macro 242 len = erdblk(bufr, (int) MIN(msglen, EBUFSIZ), fn); in erddata()
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 192 for (len = MIN(len, rgep->rxbuf_size); len != 0; len -= nbytes) { in minidump() 193 nbytes = MIN(len, sizeof (buf)); in minidump()
|
/illumos-gate/usr/src/cmd/mkfile/ |
H A D | mkfile.c | 38 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 210 size_t bytes = (size_t)MIN(bufsz, size-written); in main()
|