Searched refs:max (Results 101 - 125 of 603) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/eqn/
H A Dmatrix.c51 hb = max(hb, eht[lp[j]]-ebase[lp[j]]);
52 b = max(b, ebase[lp[j]]);
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy4.c374 int i, max, maxi; local
375 max = 0;
378 if (ggreed[i] >= max) {
379 max = ggreed[i];
384 if (tystate[i] >= max) {
385 max = tystate[i];
389 (void) fprintf(ftable, "nxti = %d, max = %d\n", maxi, max);
390 if (max == 0)
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd_waitq.h45 long Q_maxactive; /* max gcmds to release concurrently */
83 #define GDEV_QATTACH(gdevp, cccp, max) { \
84 GHD_WAITQ_INIT(&(gdevp)->gd_waitq, &(cccp)->ccc_waitq, (max)); \
100 uint32_t gt_maxactive; /* max gcmds to release concurrently */
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_waitq.h45 long Q_maxactive; /* max gcmds to release concurrently */
83 #define GDEV_QATTACH(gdevp, cccp, max) { \
84 GHD_WAITQ_INIT(&(gdevp)->gd_waitq, &(cccp)->ccc_waitq, (max)); \
104 ulong_t gt_maxactive; /* max gcmds to release concurrently */
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAggregate.java121 int ordinal, max = 0;
131 if (ordinal > max) {
132 max = ordinal;
136 if ((max > 0) && (max != (recordSequence - 1))) {
138 "The maximum record ordinal (" + max + ") does not " +
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dannounce.c174 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
195 * [3 wakeup chars + (lines * max chars/line) +
215 max_size = max(max_size, sizes[i]);
223 max_size = max(max_size, sizes[i]);
252 max_size = max(max_size, sizes[i]);
259 max_size = max(max_size, sizes[i]);
265 max_size = max(max_size, sizes[i]);
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c194 #define SET(TYPE) struct { TYPE *data; int n, max; }
203 (((int)(set.max + incr) < set.max \
204 || (((size_t)((int)(set.max + incr) * sizeof(set.data[0])) \
206 != (set.max + incr))) \
209 (int)(set.max + incr) * sizeof(set.data[0]))) \
210 ? (set.data = tmpptr, set.max += incr, 1) \
215 ((set.n < set.max || GROW_SET(set, 10, tmpptr)) \
223 (set.data = 0, set.max = 0)
477 if (s4 >= sstate.max)
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dpartition.c77 uint64_t max; local
97 max = sec_no[1];
99 if (sec_no[0] > max) {
100 max = sec_no[0];
102 max = max;
105 if (max == 0)
106 max = 34;
107 return (max);
249 deflt = max(cur_part
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82599.c118 u16 *max, u8 *bwg_id, u8 *tsa,
148 credit_max = max[i];
177 u16 *max, u8 *bwg_id, u8 *tsa)
190 max_credits = max[i];
222 u16 *max, u8 *bwg_id, u8 *tsa,
252 reg |= (u32)(max[i]) << IXGBE_RTTPT2C_MCL_SHIFT;
580 u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa,
585 ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwg_id, tsa,
587 ixgbe_dcb_config_tx_desc_arbiter_82599(hw, refill, max, bwg_id,
589 ixgbe_dcb_config_tx_data_arbiter_82599(hw, refill, max, bwg_i
117 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
176 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument
221 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
579 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c441 topo_instance_t min, topo_instance_t max)
445 for (i = min; i <= max; i++) {
458 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
471 if (max >= CPUBOARD_MAX) {
472 max = CPUBOARD_MAX;
488 for (i = min; i <= max; i++) {
501 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
505 for (i = min; i <= max; i++) {
515 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
523 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
440 cpuboard_free_pri_info(topo_mod_t *mod, cpuboard_contents_t cpuboard_list[], topo_instance_t min, topo_instance_t max) argument
457 cpuboard_enum(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil.c304 * (min <= value <= max).
308 * min, max - If check_range is true, the allowed range that the
329 elfedit_atoi_range2(const char *str, elfedit_atoi_t min, elfedit_atoi_t max, argument
333 (*v >= min) && (*v <= max));
337 elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym)
341 if ((v < min) || (v > max))
343 item_name, EC_XWORD(min), EC_XWORD(max), EC_XWORD(v));
348 elfedit_atoui_range2(const char *str, elfedit_atoui_t min, elfedit_atoui_t max, argument
352 (*v >= min) && (*v <= max));
356 elfedit_atoui_t min, elfedit_atoui_t max, cons
336 elfedit_atoi_range(const char *str, const char *item_name, elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) argument
355 elfedit_atoui_range(const char *str, const char *item_name, elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym) argument
367 elfedit_atoconst_range2(const char *str, elfedit_atoui_t min, elfedit_atoui_t max, elfedit_const_t const_type, elfedit_atoui_t *v) argument
374 elfedit_atoconst_range(const char *str, const char *item_name, elfedit_atoui_t min, elfedit_atoui_t max, elfedit_const_t const_type) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi.c136 topo_instance_t min, topo_instance_t max, void *pi_private, void *data)
260 int min, max; local
450 max = min + ncmp - 1;
462 f, min, max);
464 CHIP, min, max);
476 CHIP, CHIP, min, max,
478 min = max + 1;
135 x86pi_enum(topo_mod_t *mod, tnode_t *t_parent, const char *name, topo_instance_t min, topo_instance_t max, void *pi_private, void *data) argument
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_event.c271 static au_event_t max; /* the highest event number in the file */ local
316 max = 0;
333 if (p_event->ae_number > max) {
334 max = p_event->ae_number;
363 index_tbl = calloc(max+1, sizeof (au_event_ent_t *));
370 for (i = 0; (au_event_t)i < max; i++) {
383 if (event_number > max || event_number < min) {
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_macro.c106 long max; member in struct:macro_stack_s
124 ms->max = 0;
134 if (ms->next_to_use >= ms->max) {
137 if (ms->max == 0) {
138 ms->max = STARTERMAX;
140 new_size = ms->max * 2;
155 ms->max = new_size;
/illumos-gate/usr/src/uts/common/sys/
H A Dmac_flow_impl.h133 #define FLOW_MIN_PRIORITY(min, max, pri) \
134 ((min) + ((((max) - (min)) / MRP_PRIORITY_LEVELS) * (pri)))
140 #define FLOW_MAX_PRIORITY(min, max, base) \
141 ((base) + (((max) - (min)) / MRP_PRIORITY_LEVELS))
146 * medium so we can just return max, min or min + (max - min) / 2.
149 #define FLOW_PRIORITY(min, max, pri) \
150 (pri) == MPL_HIGH ? (max) : \
152 ((min) + (((max) - (min)) / 2))
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c113 UINT32 avail, max; local
118 TSS_TPMCAP_PROP_MAXCONTEXTS, &max, sizeof (max)))
123 (void) printf(gettext("\tContexts: %d/%d available\n"), avail, max);
126 TSS_TPMCAP_PROP_MAXSESSIONS, &max, sizeof (max)))
131 (void) printf(gettext("\tSessions: %d/%d available\n"), avail, max);
134 TSS_TPMCAP_PROP_MAXAUTHSESSIONS, &max, sizeof (max)))
140 avail, max);
[all...]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp_types.c48 int max; member in struct:__anon4303
234 result = min(t->max, result);
271 #define max(a, b) ((a > b) ? a : b) macro
273 result = max(t->min, result);
274 #undef max macro
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c141 ulong_t count, max; local
143 max = MIN(sz / sizeof (long), TR_ARG_MAX);
150 return (max);
160 return (max);
164 return (MIN(count, max));
/illumos-gate/usr/src/lib/libkmf/include/
H A DkmfapiP.h293 #ifndef max
294 #define max(a, b) ((a) < (b) ? (b) : (a)) macro
299 (max(KMF_NUMBER_RSA_PUBLIC_KEY_PARTS, \
303 (max(KMF_NUMBER_RSA_PRIVATE_KEY_PARTS, \
307 (max(KMF_MAX_PUBLIC_KEY_PARTS, KMF_MAX_PRIVATE_KEY_PARTS))
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c548 u_quad_t max; local
552 max = bn + vp->bmv_len;
553 if (bn >= bmp->bm_len || max > bmp->bm_len)
569 for (cl = cp->c_off + cp->c_clen; bn < cl && bn < max; bn++) {
574 } while (bn < max);
593 u_quad_t max; local
597 max = bn + vp->bmv_len;
598 if (bn >= bmp->bm_len || max > bmp->bm_len)
612 for (cl = cp->c_off + cp->c_clen; bn < cl && bn < max; bn++) {
623 } while (bn < max);
1164 u_quad_t max; local
1210 u_quad_t max; local
[all...]
/illumos-gate/usr/src/cmd/dumpcs/
H A Ddumpcs.c178 * have a code value between min and max, in incremental code order.
181 prcode(len, pos, min, max, col)
182 int len, pos, min, max, col;
191 for (byte = min; byte <= max; byte++) {
195 (void) prcode(len, nextpos, min, max, col);
198 for (byte = min; byte <= max; byte++) {
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c267 int max; local
284 max = 0;
286 if (strlen(e->ex_dir) > max) {
287 max = strlen(e->ex_dir);
291 printf("%-*s ", max, ex->ex_dir);
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemnode.c34 int max_mem_nodes = 1; /* max memory nodes on this system */
296 * min(physbase) and max(physmax) across all mnodes. Therefore, the caller of
304 pfn_t max = 0; local
310 if (max < mem_node_config[mnode].physmax)
311 max = mem_node_config[mnode].physmax;
315 ASSERT(base != (pfn_t)-1 && max != 0);
317 *maxp = max;
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstoa.c212 * if max = 0 : ignore max
216 xfer(char *dest, char *src, unsigned len, unsigned max) argument
218 if (max && dest && max < len) { /* No room */
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dloadfilters.c194 getfields(int fd, char *fields[], char *buf, int bufsiz, int max, char *seps) argument
228 if (n < max) {
250 while (n < max)

Completed in 160 milliseconds

1234567891011>>