Home
last modified time | relevance | path

Searched refs:rm_core (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c59 kvmppc_host_rm_ops_hv->rm_core[hcore].rm_data = vcpu; in icp_send_hcore_msg()
82 struct kvmppc_host_rm_core *rm_core, int max, int action) in grab_next_hostcore() argument
89 old = new = READ_ONCE(rm_core[core].rm_state); in grab_next_hostcore()
97 success = cmpxchg64(&rm_core[core].rm_state.raw, in grab_next_hostcore()
118 struct kvmppc_host_rm_core *rm_core = kvmppc_host_rm_ops_hv->rm_core; in find_available_hostcore() local
120 core = grab_next_hostcore(my_core, rm_core, cpu_nr_cores(), action); in find_available_hostcore()
122 core = grab_next_hostcore(core, rm_core, my_core, action); in find_available_hostcore()
914 rm_corep = &kvmppc_host_rm_ops_hv->rm_core[core]; in kvmppc_xics_ipi_action()
Dbook3s_hv.c3635 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 0; in kvmppc_clear_host_core()
3656 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 1; in kvmppc_set_host_core()
5318 ops->rm_core = kzalloc(size, GFP_KERNEL); in kvmppc_alloc_host_rm_ops()
5320 if (!ops->rm_core) { in kvmppc_alloc_host_rm_ops()
5332 ops->rm_core[core].rm_state.in_host = 1; in kvmppc_alloc_host_rm_ops()
5348 kfree(ops->rm_core); in kvmppc_alloc_host_rm_ops()
5364 kfree(kvmppc_host_rm_ops_hv->rm_core); in kvmppc_free_host_rm_ops()
/linux-6.1.9/arch/powerpc/include/asm/
Dkvm_ppc.h809 struct kvmppc_host_rm_core *rm_core; member