/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_common.c | 152 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 D | nfs_common.c | 519 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()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | rctl_proc.c | 96 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 D | move.c | 71 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()
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | icmpcode.c | 13 #ifndef MIN 14 # define MIN(a,b) ((a) > (b) ? (b) : (a)) macro 43 if (!strncasecmp(str, icmpcodes[i], MIN(len,
|
H A D | ipft_sn.c | 112 n = MIN(plen, ilen); 144 n = MIN(i, cnt); 191 n = MIN(i, cnt);
|
/titanic_41/usr/src/lib/scsi/plugins/smp/sas2/common/ |
H A D | sas2_functions.c | 124 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() 328 return (MIN(len, sizeof (smp_report_phy_error_log_resp_t))); in sas2_report_phy_error_log_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() [all …]
|
/titanic_41/usr/src/stand/lib/sa/ |
H A D | unistd.c | 44 (void) strlcpy(name, hostname, MIN(namelen, MAXHOSTNAMELEN)); in gethostname() 54 (void) strlcpy(hostname, name, MIN(namelen + 1, MAXHOSTNAMELEN)); in sethostname()
|
/titanic_41/usr/src/lib/libsasl/lib/ |
H A D | canonusr.c | 373 #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);
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | getcwd.c | 52 kbuflen = MIN(buflen, MAXPATHLEN); in getcwd() 72 kbuflen = MIN(kbuflen * 2, buflen); in getcwd()
|
H A D | sendfile.c | 240 size = MIN(vp->v_vfsp->vfs_bsize, in sendvec_chunk64() 253 iov_len = MIN(size, sfv_len); in sendvec_chunk64() 365 copy_cnt = MIN(sfvcnt, SEND_MAX_CHUNK); in sendvec64() 446 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 491 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 492 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 502 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 594 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 595 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() 608 iov_len = MIN(buf_left, sfv_len); in sendvec_small_chunk() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_impl.h | 57 #ifndef MIN 58 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gen_seqnum.c | 39 #ifndef MIN 40 #define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
|
/titanic_41/usr/src/cmd/power/ |
H A D | powerd.c | 647 least_idle = MIN(system, MIN(kbd, mouse)); in check_shutdown() 656 MIN(least_idle, time_since_last_resume); in check_shutdown() 672 MIN(least_idle, time_since_last_resume); in check_shutdown() 683 MIN(idlecheck_time, MIN(least_idle, in check_shutdown() 696 MIN(idlecheck_time, MIN(least_idle, in check_shutdown() 905 latest = MIN(latest, act_idle); in last_system_activity() 907 latest = MIN(latest, act_idle); in last_system_activity() 909 latest = MIN(latest, act_idle); in last_system_activity() 911 latest = MIN(latest, act_idle); in last_system_activity() 979 next_time = MIN(itime, stime); in set_alarm()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fread.c | 42 #define MIN(x, y) (x < y ? x : y) macro 65 n = MIN(nleft, iop->_cnt); in fread()
|
H A D | fgets.c | 41 #define MIN(x, y) (x < y ? x : y) macro 70 n = MIN(size, iop->_cnt);
|
/titanic_41/usr/src/cmd/fs.d/ |
H A D | fslib.h | 82 #undef MIN 84 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_dimm.h | 165 MIN(MIN(sizeof (cmd_dimm_0_t), sizeof (cmd_dimm_pers_t)), \ 166 MIN(sizeof (cmd_dimm_1_t), sizeof (cmd_dimm_pers_t)))
|
/titanic_41/usr/src/lib/libpcp/common/ |
H A D | libpcp.h | 68 #ifndef MIN 69 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | spa_history.c | 112 shpp->sh_phys_max_off = MIN(shpp->sh_phys_max_off, 1<<30); in spa_history_create_obj() 130 firstread = MIN(sizeof (reclen), shpp->sh_phys_max_off - phys_bof); in spa_history_advance_bof() 167 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); in spa_history_write() 379 read_len = MIN(*len, shpp->sh_pool_create_len - in spa_history_get() 395 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get() 397 read_len = MIN(*len, in spa_history_get() 400 leftover = MIN(*len - read_len, in spa_history_get()
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | iommutsb.c | 137 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()
|
/titanic_41/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 49 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
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_fmri.h | 56 #ifndef MIN 57 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.h | 39 #ifndef MIN 40 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 521 n = (int)MIN(fs->fs_bsize - on, resid); in ufs_directio_write() 649 pglck_len = (size_t)MIN(iov->iov_len, resid); in ufs_directio_write() 660 pglck_len = (size_t)MIN(pglck_len, ufsvfsp->vfs_ioclustsz); in ufs_directio_write() 686 nbytes = (size_t)MIN(nbytes, len); in ufs_directio_write() 805 nzero = (int)MIN(phys_iov.iov_len, ufs_directio_zero_len); in directio_hole() 953 pglck_len = (size_t)MIN(iov->iov_len, resid); in ufs_directio_read() 964 pglck_len = (size_t)MIN(pglck_len, ufsvfsp->vfs_ioclustsz); in ufs_directio_read() 986 nbytes = (size_t)MIN(fs->fs_bsize - in ufs_directio_read() 997 nbytes = (size_t)MIN(nbytes, len); in ufs_directio_read()
|