Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 25 of 188) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h86 typedef struct cpu { struct
87 processorid_t cpu_id; /* CPU number */ argument
91 kthread_t *cpu_thread; /* current thread */ argument
118 struct cpu *cpu_prev_lpl; argument
127 disp_t *cpu_disp; /* dispatch queue data */ argument
179 char cpu_cpr_flags; /* CPR related info */ argument
200 char *cpu_brandstr; /* for printing */ argument
206 int32_t cpu_intr_weight; argument
207 void *cpu_vm_data; argument
242 uintptr_t cpu_m_pad; argument
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dcpuset.h26 #define CPU_SET(cpu, set) cpuset_add((set), (cpu)) argument
27 #define CPU_SETOF(cpu, set) cpuset_only((set), (cpu)) argument
29 #define CPU_CLR(cpu, set) cpuset_del((set), (cpu)) argument
32 #define CPU_ISSET(cpu, set) cpu_in_set((cpuset_t *)(set), (cpu)) argument
42 #define CPU_SET_ATOMIC(cpu, set) cpuset_atomic_add( \ argument
45 #define CPU_CLR_ATOMIC(cpu, set) cpuset_atomic_del( \ argument
118 #define CPU_SET(cpu, setp) BT_SET((setp)->_bits, cpu) argument
119 #define CPU_CLR(cpu, setp) BT_CLEAR((setp)->_bits, cpu) argument
125 #define CPU_ISSET(cpu, setp) BT_TEST((setp)->_bits, cpu) argument
127 #define CPU_SET_ATOMIC(cpu, setp) \ argument
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c340 cmd_cpu_t *cpu; in cmd_Lxcache_restore() local
435 cmd_Lxcache_validate(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cmd_Lxcache_validate()
463 cmd_Lxcache_fini(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cmd_Lxcache_fini()
511 cmd_Lx_index_count_type2_ways(cmd_cpu_t *cpu) in cmd_Lx_index_count_type2_ways()
531 cmd_Lx_index_count_type1_ways(cmd_cpu_t *cpu) in cmd_Lx_index_count_type1_ways()
638 cmd_cpu_t *cpu; in cmd_Lxcache_close() local
678 cmd_cpu_t *cpu; in cmd_Lxcache_lookup_by_timeout_id() local
696 cmd_cpu_t *cpu; in cmd_Lxcache_gc() local
704 get_tagdata(cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, in get_tagdata()
984 cmd_Lxcache_get_next_retirable_way(cmd_cpu_t *cpu, in cmd_Lxcache_get_next_retirable_way()
[all …]
H A Dcmd_Lxcacheerr.c380 cmd_cpu_t *cpu, in extract_data_from_ereport_payload()
438 print_ecc(fmd_hdl_t *hdl, cmd_cpu_t *cpu, const char *fltnm, uint64_t *tag_data) in print_ecc()
601 cmd_create_and_destroy_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_create_and_destroy_Lxcache()
632 cmd_Lxcache_retire_as_reason(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_Lxcache_retire_as_reason()
681 retire_lowest_retirable_way_as_suspect(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in retire_lowest_retirable_way_as_suspect()
775 unretire_suspect_and_retire_next_retirable_way(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in unretire_suspect_and_retire_next_retirable_way()
878 find_and_destroy_anonymous_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in find_and_destroy_anonymous_Lxcache()
953 cmd_cpu_t *cpu, cmd_ptrsubtype_t pstype, in cmd_us4plus_tag_err()
1620 cmd_cpu_t *cpu = xr->xr_cpu; in cmd_cache_ce_panther() local
1970 cmd_cpu_t *cpu, cmd_errcl_t clcode) in cmd_xr_pn_cache_fill()
/illumos-gate/usr/src/uts/common/os/
H A Dcyclic.c1350 cyc_cpu_t *cpu = arg->cyx_cpu; in cyclic_expand_xcall() local
1446 cyclic_expand(cyc_cpu_t *cpu) in cyclic_expand()
1658 cyc_cpu_t *cpu = arg->cyx_cpu; in cyclic_add_xcall() local
1766 cyc_cpu_t *cpu = arg->cyx_cpu; in cyclic_remove_xcall() local
2202 cyc_cpu_t *cpu = idp->cyi_cpu; in cyclic_unbind_cpu() local
2261 cyc_cpu_t *cpu = idp->cyi_cpu; in cyclic_unbind_cpupart() local
2447 cyc_cpu_t *cpu = arg->cyx_cpu; in cyclic_suspend_xcall() local
2861 cyc_cpu_t *cpu; in cyclic_add_omni() local
3079 cyc_cpu_t *cpu; in cyclic_reprogram() local
3653 cyc_cpu_t *cpu; in cyclic_suspend() local
[all …]
H A Dpool_pset.c107 cpu_t *cpu; member
289 cpu_t *cpu; in pool_pset_disable() local
543 struct cpu *cpu; in pool_pset_xtransfer() local
763 cpu_t *cpu; in pool_cpu_propput() local
812 cpu_t *cpu; in pool_cpu_proprm() local
851 cpu_t *cpu; in pool_pset_pack() local
961 cpu_t *cpu; in pool_cpu_propget() local
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c495 cmd_cpu_t *cpu, cmd_errcl_t clcode) in cmd_xr_create()
1554 cmd_cpu_t *cpu; in cpu_lookup_by_cpuid() local
1635 cmd_cpu_t *cpu; in cpu_create() local
1755 cmd_cpu_t *cpu; in cmd_cpu_lookup() local
1905 cmd_cpu_t *cpu; in cpu_wrapv3() local
1929 cmd_cpu_t *cpu; in cmd_restore_cpu_only() local
2022 cmd_cpu_t *cpu; in cmd_cpu_restore() local
2187 cmd_cpu_t *cpu, *cpun; in cmd_cpu_validate() local
2232 cmd_cpu_t *cpu; in cmd_xxu_flush_timeout() local
2295 cmd_cpu_t *cpu, *next; in cmd_cpu_gc() local
[all …]
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.h52 #define MC_CONTROL_RD(cpu) \ argument
54 #define MC_STATUS_RD(cpu) \ argument
58 #define MC_CPU_RAS_RD(cpu) \ argument
60 #define MC_SCRUB_CONTROL_RD(cpu) \ argument
74 #define MC_COR_ECC_CNT_RD(cpu, select) \ argument
78 #define MC_DOD_RD(cpu, channel, select) \ argument
80 #define MC_SAG_RD(cpu, channel, select) \ argument
88 #define SAD_DRAM_RULE_RD(cpu, rule) \ argument
90 #define SAD_INTERLEAVE_LIST_RD(cpu, rule) \ argument
92 #define TAD_DRAM_RULE_RD(cpu, rule) \ argument
[all …]
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c102 struct cpu *cpu = CPU; in apix_remove_pending_av() local
304 apix_do_softint_epilog(struct cpu *cpu, uint_t oldpil) in apix_do_softint_epilog()
372 struct cpu *cpu = CPU; in apix_dispatch_softint() local
394 struct cpu *cpu = CPU; in apix_do_softint() local
498 apix_hilevel_intr_epilog(struct cpu *cpu, uint_t oldpil) in apix_hilevel_intr_epilog()
587 apix_do_pending_hilevel(struct cpu *cpu, struct regs *rp) in apix_do_pending_hilevel()
693 apix_intr_thread_epilog(struct cpu *cpu, uint_t oldpil) in apix_intr_thread_epilog()
783 struct cpu *cpu = CPU; in apix_dispatch_pending_hardint() local
839 struct cpu *cpu = CPU; in apix_dispatch_by_vector() local
881 struct cpu *cpu = CPU; in apix_dispatch_lowlevel() local
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dintr.c522 struct cpu *cpu = CPU; in set_base_spl() local
926 struct cpu *cpu; in intr_get_time() local
958 struct cpu *cpu, in dosoftint_prolog()
1069 dosoftint_epilog(struct cpu *cpu, uint_t oldpil) in dosoftint_epilog()
1230 cpu_t *cpu; in cpu_intr_swtch_enter() local
1298 struct cpu *cpu = CPU; in dispatch_softint() local
1317 struct cpu *cpu = CPU; in dispatch_hardint() local
1337 struct cpu *cpu = CPU; in dosoftint() local
1363 struct cpu *cpu = CPU; in do_interrupt() local
1602 cpu_t *cpu; in do_splx() local
[all …]
H A Dcpuid.c1999 cpuid_free_space(cpu_t *cpu) in cpuid_free_space()
4332 cpuid_pass2(cpu_t *cpu) in cpuid_pass2()
5156 cpuid_pass3(cpu_t *cpu) in cpuid_pass3()
5710 cpuid_is_cmt(cpu_t *cpu) in cpuid_is_cmt()
5787 cpuid_getvendor(cpu_t *cpu) in cpuid_getvendor()
5794 cpuid_getfamily(cpu_t *cpu) in cpuid_getfamily()
5801 cpuid_getmodel(cpu_t *cpu) in cpuid_getmodel()
5836 cpuid_getstep(cpu_t *cpu) in cpuid_getstep()
5889 cpuid_get_chipid(cpu_t *cpu) in cpuid_get_chipid()
7457 xsave_setup_msr(cpu_t *cpu) in xsave_setup_msr()
[all …]
H A Dmach_kdi.c119 kdi_stop_slaves(int cpu, int doxc) in kdi_stop_slaves()
154 cpu_t *cpu = kobj_zalloc(sizeof (*cpu), KM_TMP); in boot_kdi_tmpinit() local
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c135 cma_cpu_t *cpu; in cma_cpu_start_retry() local
227 cpu_retry(fmd_hdl_t *hdl, cma_cpu_t *cpu) in cpu_retry()
263 cma_cpu_free(fmd_hdl_t *hdl, cma_cpu_t *cpu) in cma_cpu_free()
282 cma_cpu_t *cpu = *cpup; in cma_cpu_retry() local
318 cma_cpu_t *cpu; in cma_cpu_fini() local
/illumos-gate/usr/src/uts/sun4v/os/
H A Dintrq.c36 cpu_intrq_register(struct cpu *cpu) in cpu_intrq_register()
63 cpu_intrq_setup(struct cpu *cpu) in cpu_intrq_setup()
183 cpu_intrq_cleanup(struct cpu *cpu) in cpu_intrq_cleanup()
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c41 cpu_t cpu; in resumable() local
84 cpu_t cpu; in nonresumable() local
127 cpu_t cpu; in rqueue() local
166 cpu_t cpu; in nrqueue() local
212 cpu_t cpu; in rq_walk_init() local
248 cpu_t cpu; in nrq_walk_init() local
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcyclic.c37 cyccpu_vread(cyc_cpu_t *cpu, uintptr_t addr) in cyccpu_vread()
74 cyc_cpu_t cpu; in cyccpu_walk_step() local
130 cyclic_dump_node(cyc_cpu_t *cpu, cyc_index_t *heap, char **c, size_t w, in cyclic_dump_node()
190 cyclic_pretty_dump(cyc_cpu_t *cpu) in cyclic_pretty_dump()
249 cyc_cpu_t cpu; in cycinfo() local
467 cyc_cpu_t *cpu; in cyctrace_walk_init() local
514 cyc_cpu_t *cpu = wsp->walk_data; in cyctrace_walk_step() local
563 cyc_cpu_t *cpu = wsp->walk_data; in cyctrace_walk_fini() local
571 cyctrace_walk(uintptr_t addr, const cyc_tracerec_t *rec, cyc_cpu_t *cpu) in cyctrace_walk()
708 cyc_cpu_t cpu; in cycid_cpu() local
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c100 query_out(id_t pid, id_t lwpid, processorid_t cpu) in query_out()
125 bind_err(processorid_t cpu, id_t pid, id_t lwpid, int err) in bind_err()
218 bind_lwp(struct ps_prochandle *Pr, id_t pid, id_t lwpid, processorid_t cpu) in bind_lwp()
237 do_lwps(id_t pid, const char *range, processorid_t cpu) in do_lwps()
353 exec_cmd(processorid_t cpu, char *cmd, char **args) in exec_cmd()
371 processorid_t cpu; in parse_cpu() local
401 processorid_t cpu, old_cpu; in main() local
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_lapic.h66 lapic_intr_level(struct vm *vm, int cpu, int vector) in lapic_intr_level()
73 lapic_intr_edge(struct vm *vm, int cpu, int vector) in lapic_intr_edge()
H A Dvmm_lapic.c67 lapic_set_intr(struct vm *vm, int cpu, int vector, bool level) in lapic_set_intr()
89 lapic_set_local_intr(struct vm *vm, int cpu, int vector) in lapic_set_local_intr()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Devtchn.c274 xen_bind_ipi(processorid_t cpu) in xen_bind_ipi()
288 xen_bind_vcpu(int evtchn, int cpu) in xen_bind_vcpu()
398 alloc_irq(int type, int index, int evtchn, int cpu) in alloc_irq()
513 ec_bind_vcpu(int evtchn, int cpu) in ec_bind_vcpu()
691 ec_bind_virq_to_irq(int virq, int cpu) in ec_bind_virq_to_irq()
717 ec_bind_ipi_to_irq(int ipl, int cpu) in ec_bind_ipi_to_irq()
752 ec_bind_cpu_ipis(int cpu) in ec_bind_cpu_ipis()
784 ec_irq_needs_rebind(int irq, int cpu) in ec_irq_needs_rebind()
793 ec_send_ipi(int ipl, int cpu) in ec_send_ipi()
803 ec_try_ipi(int ipl, int cpu) in ec_try_ipi()
[all …]
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c118 psr_set_state(processorid_t cpu, int action, psr_action_t *pac, int mustexist) in psr_set_state()
198 processorid_t cpu; in do_range() local
222 processorid_t cpu; in main() local
/illumos-gate/usr/src/cmd/powertop/common/
H A Dturbo.c117 int cpu; in pt_turbo_snapshot() local
198 int cpu; in pt_turbo_stat_collect() local
H A Dcpufreq.c339 pt_cpufreq_stat_account(double interval, uint_t cpu) in pt_cpufreq_stat_account()
400 pt_cpufreq_snapshot_cpu(kstat_ctl_t *kc, uint_t cpu) in pt_cpufreq_snapshot_cpu()
442 int32_t cpu; in pt_cpufreq_dtrace_walk() local
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dapix.h137 #define HILEVEL_PENDING(cpu) \ argument
139 #define LOWLEVEL_PENDING(cpu) \ argument
141 #define IS_HILEVEL_RUNNING(cpu) \ argument
143 #define IS_LOWLEVEL_RUNNING(cpu) \ argument
177 #define xv_vector(cpu, v) apixs[(cpu)]->x_vectbl[(v)] argument
178 #define xv_intrmap_private(cpu, v) (xv_vector(cpu, v))->v_intrmap_private argument
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcbe.c81 cpu_t *cpu = CPU; in cbe_low_level() local
96 cpu_t *cpu = CPU; in cbe_fire() local
206 cbe_configure(cpu_t *cpu) in cbe_configure()

12345678