/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 250 sub cpus subroutine 252 scalar @_ == 3 or _usage("cpus(class, lgrp, content)");
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/locality/ |
H A D | LocalityGroup.java | 95 .append(" with cpus ["); 146 * Return the number of Latency Groups to which these cpus 149 * @param cpus List of cpus to be examined. 154 public int countForeignGroups(List cpus) throws PoolsException argument 157 Iterator cpuIt = cpus.iterator(); 175 public Set contains(List cpus) throws PoolsException argument 178 Iterator cpuIt = cpus.iterator();
|
H A D | LocalityDomain.java | 158 * Return the groups in this domain to which the supplied cpus 162 * @param cpus List of cpus 167 public Set foreignGroups(Set exclude, List cpus) throws PoolsException argument 169 Iterator cpuIt = cpus.iterator(); 183 * the cpus in the supplied list. If more than one group 187 * @param cpus List of cpus to be examined. 192 public LocalityGroup getRepresentativeGroup(List cpus) argument 195 Iterator cpuIt = cpus [all...] |
/illumos-gate/usr/src/lib/fm/libfmd_agent/i386/ |
H A D | fmd_agent_i386.c | 49 nvlist_t *nvl, **nvl_array, **cpus; local 56 &cpus, &n)) != 0) 63 if ((err = nvlist_dup(cpus[i], nvl_array + i, 0)) != 0) {
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.h | 81 md_cpumap_t *cpus; /* List of cpu maps */ member in struct:md_info
|
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/ |
H A D | jlgrp.c | 183 * Return a new array containing all of the cpus contained directly 195 jintArray cpus; local 213 cpus = (*env)->NewIntArray(env, ncpus0); 235 (*env)->SetIntArrayRegion(env, cpus, 0, ncpus, java_cpus); 238 return (cpus);
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info_impl.h | 85 ri_dev_t *cpus; member in struct:ri_ap
|
H A D | ri_init.c | 100 cpuid_t *cpus; member in struct:__anon14 358 rcm->cpus = NULL; 397 s_free(rcm->cpus); 416 * The ecache sizes for individual cpus are read from the 591 * multiple cpus (and resource names). Instead of parsing the 608 ((rcm->cpus = calloc(rcm->ndevs, sizeof (cpuid_t))) == NULL || 661 * RCM capacity change request for cpus. 673 /* get all cpus in the system */ 695 if (rcm->cpus[k] == syscpuids[i]) { 859 rcm->cpus[rc [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/ |
H A D | fdd_msg.c | 97 nvlist_t **cpus, *nvl; local 105 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) != 0) { 111 if (cpus == NULL) 118 nvl = cpus[0]; 123 nvlist_free(cpus[i]); 124 umem_free(cpus, sizeof (nvlist_t *) * ncpu); 133 nvlist_free(cpus[i]); 134 umem_free(cpus, sizeof (nvlist_t *) * ncpu);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mp_startup.c | 51 struct cpu *cpus; /* pointer to other cpus; dynamically allocate */ variable in typeref:struct:cpu 57 caddr_t ttrace_buf; /* kmem64 traptrace for all cpus except 0 */ 60 /* bit mask of cpus ready for x-calls, protected by cpu_lock */ 63 /* bit mask used to communicate with cpus during bringup */ 82 * This function sets traptrace buffers for all cpus 183 * warm start activates cpus into the OFFLINE state 333 * cpus is used as a pointer to a list of freed 336 if (cpus) { 338 cp = cpus; [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 541 nvlist_t **cpus; local 549 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) == -1) { 558 if (nvlist_lookup_int32(cpus[i], FM_PHYSCPU_INFO_CHIP_ID, 571 nvlist_free(cpus[i]); 572 umem_free(cpus, sizeof (nvlist_t *) * ncpu);
|
H A D | chip.c | 670 nvlist_t **cpus; local 679 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) != 0) { 688 nerr -= create_chip(mod, pnode, min, max, cpus[i], auth, 690 nvlist_free(cpus[i]); 692 umem_free(cpus, sizeof (nvlist_t *) * ncpu);
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/ |
H A D | Pg.pm | 192 sub cpus subroutine 194 scalar @_ == 2 or _usage("cpus(cookie, pg)"); 196 my @cpus = @{$pg->{cpus}}; 198 return (wantarray() ? _nsort(@cpus) : _collapse(@cpus)); 551 my @cpus = $c1->cpus($id); 562 foreach my $cpu (@cpus) { 708 my @cpus [all...] |
/illumos-gate/usr/src/uts/intel/io/ |
H A D | devfm_machdep.c | 212 nvlist_t **cpus, *nvl; local 227 cpus = kmem_alloc(sizeof (nvlist_t *) * wk.nhdl, KM_SLEEP); 229 populate_cpu(cpus + i, wk.hdls[i]); 237 cpus, wk.nhdl); 240 nvlist_free(cpus[i]); 241 kmem_free(cpus, sizeof (nvlist_t *) * wk.nhdl);
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 243 prune_cpus(lgrp_snapshot_header_t *snap, lgrp_id_t lgrp, processorid_t *cpus, argument 268 if (cpus == NULL && ncpus == -1) { 284 if (lgrp_cpus[i] == cpus[j]) 313 processorid_t *cpus; local 329 cpus = NULL; 331 cpus = malloc(ncpus * sizeof (processorid_t)); 332 if (pset_info(PS_MYID, NULL, &ncpus, cpus) == -1) { 333 free(cpus); 345 prune_cpus(snap, i, cpus, ncpus); 351 free(cpus); 765 processorid_t *cpus; local 838 processorid_t *cpus; local [all...] |
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 222 info_out(psetid_t pset, int type, uint_t numcpus, processorid_t *cpus) argument 236 (void) printf(" %d", cpus[i]); 361 processorid_t *cpus; local 364 cpus = (processorid_t *) 366 if (cpus == NULL) { 370 if (pset_info(pset, &type, &numcpus, cpus) != 0) { 372 free(cpus); 375 info_out(pset, type, numcpus, cpus); 376 free(cpus); 395 processorid_t *cpus; local [all...] |
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd_rcm.c | 286 cpuid_t *cpus = NULL; local 305 cpus = (cpuid_t *)malloc(nrsrc * sizeof (cpuid_t)); 309 cpus[idx] = rsrcs[idx].res_cpu_id; 333 if (!is_cpu_in_list(newcpus[idx], cpus, ncpus)) 340 dump_cpu_list("delta: ", cpus, ncpus); 356 s_free(cpus); 366 cpuid_t *cpus = NULL; local 385 cpus = (cpuid_t *)malloc(nrsrc * sizeof (cpuid_t)); 388 cpus[idx] = rsrcs[idx].res_cpu_id; 415 if (!is_cpu_in_list(oldcpus[idx], cpus, ncpu 640 cpuid_t *cpus = NULL; local [all...] |
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_uppc.c | 251 cpuset_t cpus; local 262 CPUSET_ZERO(cpus); 263 CPUSET_ADD(cpus, 0); 264 ec_setup_pirq(irqno, ipl, &cpus); 271 CPUSET_ZERO(cpus); 272 CPUSET_ADD(cpus, 0); 273 ec_set_irq_affinity(irqno, cpus);
|
H A D | xpv_psm.c | 82 cpuset_t xen_psm_cpus_online; /* online cpus */ 255 cpuset_t cpus; local 281 CPUSET_ZERO(cpus); 282 CPUSET_OR(cpus, xen_psm_cpus_online); 284 CPUSET_ONLY(cpus, cpu & ~IRQ_USER_BOUND); 286 ec_set_irq_affinity(irqno, cpus); 319 cpuset_t cpus; local 338 CPUSET_ZERO(cpus); 339 CPUSET_OR(cpus, xen_psm_cpus_online); 341 CPUSET_ONLY(cpus, cp 1577 cpuset_t cpus; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_startup.c | 83 struct cpu cpus[1]; /* CPU data */ variable in typeref:struct:cpu 84 struct cpu *cpu[NCPU] = {&cpus[0]}; /* pointers to all CPUs */ 96 * to be set by a PSM to indicate what cpus 741 /* osvw return codes should be consistent for all cpus */ 1011 * Erratum 123 applies only to multi-core cpus. 1166 * cpus there are, or even if this processor 1562 "System detected %d cpus, but "
|
H A D | cmi_hw.c | 168 * is CMI_MAX_STRANDS_PER_CHIP and it is populated when one of its cpus starts. 216 * The flags for individual cpus are kept in their per-cpu handle cmih_msrsrc 245 cpuset_t cpus; local 247 CPUSET_ONLY(cpus, cpuid); 249 CPUSET2BV(cpus), func);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 349 bind_evtchn_to_cpuset(int evtchn, cpuset_t cpus) argument 354 CPUSET_OR(evtchn_cpus[evtchn], cpus); 1091 * cpus to service it. It's marked as shared and we propogate the event 1133 * only timer VIRQ is bound to all cpus
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | htable.c | 151 xen_gflush_va(caddr_t va, cpuset_t cpus) argument 164 set_xen_guest_handle(t.arg2.vcpumask, &cpus); 187 xen_gflush_tlb(cpuset_t cpus) argument 195 set_xen_guest_handle(t.arg2.vcpumask, &cpus);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 771 hwd_cpu_t *cpus; local 775 cpus = &core->core_cpus[0]; 780 * Olympus-C has 2 cpus per core. 781 * Jupiter has 4 cpus per core. 783 * of the non-existent cpus to be set to missing. 785 if (!HWD_STATUS_OK(cpus[i].cpu_status))
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_datapath_setup.c | 948 * no_of_cpus - no. of cpus that user passed. 951 * reqd_tx_cpu_cnt - no. of cpus reqd. for Tx side. 1077 uint32_t cpus[MRP_NCPUS]; local 1138 cpus[nscpus++] = srs_cpu->mc_cpus[j]; 1150 if (emrp->mrp_cpu[j] == cpus[i]) 1154 emrp->mrp_cpu[k++] = cpus[i];
|