MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ipi_selected

Function ipi_selected

freebsd/mips/mips/mp_machdep.c:89–101  ·  view source on GitHub ↗

Send an IPI to a set of cpus. */

Source from the content-addressed store, hash-verified

87
88/* Send an IPI to a set of cpus. */
89void
90ipi_selected(cpuset_t cpus, int ipi)
91{
92 struct pcpu *pc;
93
94 STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
95 if (CPU_ISSET(pc->pc_cpuid, &cpus)) {
96 CTR3(KTR_SMP, "%s: pc: %p, ipi: %x\n", __func__, pc,
97 ipi);
98 ipi_send(pc, ipi);
99 }
100 }
101}
102
103/* Send an IPI to a specific CPU. */
104void

Callers 1

ipi_all_but_selfFunction · 0.70

Calls 1

ipi_sendFunction · 0.85

Tested by

no test coverage detected