/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | vm_meter.c | 98 cp = cpu_list; 102 } while ((cp = cp->cpu_next) != cpu_list);
|
H A D | cpu.c | 92 * cpu_lock protects ncpus, ncpus_online, cpu_flag, cpu_list, cpu_active, 99 * traversing the cpu_list (e.g. mutex_vector_enter(), clock()). Since 107 cpu_t *cpu_list; /* list of all CPUs */ variable 1696 cpu_list = cp; 1707 * Bootstrap cpu_seq using cpu_list 1711 cpu_seq = &cpu_list; 1732 ASSERT(cpu_list != NULL); /* list started in cpu_list_init */ 1737 * Note: most users of the cpu_list will grab the 1749 * then are removed from the cpu_list. 1757 cp->cpu_next = cpu_list; [all...] |
H A D | pool_pset.c | 410 c = cpu_list; 419 } while ((c = c->cpu_next) != cpu_list); 873 cpu = cpu_list; 902 } while ((cpu = cpu->cpu_next) != cpu_list);
|
H A D | cyclic.c | 2834 c = cpu_list; 2845 } while ((c = c->cpu_next) != cpu_list); 3149 c = cpu_list; 3155 } while ((c = c->cpu_next) != cpu_list); 3560 c = cpu_list; 3569 } while ((c = c->cpu_next) != cpu_list); 3613 c = cpu_list; 3622 } while ((c = c->cpu_next) != cpu_list);
|
H A D | clock.c | 500 cp = cpu_list; 611 } while ((cp = cp->cpu_next) != cpu_list); 1102 cp = cpu_list; 1138 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_opl.c | 107 opl_cpulist_free(fmd_hdl_t *hdl, cmd_list_t *cpu_list) argument 112 "Enter opl_cpulist_free for cpulist %llx\n", cpu_list); 114 while ((opl_cpu = cmd_list_next(cpu_list)) != NULL) { 115 cmd_list_delete(cpu_list, opl_cpu);
|
H A D | cmd_oplerr.c | 144 cmd_list_t *cpu_list; local 156 cpu_list = opl_cpulist_insert(hdl, cpu->cpu_cpuid, 159 cpu_list = opl_cpulist_insert(hdl, cpu->cpu_cpuid, 162 cpu_list = opl_cpulist_insert(hdl, cpu->cpu_cpuid, 165 for (opl_cpu = cmd_list_next(cpu_list); opl_cpu != NULL; 199 if (cpu_list != NULL) 200 opl_cpulist_free(hdl, cpu_list); 221 for (opl_cpu = cmd_list_next(cpu_list); opl_cpu != NULL; 239 if (cpu_list != NULL) 240 opl_cpulist_free(hdl, cpu_list); [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4v/os/ |
H A D | intrq.c | 105 mcpup->cpu_list = contig_mem_alloc(size); 107 if (mcpup->cpu_list == NULL) { 108 cmn_err(CE_NOTE, "cpu%d: cpu cpu_list allocation failed", 112 mcpup->cpu_list_ra = va_to_pa(mcpup->cpu_list); 215 if (mcpup->cpu_list) { 216 contig_mem_free(mcpup->cpu_list, cpu_list_size); 217 mcpup->cpu_list = NULL;
|
H A D | mach_cpu_states.c | 797 mcpup->cpu_list[0] = (uint16_t)cpuid; 872 mcpup->cpu_list[ncpuids++] = (uint16_t)smallestid; 876 mcpup->cpu_list[ncpuids++] = (uint16_t)i; 879 mcpup->cpu_list[ncpuids++] = (uint16_t)largestid; 894 * have their CPU IDs overwritten in cpu_list. 895 * Reset cpu_list so that it only holds those 899 if (mcpup->cpu_list[i] == HV_SEND_MONDO_ENTRYDONE) { 902 mcpup->cpu_list[j++] = mcpup->cpu_list[i]; 919 * cpu_list [all...] |
H A D | mach_mp_startup.c | 80 * we are booting by verifying cpu_list. During boot, cpu0 is already 81 * in cpu_list when this function is called. When a cpu is dynamically 82 * added (after the boot) then it is added to cpu_list after this 85 if (cpuid == cpu0.cpu_id && ncpus == 1 && cpu_list[0].cpu_id == cpuid) {
|
/opensolaris-onvv-gate/usr/src/uts/common/dtrace/ |
H A D | dcpc.c | 569 cpu_t *c = cpu_list; 581 } while ((c = c->cpu_next) != cpu_list); 591 cpu_t *c = cpu_list; 598 } while ((c = c->cpu_next) != cpu_list); 610 cpu_t *c = cpu_list; 617 } while ((c = c->cpu_next) != cpu_list); 628 cpu_t *c = cpu_list; 635 } while ((c = c->cpu_next) != cpu_list); 659 c = cpu_list; 683 } while ((c = c->cpu_next) != cpu_list); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/psrinfo/ |
H A D | psrinfo.pl | 77 our %cpu_list; 302 return (grep {$_ >= 0} uniqsort(map { $cpu_list{$_}->{$prop_name} || 0 } @_)); 318 return (grep { ($cpu_list{$_}->{$prop_name} || 0) == $prop_val } @_); 461 # Collect list of all CPUs in @cpu_list array 463 # Construct %cpu_list hash keyed by CPU ID with cpu_info kstat hash as its 480 # Save CPU-specific information in cpu_list hash, indexed by CPU ID. 481 $cpu_list{$id} = $ci; 600 my $cpu = $cpu_list{$id} or next; 664 ($cpu_list{$_}->{state}) eq 'on-line' 683 my $cpu = $cpu_list{ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_kstat.c | 70 static sdata_t *cpu_list; /* list with cpu statistics */ variable 94 cpu_list = update_sdata_list(cpu_list, ks_ctl, "cpu", 100 update_cpu_list(cpu_list); 104 update_pset_stats(sbag, cpu_list);
|
/opensolaris-onvv-gate/usr/src/uts/intel/os/ |
H A D | arch_kdi.c | 66 cpu_t *cp = cpu_list; 74 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/cmd/pgstat/ |
H A D | pgstat.pl | 111 my @cpu_list; # -c cpu,... - CPU arguments 129 "cpus|c=s" => \@cpu_list, 286 @cpu_list = 288 map { split /,/ } @cpu_list; # x,y -> (x, y) 290 @cpu_list = $p->expand(@cpu_list); # 1-3 -> 1 2 3 302 if (scalar @cpu_list) { 308 my @bad_cpus = $p->set_subtract(\@all_cpus, \@cpu_list); 317 # Find all PGs which have at least some CPUs from @cpu_list 321 scalar($p->intersect(\@cpus, \@cpu_list)); [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 254 c = cpu_list; 257 } while ((c = c->cpu_next) != cpu_list); 578 * cpu_list since we hold cpu_lock. 580 cp = cpu_list; 583 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 185 static percpu_t *cpu_list; variable 244 list_rotor = &cpu_list[list_index]; 880 cpu_list = new_cpu_list; 948 for (cpuptr = &cpu_list[0]; cpuptr < &cpu_list[ncpus]; cpuptr++) { 1498 for (cpuptr = &cpu_list[0]; cpuptr < &cpu_list[ncpus]; cpuptr++) { 1520 for (cpuptr = &cpu_list[ncpus - 1]; cpuptr >= &cpu_list[0]; cpuptr--) {
|
/opensolaris-onvv-gate/usr/src/uts/common/cpr/ |
H A D | cpr_main.c | 1338 cp = cpu_list; 1346 } while ((cp = cp->cpu_next) != cpu_list); 1378 cp = cpu_list; 1390 } while ((cp = cp->cpu_next) != cpu_list);
|
H A D | cpr_misc.c | 904 cp = cpu_list; 914 } while ((cp = cp->cpu_next) != cpu_list); 978 cp = cpu_list; 983 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/ |
H A D | machcpuvar.h | 176 uint16_t *cpu_list; /* uint16_t [NCPU] */ member in struct:machcpu
|
/opensolaris-onvv-gate/usr/src/uts/common/syscall/ |
H A D | processor_bind.c | 347 cpu_t *cp = cpu_list; 354 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/cmd/pginfo/ |
H A D | pginfo.pl | 310 my @cpu_list = $p->uniqsort(map { $p->cpus($_) } @pgs); 311 print "@cpu_list\n";
|
/opensolaris-onvv-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 1984 cp = cpu_list; 2032 } while ((cp = cp->cpu_next) != cpu_list); 2168 cp = cpu_list; 2206 } while ((cp = cp->cpu_next) != cpu_list);
|
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 510 mac_srs_print_cpu(int *i, uint32_t cnt, uint32_t *cpu_list, int *len) argument 525 mdb_printf("%02x%c", cpu_list[*i], ((*i == cnt - 1)?')':','));
|
/opensolaris-onvv-gate/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 334 * Use lockless search of cpu_list, similar to mutex_vector_enter(). 337 cp = cpu_list; 344 } while ((cp = cp->cpu_next) != cpu_list);
|