Lines Matching refs:core
85 int core; in grab_next_hostcore() local
88 for (core = start + 1; core < max; core++) { in grab_next_hostcore()
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()
107 return core; in grab_next_hostcore()
116 int core; in find_available_hostcore() local
120 core = grab_next_hostcore(my_core, rm_core, cpu_nr_cores(), action); in find_available_hostcore()
121 if (core == -1) in find_available_hostcore()
122 core = grab_next_hostcore(core, rm_core, my_core, action); in find_available_hostcore()
124 return core; in find_available_hostcore()
904 int core; in kvmppc_xics_ipi_action() local
908 core = cpu >> threads_shift; in kvmppc_xics_ipi_action()
909 rm_corep = &kvmppc_host_rm_ops_hv->rm_core[core]; in kvmppc_xics_ipi_action()