Searched refs:max (Results 76 - 100 of 603) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A DString.c63 int sz = s->sg.max * 2;
68 (void) memcpy(ns, s, s->sg.max + sizeof (StringGuts) + 1);
74 ns->sg.max = sz;
89 while (s->sg.end + n > s->sg.max)
166 while (catlen > s->sg.max)
191 s->sg.max = STRING_START;
215 while (len > s->sg.max)
217 s->sg.start = s->sg.end = s->sg.max / 2;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs.conf91 # max-xfer-size: Sets the maximum SCSI transfer size in bytes per IO
99 # Memory_model max-xfer-size
107 max-xfer-size=339968;
242 # pci-max-read: Sets the PCI-X max memory read byte count on the adapter.
244 # This value controls the adapter's max PCI-X memory read count.
255 #pci-max-read=1024;
349 # By default, the max number of simultaneous IOs a target port can handle
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_map.c40 dt_strdata_add(dtrace_hdl_t *dtp, dtrace_recdesc_t *rec, void ***data, int *max) argument
49 if (rec->dtrd_format <= *max &&
70 while (rec->dtrd_format > (maxformat = *max)) {
85 *max = new_max;
113 dtrace_id_t max; local
118 while (id >= (max = dtp->dt_maxprobe) || dtp->dt_pdesc == NULL) {
119 dtrace_id_t new_max = max ? (max << 1) : 1;
134 size_t osize = max * sizeof (void *);
316 dtrace_id_t max; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_rs.c89 * Test to see if the max value is 64-bit aligned. If so, we don't need
156 uint_t max; local
166 max = rstruct->rs_max;
170 * a free resource. There are a total of 'max'-'min'+1 resources.
173 for (index = min; index <= max; index++) {
190 * at 'max'+1.
193 if (rstruct->rs_last > max) {
205 * rollover at 'max'.
208 if (rstruct->rs_last > max) {
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dfield.c338 set_max_field(FIELD *f, int max) argument
342 if (!f || max && ((onerow && f->dcols > max) ||
343 (!onerow && f->drows > max)))
346 f->maxgrow = max;
349 if (!Opt(f, O_STATIC) && ((!max || onerow && f->dcols < max) ||
350 (!onerow && f->drows < max))) {
362 dynamic_field_info(FIELD *f, int *drows, int *dcols, int *max) argument
367 /* int *max; maximu
[all...]
/illumos-gate/usr/src/cmd/valtools/
H A Dckitem.c56 static int max = 1; variable
67 "\t-m max #maximum choices user may select\n" \
174 max = atoi(optarg);
175 if (max > SHRT_MAX || max < SHRT_MIN) {
177 gettext("%s: ERROR: too large or too small max value specified\n"),
338 if (max < 1) {
341 mmax = max;
347 * even though 'max' is set to 1. So to take care of that problem, we
356 n = ckitem(mp, item, max, defl
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c50 useconds_t max; local
55 max = DEFAULT_TIMEOUT;
60 max = (*cp) * 1000000; /* convert to usecs */
65 for (usecs = INIT_WAIT_USECS; max > 0; max -= usecs) {
68 usecs = (usecs > max) ? max : usecs;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A D_times_power.c97 unsigned short productsize, trailing_zeros_to_delete, needed_precision, *pp, *table[3], max[3], *start[3], *lz[3], tablepower[3]; local
112 max[0] = _max_tiny_powers_two;
113 max[1] = _max_small_powers_two;
114 max[2] = _max_big_powers_two;
131 max[0] = _max_tiny_powers_ten;
132 max[1] = _max_small_powers_ten;
133 max[2] = _max_big_powers_ten;
149 tablepower[i] = n % max[i];
150 n = n / max[i];
/illumos-gate/usr/src/uts/common/syscall/
H A Dlseek.c66 * 'max' represents the maximum possible representation of offset
77 lseek32_common(file_t *fp, int stype, offset_t off, offset_t max, argument
95 if (reg && noff > max) {
102 if (reg && off > (max - curoff)) {
107 if (reg && noff > max) {
118 if (reg && (off > (max - (offset_t)vattr.va_size))) {
123 if (reg && noff > max) {
151 if (reg && (noff > max))
182 if (reg && (noff > max))
194 ASSERT((reg && noff <= max) || !re
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dutils.h137 Define standard min and max macros
144 #undef max macro
147 #ifndef max
148 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro
149 #endif // !max
/illumos-gate/usr/src/lib/libadm/common/
H A Dckitem.c127 ckitem(CKMENU *menup, char *item[], short max, char *defstr, char *error, argument
152 if (max < 1)
153 max = menup->nchoices;
176 list = match(menup, strval, (int)max);
181 for (i = 0; (i < max); i++)
191 getnum(char *strval, int max, int *begin, int *end) argument
200 n = max;
204 if ((n <= 0) || (n > max))
232 match(CKMENU *menup, char *strval, int max) argument
241 choice = calloc((size_t)max, sizeo
[all...]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dread.c174 max = max_val_len(type, name); local
183 if (within(min, i, max))
188 _ipp_tag_string(type), i, min, max);
206 if (within(min, lower, max) &&
207 within(min, upper, max))
212 _ipp_tag_string(type), lower, upper, min, max);
225 if (strlen(v) < max)
229 "%s(%s): %s: too long (max length: %d)", name,
230 _ipp_tag_string(type), v, max);
236 if (strlen(v) >= max)
378 int32_t min, max; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh39 <range name='bay' min='0' max='15'>
89 <range name='disk' min='0' max='0'>
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/
H A Dzambezi.c168 topo_instance_t min, topo_instance_t max, void *notused, void *data)
179 if (max >= ZAMBEZI_MAX)
180 max = ZAMBEZI_MAX;
182 for (i = 0; i <= max; i++) {
167 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h30 int max, nfds; member in struct:select_state
/illumos-gate/usr/src/lib/libsmbfs/
H A Dcflib.h64 int ival; /* int/bool values, or max len for str value */
67 int max; /* max for ival */ member in struct:opt_args
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLinearDistribution.java132 long max;
143 max = Long.MAX_VALUE;
145 max = ((base + (i * step)) - 1);
148 long[] range = new long[] {min, max};
H A DLogDistribution.java115 long max = (LocalConsumer._quantizeBucket(i + 1) - 1);
117 long[] range = new long[] {min, max};
/illumos-gate/usr/src/common/mpi/
H A Dmp_gf2m.h68 int mp_bpoly2arr(const mp_int *a, unsigned int p[], int max);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/
H A DLocalityDomain.java230 int max = 0;
240 if (latency > max)
241 max = latency;
244 return (max);
/illumos-gate/usr/src/cmd/bnu/
H A Dstoa.c200 if max = 0 : ignore max
204 xfer(dest, src, len, max)
206 unsigned len, max;
208 if (max && dest && max < len) { /* No room */
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dmsgbuf.h68 * max: holds the number of bytes in the buffer.
78 size_t max; member in struct:smb_msgbuf
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_utils.c213 vmxnet3_getprop(vmxnet3_softc_t *dp, char *name, int min, int max, int def) argument
230 if (ret < min || ret > max) {
231 ASSERT(def >= min && def <= max);
233 name, min, ret, max);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c113 datepart(const char *buf, int size, int min, int max, int *errp) { argument
124 if (result > max)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.negorder.d57 @maxxy[i] = max(incr);
76 printf("Ordering of max() with some negative weights:\n");

Completed in 307 milliseconds

1234567891011>>