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

12345678

/osnet-11/usr/src/lib/fm/topo/modules/sun4v/motherboard/common/
H A Dmotherboard.c389 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
388 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
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/niu/common/
H A Dniu.c48 #define XAUI_MAX 1 /* max number of XAUIs per niufn */
349 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
348 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
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/
H A Dcpu.c398 int max = -1; local
407 * find the min/max id of cpus per this cmp and create a cpu range
412 if ((max < 0) || (chip->cpus[i].cpumap_pid > max))
413 max = chip->cpus[i].cpumap_pid;
415 if (min < 0 || max < 0)
418 if (topo_node_range_create(mod, rnode, name, 0, max+1) < 0) {
420 max, topo_mod_errmsg(mod));
455 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
454 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
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_bay.c440 int min = 0, max = 0; local
608 rv = topo_node_range_create(mod, *t_node, DISK, min, max);
617 rv = topo_mod_enumerate(mod, *t_node, DISK, DISK, min, max,
H A Dpi_walker.c486 * min and max instance is handled by
527 uint32_t max; local
618 (void) nvlist_lookup_uint32(hc_range, PI_STR_MAX, &max);
620 max = MAX(max, (uint32_t)inst);
622 (void) nvlist_add_uint32(hc_range, PI_STR_MAX, max);
664 (void) nvlist_lookup_uint32(hc_range, PI_STR_MAX, &max);
672 min, max, hc_name);
674 (topo_instance_t)min, (topo_instance_t)max);
678 "nodes of type %s\n", min, max, hc_nam
692 pi_walkerlist_addtype(topo_mod_t *mod, nvlist_t *typelist, char *hc_name, uint32_t min, uint32_t max) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dcm.h30 int max, nfds; member in struct:select_state
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_int.h117 int max; member in struct:profile_string_list
H A Dprof_parse.c456 size_t cur, max; member in struct:prof_buf
464 if (b->max - b->cur < len) {
468 newsize = b->max + (b->max >> 1) + len + 1024;
475 b->max = newsize;
497 if (prof_buf.max - prof_buf.cur > (prof_buf.max >> 3)) {
/osnet-11/usr/src/lib/libadm/common/
H A Dckitem.c120 ckitem(CKMENU *menup, char *item[], short max, char *defstr, char *error, argument
145 if (max < 1)
146 max = menup->nchoices;
169 list = match(menup, strval, (int)max);
174 for (i = 0; (i < max); i++)
184 getnum(char *strval, int max, int *begin, int *end) argument
193 n = max;
197 if ((n <= 0) || (n > max))
225 match(CKMENU *menup, char *strval, int max) argument
234 choice = calloc((size_t)max, sizeo
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/gettext/
H A Dgettext.c147 int min, max, current; local
172 max = grub_gettext_max;
174 current = (max + min) / 2;
176 while (current != min && current != max && found == 0)
189 max = current;
196 current = (max + min) / 2;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c65 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
458 for (i = 0; i < max(popcount, number); i++) {
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_event.c281 static au_event_t max; /* the highest event number in the file */ local
338 max = 0;
355 if (p_event->ae_number > max) {
356 max = p_event->ae_number;
383 index_tbl = calloc(max+1, sizeof (au_event_ent_t *));
390 for (i = 0; (au_event_t)i < max; i++) {
402 if (event_number > max || event_number < min) {
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c51 int max; member in struct:__anon2735
61 if (sp->max <= sp->used)
85 string.max = n;
224 string.max = n;
244 if (string.used < string.max)
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_block_relocator.c149 int max; local
154 max = state->usedentries - 1;
159 if (min > max)
162 t = (min + max) >> 1;
166 max = t - 1;
/osnet-11/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c464 dsym_parse_intrange(const char *field, int *intval, int min, int max) argument
472 if (longval < min || longval > max) {
869 dsym_get_code_ranges(const char *cat, ushort_t *min, ushort_t *max, argument
879 *max = entry->dc_max;
/osnet-11/usr/src/lib/libeti/menu/inc/
H A Dprivate.h147 #define max(a, b) ((a) > (b)) ? (a) : (b) macro
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c182 topo_instance_t min, topo_instance_t max, cpu_node_t *cpuip)
216 topo_instance_t min, topo_instance_t max, void *arg, void *notused2)
239 return (cpu_create(mod, pnode, name, min, max, cpuip));
252 min, max, NULL) < 0) {
181 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
215 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 Dsvc.c230 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
229 svc_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 Dsw.c304 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2)
303 sw_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.c391 char min[INT32BUFSZ], max[INT32BUFSZ]; local
396 (void) snprintf(max, INT32BUFSZ, "%d", nhp->th_range.tr_max);
415 max, NULL);
H A Dtopo_node.c275 * Returns the existing range(min and max) for the child node with the matching
280 topo_instance_t *min, topo_instance_t *max)
297 *max = nhp->th_range.tr_max;
310 "reporting range %s[%d-%d]\n", name, *min, *max);
339 topo_instance_t min, topo_instance_t max)
355 if (min < 0 || max < min)
365 nhp->th_arrlen = max - min + 1;
372 nhp->th_range.tr_max = max;
383 "created node range %s[%d-%d]\n", name, min, max);
417 * The min and max i
279 topo_node_range_get(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t *min, topo_instance_t *max) argument
338 topo_node_range_create(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max) argument
424 topo_node_range_extend(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t incr, topo_instance_t *min, topo_instance_t *max) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip.c458 topo_instance_t max, nvlist_t *cpu, nvlist_t *auth,
489 if (chipid < min || chipid > max)
668 topo_instance_t min, topo_instance_t max, void *arg, nvlist_t *auth,
690 nerr -= create_chip(mod, pnode, min, max, cpus[i], auth,
707 topo_instance_t min, topo_instance_t max, void *arg, void *smbios_enabled)
771 rv = create_chips(mod, pnode, name, min, max, NULL, auth,
457 create_chip(topo_mod_t *mod, tnode_t *pnode, topo_instance_t min, topo_instance_t max, nvlist_t *cpu, nvlist_t *auth, int mc_offchip) argument
667 create_chips(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, nvlist_t *auth, int mc_offchip) argument
706 chip_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *smbios_enabled) argument
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard.c444 topo_instance_t min, topo_instance_t max)
448 for (i = min; i <= max; i++) {
461 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
474 if (max >= CPUBOARD_MAX) {
475 max = CPUBOARD_MAX;
491 for (i = min; i <= max; i++) {
504 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
508 for (i = min; i <= max; i++) {
518 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
526 cpuboard_free_pri_info(mod, cpuboard_list, min, max);
443 cpuboard_free_pri_info(topo_mod_t *mod, cpuboard_contents_t cpuboard_list[], topo_instance_t min, topo_instance_t max) argument
460 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...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/
H A Dxaui.c47 #define XFP_MAX 1 /* max number of xfp per xaui card */
518 topo_instance_t min, topo_instance_t max, void *arg, void *priv)
517 xaui_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *priv) argument

Completed in 46 milliseconds

12345678