Home
last modified time | relevance | path

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

/Linux-v5.10/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()
924 rm_corep = &kvmppc_host_rm_ops_hv->rm_core[core]; in kvmppc_xics_ipi_action()
Dbook3s_hv.c3037 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 0; in kvmppc_clear_host_core()
3058 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 1; in kvmppc_set_host_core()
4802 ops->rm_core = kzalloc(size, GFP_KERNEL); in kvmppc_alloc_host_rm_ops()
4804 if (!ops->rm_core) { in kvmppc_alloc_host_rm_ops()
4816 ops->rm_core[core].rm_state.in_host = 1; in kvmppc_alloc_host_rm_ops()
4832 kfree(ops->rm_core); in kvmppc_alloc_host_rm_ops()
4848 kfree(kvmppc_host_rm_ops_hv->rm_core); in kvmppc_free_host_rm_ops()
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_ppc.h810 struct kvmppc_host_rm_core *rm_core; member