Home
last modified time | relevance | path

Searched refs:min (Results 51 – 75 of 727) sorted by relevance

12345678910>>...30

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtimer.c88 mintime = min(mintime, CHECK_INTERVAL - iftime); in timer()
97 mintime = min(mintime, supplyinterval - mtime); in timer()
123 mintime = min(mintime, in timer()
126 mintime = min(mintime, in timer()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ufm/
H A Dtopo_ufm.c172 topo_ufm_devinfo(topo_mod_t *mod, tnode_t *pn, topo_instance_t min, in topo_ufm_devinfo() argument
282 if (topo_node_range_create(mod, pn, UFM, min, max) != 0) { in topo_ufm_devinfo()
284 ", %" PRIu64 "]: %s", UFM, min, max, topo_mod_errmsg(mod)); in topo_ufm_devinfo()
289 for (topo_instance_t i = min; i <= max; i++) { in topo_ufm_devinfo()
310 topo_instance_t min, topo_instance_t max, void *modarg, void *data) in topo_ufm_enum() argument
315 "%s%" PRIu64 "\n", name, min, max, topo_node_name(pnode), in topo_ufm_enum()
333 return (topo_ufm_devinfo(mod, pnode, min, max, data)); in topo_ufm_enum()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_err_ptr_deref.c193 sval_t min = sval_type_max(&llong_ctype); in match_err_ptr() local
202 if (!sval_is_a_min(tmp_min) && sval_cmp(tmp_min, min) < 0) in match_err_ptr()
203 min = tmp_min; in match_err_ptr()
208 if (sval_is_negative(min) && sval_cmp_val(min, -4095) < 0) in match_err_ptr()
209 sm_error("%s too low for ERR_PTR", sval_to_str(min)); in match_err_ptr()
H A Dcheck_dma_mapping_error.c56 sval_t min; in match_return() local
66 if (!get_absolute_min(ret_value, &min)) in match_return()
68 if (min.value == 0) in match_return()
H A Dsmatch_estate.c279 sval_t min, max; in estate_get_single_value() local
283 min = rl_min(estate_rl(state)); in estate_get_single_value()
285 if (sval_cmp(min, max) != 0) in estate_get_single_value()
287 *sval = min; in estate_get_single_value()
300 static struct data_info *alloc_dinfo_range(sval_t min, sval_t max) in alloc_dinfo_range() argument
305 add_range(&ret->value_ranges, min, max); in alloc_dinfo_range()
401 struct smatch_state *alloc_estate_range(sval_t min, sval_t max) in alloc_estate_range() argument
406 state->data = alloc_dinfo_range(min, max); in alloc_estate_range()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_intr.c48 int min = 0; in oce_setup_intr() local
65 min = OCE_MIN_VECTORS; in oce_setup_intr()
69 min = OCE_MIN_VECTORS; in oce_setup_intr()
81 if (ret != DDI_SUCCESS || navail < min) { in oce_setup_intr()
88 if (navail < min) { in oce_setup_intr()
114 if (nallocd < min) { in oce_setup_intr()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcopywin.c45 #undef min
46 #define min(a,b) ((a) < (b) ? (a) : (b)) macro
64 tmaxc = min(s->_begx + s->_maxx, t->_begx + t->_maxx) - 1 - t->_begx;
65 tmaxr = min(s->_begy + s->_maxy, t->_begy + t->_maxy) - 1 - t->_begy;
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp_types.c45 int min; member
230 #define min(a, b) ((a < b) ? a : b) in max_val_len() macro
232 result = min(t->max, result); in max_val_len()
233 #undef min in max_val_len()
271 result = max(t->min, result); in min_val_len()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dlgrpplat.c1858 min = -1; in lgrp_plat_latency_adjust()
1866 if (min == -1 || t < min) in lgrp_plat_latency_adjust()
1867 min = t; in lgrp_plat_latency_adjust()
1887 if (local - min > min >> lgrp_plat_probe_lt_shift) in lgrp_plat_latency_adjust()
2491 min = -1; in lgrp_plat_probe_time()
2531 if (min == -1 || elapsed < min) in lgrp_plat_probe_time()
2548 return (min); in lgrp_plat_probe_time()
2644 hrtime_t min; in lgrp_plat_process_slit() local
2679 if (latency < min || min == -1) in lgrp_plat_process_slit()
2780 if (latency < min || min == -1) in lgrp_plat_process_sli()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c98 parse_int(char *in, int64_t *val, int64_t min, int64_t max) in parse_int() argument
108 "range [%lld,%lld]\n", in, min, max); in parse_int()
116 if (t < min || t > max) { in parse_int()
118 "[%lld,%lld]\n", t, min, max); in parse_int()
127 parse_uint(char *in, uint64_t *val, uint64_t min, uint64_t max) in parse_uint() argument
137 "range [%llu,%llu]\n", in, min, max); in parse_uint()
145 if (t < min || t > max) { in parse_uint()
147 "[%llu,%llu]\n", t, min, max); in parse_uint()
262 #define DO_CMD_NUMBER(typ, nam, min, max, ptyp, func) \ argument
267 if (func(argv[i], &val, min, max) != 0) { \
/illumos-gate/usr/src/ucblib/libcurses/
H A Doverwrite.c26 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
43 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overwrite()
44 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overwrite()
H A Doverlay.c25 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
44 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in overlay()
45 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in overlay()
H A Dtoucholap.c24 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
41 endy = min(win1->_maxy + win1->_begy, win2->_maxy + win2->_begy); in touchoverlap()
42 endx = min(win1->_maxx + win1->_begx, win2->_maxx + win2->_begx); in touchoverlap()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvio_util.h159 #define VIO_VER_IS_NEGOTIATED(ver, maj, min) \ argument
160 ((ver.major == (maj)) && (ver.minor == (min)))
162 boolean_t vio_ver_is_supported(vio_ver_t ver, uint16_t maj, uint16_t min);
/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.c221 uint32_t *min, uint32_t *max) in mod_get_buf_prop_range() argument
226 *min = pinfo->prop_min_uval; in mod_get_buf_prop_range()
243 uint32_t min, max; in mod_set_buf_prop() local
253 mod_get_buf_prop_range(ptbl, pinfo, &min, &max); in mod_set_buf_prop()
254 if (new_value < min || new_value > max) in mod_set_buf_prop()
273 uint32_t min, max; in mod_get_buf_prop() local
276 mod_get_buf_prop_range(ptbl, pinfo, &min, &max); in mod_get_buf_prop()
277 nbytes = snprintf(pval, psize, "%u-%u", min, max); in mod_get_buf_prop()
/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleep.awk18 if ($2 >= min && $2 <= min * factor) {
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLinearDistribution.java131 long min; in getBucketRange() local
135 min = Long.MIN_VALUE; in getBucketRange()
137 min = (base + ((i - 1) * step)); in getBucketRange()
148 long[] range = new long[] {min, max}; in getBucketRange()
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c82 int min; in pam_sm_authenticate() local
271 min = al[1].data.val_i; in pam_sm_authenticate()
280 if (daynow < (time_t)(lstchg + min)) { in pam_sm_authenticate()
284 service, min); in pam_sm_authenticate()
293 if (min > max) { in pam_sm_authenticate()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtest-suite181 while read min max pat; do
184 if [ "$n" -ne "$min" ]; then
185 error " Pattern '$pat' expected $min times but got $n times"
190 if [ "$min" != '-' ]; then
191 if [ "$n" -lt "$min" ]; then
192 error " Pattern '$pat' expected min $min times but got $n times"
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.min_neg.d41 @ = min(0);
42 @ = min(-900);
/illumos-gate/usr/src/uts/common/sys/
H A Dddi.h59 #ifdef min
60 #undef min
62 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dlibkern.h21 #ifndef min
22 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } in min() function
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c93 int sec, min, hour, day, month, year; in get_time() local
99 min = BCD_TO_BYTE(mostek[1] & 0x7f); in get_time()
107 utc = (utc << 6) - (utc << 2) + min; /* 60 * hour + min */ in get_time()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c795 pciexbus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, in pciexbus_enum() argument
825 (min == max) ? min : TRUST_BDF, 0); in pciexbus_enum()
832 pcibus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, in pcibus_enum() argument
849 if (min == max) { in pcibus_enum()
854 if (b == min) in pcibus_enum()
861 "to %s instance %" PRIu64 ".\n", pnm, PCI_BUS, min); in pcibus_enum()
871 (min == max) ? min : TRUST_BDF, 0); in pcibus_enum()
881 topo_instance_t min, topo_instance_t max, void *notused, void *data) in pci_enum() argument
906 retval = pcibus_enum(mod, ptn, pname, min, max, data); in pci_enum()
908 retval = pciexbus_enum(mod, ptn, pname, min, max); in pci_enum()
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_as_req.c246 min(until, in process_as_req()
247 min(tmp_client_times, in process_as_req()
248 min(tmp_server_times, in process_as_req()
249 min(tmp_realm_times,KRB5_KDB_EXPIRATION)))); in process_as_req()
275 min(rtime, min(tmp_client_times, in process_as_req()
276 min(tmp_server_times, in process_as_req()
277 min(tmp_realm_times,KRB5_KDB_EXPIRATION)))); in process_as_req()
408 etime = min(client.expiration, client.pw_expiration); in process_as_req()

12345678910>>...30