Lines Matching refs:max
238 int max = -1;
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_t *chip)
356 if (min < 0 || max < 0 || min > max) {
357 topo_mod_dprintf(mod, "Invalid chip range(%d,%d)\n", min, max);
368 for (i = min; i <= max; i++) {
414 topo_instance_t min, topo_instance_t max, void *arg, void *notused)
419 return (chip_create(mod, rnode, name, min, max, chip));