Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 713) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/common/ficl/test/
H A Dcore.fr179 { MIN-INT 0 MIN -> MIN-INT }
180 { MIN-INT MAX-INT MIN -> MIN-INT }
188 { 0 MIN-INT MIN -> MIN-INT }
189 { MAX-INT MIN-INT MIN -> MIN-INT }
374 { MIN-INT MIN-INT M* MIN-INT FM/MOD -> 0 MIN-INT }
405 { MIN-INT MIN-INT M* MIN-INT SM/REM -> 0 MIN-INT }
456 { MIN-INT MIN-INT /MOD -> MIN-INT MIN-INT T/MOD }
478 { MIN-INT MIN-INT / -> MIN-INT MIN-INT T/ }
500 { MIN-INT MIN-INT MOD -> MIN-INT MIN-INT TMOD }
520 { MIN-INT 2 MIN-INT */ -> MIN-INT 2 MIN-INT T*/ }
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_common.c152 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs4_setopts()
153 mi->mi_curread = MIN(mi->mi_curread, mi->mi_tsize); in nfs4_setopts()
158 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs4_setopts()
159 mi->mi_curwrite = MIN(mi->mi_curwrite, mi->mi_stsize); in nfs4_setopts()
165 mi->mi_acregmin = SEC2HR(MIN(STRUCT_FGET(args, in nfs4_setopts()
172 mi->mi_acregmax = SEC2HR(MIN(STRUCT_FGET(args, in nfs4_setopts()
179 mi->mi_acdirmin = SEC2HR(MIN(STRUCT_FGET(args, in nfs4_setopts()
186 mi->mi_acdirmax = SEC2HR(MIN(STRUCT_FGET(args, in nfs4_setopts()
H A Dnfs_common.c519 mi->mi_tsize = MIN(mi->mi_tsize, STRUCT_FGET(args, rsize)); in nfs_setopts()
520 mi->mi_curread = MIN(mi->mi_curread, mi->mi_tsize); in nfs_setopts()
525 mi->mi_stsize = MIN(mi->mi_stsize, STRUCT_FGET(args, wsize)); in nfs_setopts()
526 mi->mi_curwrite = MIN(mi->mi_curwrite, mi->mi_stsize); in nfs_setopts()
532 mi->mi_acregmin = MIN(STRUCT_FGET(args, acregmin), in nfs_setopts()
540 mi->mi_acregmax = MIN(STRUCT_FGET(args, acregmax), in nfs_setopts()
548 mi->mi_acdirmin = MIN(STRUCT_FGET(args, acdirmin), in nfs_setopts()
556 mi->mi_acdirmax = MIN(STRUCT_FGET(args, acdirmax), in nfs_setopts()
/illumos-gate/usr/src/uts/common/os/
H A Drctl_proc.c96 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native); in proc_filesize_set()
98 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32); in proc_filesize_set()
127 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native); in proc_stack_set()
129 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32); in proc_stack_set()
174 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native); in proc_nofile_set()
176 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32); in proc_nofile_set()
198 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_ilp32); in proc_vmem_set()
200 nv = MIN(nv, rctl->rc_dict_entry->rcd_max_native); in proc_vmem_set()
331 MIN(MAXOFFSET_T, ULONG_MAX), UINT32_MAX, &rctl_default_ops); in rctlproc_init()
H A Dmove.c71 cnt = MIN(iov->iov_len, n); in uiomove()
133 cnt = MIN(iov->iov_len, n); in uio_prefaultpages()
157 incr = MIN(cnt, PAGESIZE); in uio_prefaultpages()
197 cnt = MIN(iov->iov_len, n); in uiocopy()
374 register size_t niovb = MIN(iovp->iov_len, n); in uioskip()
490 cnt = MIN(n, iov->iov_len); in uioamove()
491 cnt = MIN(cnt, PAGESIZE - soff); in uioamove()
492 cnt = MIN(cnt, PAGESIZE - doff); in uioamove()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dicmpcode.c13 #ifndef MIN
14 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro
43 if (!strncasecmp(str, icmpcodes[i], MIN(len,
H A Dipft_sn.c112 n = MIN(plen, ilen);
144 n = MIN(i, cnt);
191 n = MIN(i, cnt);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dabd.c942 size_t len = MIN(dlen, slen); in abd_iterate_func2()
1041 len = MIN(caiters[2].iter_mapsize, len); in abd_raidz_gen_iterate()
1044 len = MIN(caiters[1].iter_mapsize, len); in abd_raidz_gen_iterate()
1055 len = MIN(daiter.iter_mapsize, len); in abd_raidz_gen_iterate()
1056 len = MIN(dsize, len); in abd_raidz_gen_iterate()
1137 len = MIN(xiters[2].iter_mapsize, len); in abd_raidz_rec_iterate()
1138 len = MIN(citers[2].iter_mapsize, len); in abd_raidz_rec_iterate()
1141 len = MIN(xiters[1].iter_mapsize, len); in abd_raidz_rec_iterate()
1142 len = MIN(citers[1].iter_mapsize, len); in abd_raidz_rec_iterate()
1145 len = MIN(xiters[0].iter_mapsize, len); in abd_raidz_rec_iterate()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/smp/sas2/common/
H A Dsas2_functions.c124 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_rs_datalen()
184 return (MIN(len, 24)); in sas2_report_general_rs_datalen()
186 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_report_general_rs_datalen()
208 return (MIN(len, 56)); in sas2_report_manufacturer_info_rs_datalen()
210 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_report_manufacturer_info_rs_datalen()
292 return (MIN(len, 48)); in sas2_discover_rs_datalen()
294 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_discover_rs_datalen()
330 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_report_phy_error_log_rs_datalen()
364 return (MIN(len, 52)); in sas2_report_phy_sata_rs_datalen()
366 return (MIN(len, 4 * (fp->srf_response_len))); in sas2_report_phy_sata_rs_datalen()
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcanonusr.c373 #ifdef MIN
374 #undef MIN
376 #define MIN(a,b) (((a) < (b))? (a):(b)) macro
433 memcpy(out_user, begin_u, MIN(ulen, out_umax));
438 MIN(u_apprealm-1, out_umax-ulen-1));
440 out_user[MIN(ulen + u_apprealm,out_umax)] = '\0';
444 if(out_ulen) *out_ulen = MIN(ulen + u_apprealm,out_umax);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dopen_wmemstream.c68 nbytes = MIN(nbytes, WMEMSTREAM_MAX); in open_wmemstream_write()
119 *wmemp->wmstr_usizep = MIN(wmemp->wmstr_pos, wmemp->wmstr_lsize); in open_wmemstream_write()
150 *wmemp->wmstr_usizep = MIN(wmemp->wmstr_pos, wmemp->wmstr_lsize); in open_wmemstream_seek()
217 *wmemp->wmstr_usizep = MIN(wmemp->wmstr_pos, wmemp->wmstr_lsize); in open_wmemstream()
H A Dopen_memstream.c134 nbytes = MIN(nbytes, SSIZE_MAX); in open_memstream_write()
158 *memp->mstr_usizep = MIN(memp->mstr_pos, memp->mstr_lsize); in open_memstream_write()
189 *memp->mstr_usizep = MIN(memp->mstr_pos, memp->mstr_lsize); in open_memstream_seek()
255 *memp->mstr_usizep = MIN(memp->mstr_pos, memp->mstr_lsize); in open_memstream()
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.c44 (void) strlcpy(name, hostname, MIN(namelen, MAXHOSTNAMELEN)); in gethostname()
54 (void) strlcpy(hostname, name, MIN(namelen + 1, MAXHOSTNAMELEN)); in sethostname()
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c656 least_idle = MIN(system, MIN(kbd, mouse)); in check_shutdown()
665 MIN(least_idle, time_since_last_resume); in check_shutdown()
681 MIN(least_idle, time_since_last_resume); in check_shutdown()
692 MIN(idlecheck_time, MIN(least_idle, in check_shutdown()
705 MIN(idlecheck_time, MIN(least_idle, in check_shutdown()
914 latest = MIN(latest, act_idle); in last_system_activity()
916 latest = MIN(latest, act_idle); in last_system_activity()
918 latest = MIN(latest, act_idle); in last_system_activity()
920 latest = MIN(latest, act_idle); in last_system_activity()
988 next_time = MIN(itime, stime); in set_alarm()
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_impl.h57 #ifndef MIN
58 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgen_seqnum.c39 #ifndef MIN
40 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dgetcwd.c63 kbuflen = MIN(buflen, MAXPATHLEN); in getcwd()
89 kbuflen = MIN(kbuflen * 2, buflen); in getcwd()
H A Dsendfile.c239 size = MIN(vp->v_vfsp->vfs_bsize, in sendvec_chunk64()
252 iov_len = MIN(size, sfv_len); in sendvec_chunk64()
445 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk()
491 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk()
501 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk()
594 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk()
607 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk()
793 iov_len = MIN(iov_len, maxblk); in sendvec_chunk()
920 size = MIN(vp->v_vfsp->vfs_bsize, in sendvec_chunk()
946 size = MIN(size, maxblk); in sendvec_chunk()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_dimm.h165 MIN(MIN(sizeof (cmd_dimm_0_t), sizeof (cmd_dimm_pers_t)), \
166 MIN(sizeof (cmd_dimm_1_t), sizeof (cmd_dimm_pers_t)))
/illumos-gate/usr/src/cmd/bhyve/
H A Diov.c51 size_t toseek = MIN(left, iov1[i].iov_len); in seek_iov()
91 size_t toseek = MIN(length - done, iov[i].iov_len); in truncate_iov()
143 len = MIN(iov[i].iov_len, buflen - off); in buf_to_iov()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.h82 #undef MIN
84 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.h68 #ifndef MIN
69 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/illumos-gate/usr/src/uts/sun4/os/
H A Diommutsb.c137 tsb_max = MIN(iommu_tsb_size_max, MAX_TSB_BYTES); in iommu_tsb_init()
152 tsb_size = MIN(tsb_size, tsb_max); in iommu_tsb_init()
165 ntsbs = MIN(ntsbs, MAX_TSB_ALLOC); in iommu_tsb_init()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c49 static float MAX(float, float, float), MIN(float, float, float);
133 min = MIN(r, g, b); in _rgb_to_hls()
192 MIN(float a, float b, float c) in MIN() function
/illumos-gate/usr/src/tools/smatch/src/
H A Dtest-sort.c14 #define MIN(_x,_y) ((_x) < (_y) ? (_x) : (_y)) macro
38 l2->nr = MIN (l2->nr, rand () % 3); in main()

12345678910>>...29