Searched defs:max (Results 76 - 100 of 348) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkconf.c38 int max; member in struct:profile_string_list
51 list->max = 10;
52 list->list = malloc(list->max * sizeof (char *));
75 list->num = list->max = 0;
88 if (list->num + 1 >= list->max) {
89 newmax = list->max + 10;
93 list->max = newmax;
/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/uts/common/io/drm/
H A Ddrm_context.c46 find_first_zero_bit(volatile void *p, int max) argument
51 for (b = 0; b < max; b += 32) {
60 return (max);
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_irm.c462 /* Apply the max. limit */
464 uint_t max; local
466 max = apix_system_max_vectors -
470 new_pool_size = MIN(new_pool_size, max);
568 /* Apply the max. limit */
570 uint_t max; local
572 max = apix_system_max_vectors -
576 new_pool_size = MIN(new_pool_size, max);
/illumos-gate/usr/src/uts/common/sys/
H A Dddi.h56 * define min() and max() as macros so that drivers will not pick up the
57 * min() and max() kernel functions since they do signed comparison only.
64 #ifdef max
65 #undef max macro
66 #endif /* max */
67 #define max(a, b) ((a) < (b) ? (b) : (a)) macro
/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/cmd/lp/cmd/lpsched/
H A Ddaisyforms.c382 int max = 0; local
401 (++pps->nrequests >= max))
402 max = pps->nrequests;
407 if (++pps->nrequests >= max)
408 max = pps->nrequests;
409 return (max);
417 int max = 0; local
439 if (++pps->nrequests >= max)
440 max = pps->nrequests;
448 if (++pps->nrequests >= max)
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_string.c172 uint16_t max = (uint16_t)~0ULL; local
174 if (lnum < 0 || lnum > max) {
/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/uts/common/syscall/
H A Dfcntl.c832 flock_check(vnode_t *vp, flock64_t *flp, offset_t offset, offset_t max) argument
844 if (start > max)
848 if (flp->l_start > (max - offset))
851 if (start > max)
858 if (flp->l_start > (max - (offset_t)vattr.va_size))
861 if (start > max)
874 if (flp->l_len > (max - start + 1))
877 ASSERT(end <= max);
887 if (start > max)
889 ASSERT(end <= max);
[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/libtopo/common/
H A Dcpu.c160 topo_instance_t min, topo_instance_t max, cpu_node_t *cpuip)
194 topo_instance_t min, topo_instance_t max, void *arg, void *notused2)
217 return (cpu_create(mod, pnode, name, min, max, cpuip));
230 min, max, NULL) < 0) {
159 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, cpu_node_t *cpuip) argument
193 cpu_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused2) argument
H A Ddev.c115 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
114 dev_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dmem.c95 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
117 min, max, NULL) < 0) {
94 mem_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dmod.c94 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
93 mod_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dpkg.c99 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
98 pkg_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
H A Dtopo_2xml.c281 char min[INT32BUFSZ], max[INT32BUFSZ]; local
286 (void) snprintf(max, INT32BUFSZ, "%d", nhp->th_range.tr_max);
305 max, NULL);
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c404 topo_instance_t min, topo_instance_t max, void *arg, void *unused)
403 ipmi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *unused) argument
/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
H A Dx86pi_bay.c264 int min = 0, max = 0; local
344 rv = topo_node_range_create(mod, tn_bay, DISK, min, max);
351 rv = topo_mod_enumerate(mod, tn_bay, DISK, DISK, min, max, NULL);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c238 int max = -1; local
250 * find the min/max id of cpus per this cmp and create a cpu range
257 if ((max < 0) || (mcmp->cpumap_pid > max))
258 max = mcmp->cpumap_pid;
260 if (min < 0 || max < 0) {
261 topo_mod_dprintf(mod, "Invalid cpu range(%d,%d)\n", min, max);
264 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) {
266 max, topo_mod_errmsg(mod));
344 topo_instance_t min, topo_instance_t max, md_info_
343 chip_create(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, md_info_t *chip) argument
413 chip_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/dimm/
H A Ddimm_sun4v.c407 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
406 dimm_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c390 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
389 mb_enum(topo_mod_t *mod, tnode_t *pn, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/niu/
H A Dniu.c49 #define XAUI_MAX 1 /* max number of XAUIs per niufn */
350 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
349 niu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c445 int max = -1; local
454 * find the min/max id of cpus per this cmp and create a cpu range
459 if ((max < 0) || (chip->cpus[i].cpumap_pid > max))
460 max = chip->cpus[i].cpumap_pid;
462 if (min < 0 || max < 0)
465 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) {
467 max, topo_mod_errmsg(mod));
502 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
501 cpu_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument

Completed in 157 milliseconds

1234567891011>>