Searched refs:rm_core (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 62 kvmppc_host_rm_ops_hv->rm_core[hcore].rm_data = vcpu; in icp_send_hcore_msg() 85 struct kvmppc_host_rm_core *rm_core, int max, int action) in grab_next_hostcore() argument 92 old = new = READ_ONCE(rm_core[core].rm_state); in grab_next_hostcore() 100 success = cmpxchg64(&rm_core[core].rm_state.raw, in grab_next_hostcore() 121 struct kvmppc_host_rm_core *rm_core = kvmppc_host_rm_ops_hv->rm_core; in find_available_hostcore() local 123 core = grab_next_hostcore(my_core, rm_core, cpu_nr_cores(), action); in find_available_hostcore() 125 core = grab_next_hostcore(core, rm_core, my_core, action); in find_available_hostcore() 913 rm_corep = &kvmppc_host_rm_ops_hv->rm_core[core]; in kvmppc_xics_ipi_action()
|
D | book3s_hv.c | 2666 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 0; in kvmppc_clear_host_core() 2687 kvmppc_host_rm_ops_hv->rm_core[core].rm_state.in_host = 1; in kvmppc_set_host_core() 3875 ops->rm_core = kzalloc(size, GFP_KERNEL); in kvmppc_alloc_host_rm_ops() 3877 if (!ops->rm_core) { in kvmppc_alloc_host_rm_ops() 3889 ops->rm_core[core].rm_state.in_host = 1; in kvmppc_alloc_host_rm_ops() 3905 kfree(ops->rm_core); in kvmppc_alloc_host_rm_ops() 3921 kfree(kvmppc_host_rm_ops_hv->rm_core); in kvmppc_free_host_rm_ops()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 677 struct kvmppc_host_rm_core *rm_core; member
|