| /src/sys/arch/ia64/include/ |
| smp.h | 11 * into the IPI vector table. The SAL gives us the vector used for AP 32 void ipi_all(int ipi); 33 void ipi_all_but_self(int ipi); 34 void ipi_selected(u_int64_t cpus, int ipi); 35 void ipi_self(int ipi); 36 void ipi_send(u_int64_t lid, int ipi);
|
| /src/sys/arch/powerpc/pic/ |
| ipi.c | 1 /* $NetBSD: ipi.c,v 1.16 2020/07/06 11:01:24 rin Exp $ */ 32 __KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.16 2020/07/06 11:01:24 rin Exp $"); 41 #include <sys/ipi.h> 54 /* Process an actual IPI */ 62 uint32_t ipi; local in function:ipi_intr 65 ipi = atomic_swap_32(&ci->ci_pending_ipis, 0); 67 if (ipi == IPI_NOMESG) 70 if (ipi & IPI_XCALL) 73 if (ipi & IPI_GENERIC) 76 if (ipi & IPI_SUSPEND [all...] |
| /src/sys/arch/powerpc/include/ |
| openpicreg.h | 53 /* IPI vector/priority reg */ 54 #define OPENPIC_IPI_VECTOR(ipi) (0x10a0 + (ipi) * 0x10) 102 /* IPI command reg */ 103 #define OPENPIC_IPI(cpu, ipi) (0x20040 + (cpu) * 0x1000 + \ 104 (ipi) * 0x10)
|
| /src/sys/arch/hppa/hppa/ |
| ipifuncs.c | 2 /* $OpenBSD: ipi.c,v 1.4 2011/01/14 13:20:06 jsing Exp $ */ 27 #include <sys/ipi.h> 54 "nop ipi", 55 "halt ipi", 56 "xcall ipi" 57 "generic ipi" 67 NULL, device_xname(sc->sc_dev), "ipi"); 84 /* Handle an IPI. */ 105 hppa_ipi_send(struct cpu_info *ci, u_long ipi) 110 atomic_or_ulong(&ci->ci_ipi, (1L << ipi)); [all...] |
| /src/tests/net/net/ |
| t_pktinfo.c | 105 struct in_pktinfo *ipi; local in function:receive 106 char control[CMSG_SPACE(sizeof(*ipi)) * 2]; 139 ipi = (void *)CMSG_DATA(cmsg); 142 m, inet_ntoa(ipi->ipi_addr), ipi->ipi_ifindex); 145 ATF_REQUIRE_MSG(ipi->ipi_addr.s_addr == htonl(INADDR_LOOPBACK), 146 "address 0x%x != 0x%x", ipi->ipi_addr.s_addr,
|
| /src/sys/arch/ia64/ia64/ |
| sal.c | 75 int ipi; local in function:setup_ipi_vectors 81 ipi = IPI_AST; /* First generic IPI. */ 83 while (ipi < IPI_COUNT) 84 ipi_vector[ipi++] = ceil++;
|
| /src/sys/arch/arm/apple/ |
| apple_intc.c | 206 apple_intc_local_ipi_send(struct pic_softc *pic, const kcpuset_t *kcp, u_long ipi) 212 atomic_or_32(&pc->pc_ipimask, __BIT(ipi)); 403 const u_int ipi = bit - 1; local in function:apple_intc_ipi_handler 405 switch (ipi) { 432 ipimask &= ~__BIT(ipi); 519 pc, "ipi");
|
| /src/sys/arch/mips/rmi/ |
| rmixl_intr.c | 290 "vec 8 (ipi 0)", /* 8 */ 291 "vec 9 (ipi 1)", /* 9 */ 292 "vec 10 (ipi 2)", /* 10 */ 293 "vec 11 (ipi 3)", /* 11 */ 294 "vec 12 (ipi 4)", /* 12 */ 295 "vec 13 (ipi 5)", /* 13 */ 296 "vec 14 (ipi 6)", /* 14 */ 464 * establish IPI interrupt and send function 471 for (u_int ipi = 0; ipi < NIPIS; ipi++) local in function:rmixl_intr_init_ipi [all...] |
| /src/sys/arch/mips/mips/ |
| ipifuncs.c | 42 #include <sys/ipi.h> 55 [IPI_NOP] = "ipi nop", 56 [IPI_AST] = "ipi ast", 57 [IPI_SHOOTDOWN] = "ipi shootdown", 58 [IPI_SYNCICACHE] = "ipi isync", 59 [IPI_KPREEMPT] = "ipi kpreempt", 60 [IPI_SUSPEND] = "ipi suspend", 61 [IPI_HALT] = "ipi halt", 62 [IPI_XCALL] = "ipi xcall", 63 [IPI_GENERIC] = "ipi generic" [all...] |
| /src/sys/arch/riscv/riscv/ |
| ipifuncs.c | 40 #include <sys/ipi.h> 50 [IPI_NOP] = "ipi nop", 51 [IPI_AST] = "ipi ast", 52 [IPI_KPREEMPT] = "ipi kpreempt", 53 [IPI_SUSPEND] = "ipi suspend", 54 [IPI_HALT] = "ipi halt", 55 [IPI_XCALL] = "ipi xcall", 56 [IPI_GENERIC] = "ipi generic", 139 NULL, device_xname(ci->ci_dev), "ipi");
|
| /src/sys/arch/arm/pic/ |
| picvar.h | 59 #define IPI_GENERIC 5 /* generic IPI */ 99 void intr_ipi_send(const kcpuset_t *, u_long ipi);
|
| pic.c | 45 #include <sys/ipi.h> 185 intr_ipi_send(const kcpuset_t *kcp, u_long ipi) 188 KASSERT(ipi < NIPI); 207 (*pic->pic_ops->pic_ipi_send)(pic, kcp, ipi);
|
| /src/sys/arch/vax/vax/ |
| multicpu.c | 42 #include <sys/ipi.h> 116 * Send an IPI of type type to the CPU with logical device number cpu. 144 continue; /* No IPI to myself */
|
| /src/sys/arch/x86/x86/ |
| ipi.c | 1 /* $NetBSD: ipi.c,v 1.30 2019/12/01 15:34:46 ad Exp $ */ 35 __KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.30 2019/12/01 15:34:46 ad Exp $"); 44 #include <sys/ipi.h> 96 * x86 IPI interface. 105 /* Don't send IPI to CPU which isn't (yet) running. */ 109 /* Set in new IPI bit, and capture previous state. */ 117 /* If no IPI already pending, send one. */ 121 printf("ipi of %x from %s to %s failed\n", 171 * Common x86 IPI handlers.
|
| /src/sys/sys/ |
| cpu_data.h | 46 #include <sys/ipi.h>
|
| /src/sys/arch/x86/acpi/ |
| acpi_cpu_md.c | 353 bool ipi = false; local in function:acpicpu_md_cstate_start 366 ipi = true; 371 x86_cpu_idle_set(acpicpu_cstate_idle, "acpi", ipi); 381 bool ipi; local in function:acpicpu_md_cstate_stop 388 ipi = (native_idle != x86_cpu_idle_halt) ? false : true; 389 x86_cpu_idle_set(native_idle, native_idle_text, ipi);
|
| /src/sys/arch/arm/broadcom/ |
| bcm2835_intr.c | 832 bcm2836mp_send_ipi(struct pic_softc *pic, const kcpuset_t *kcp, u_long ipi) 842 BCM2836_LOCAL_MAILBOX0_SETN(cpuid), __BIT(ipi)); 860 const u_int ipi = bit - 1; local in function:bcm2836mp_ipi_handler 861 switch (ipi) { 888 ipimask &= ~__BIT(ipi);
|
| /src/sys/arch/alpha/alpha/ |
| ipifuncs.c | 48 #include <sys/ipi.h> 81 [ilog2(ALPHA_IPI_HALT)] = "halt ipi", 82 [ilog2(ALPHA_IPI_PRIMARY_CC)] = "primary cc ipi", 83 [ilog2(ALPHA_IPI_SHOOTDOWN)] = "shootdown ipi", 84 [ilog2(ALPHA_IPI_AST)] = "ast ipi", 85 [ilog2(ALPHA_IPI_PAUSE)] = "pause ipi", 86 [ilog2(ALPHA_IPI_XCALL)] = "xcall ipi", 87 [ilog2(ALPHA_IPI_GENERIC)] = "generic ipi", 91 * Initialize IPI state for a CPU. 103 NULL, xname, "ipi"); [all...] |
| /src/sys/arch/xen/x86/ |
| xen_ipi.c | 35 * Based on: x86/ipi.c 49 #include <sys/ipi.h> 139 snprintf(intr_xname, sizeof(intr_xname), "%s ipi", 145 panic("%s: unable to register ipi handler\n", __func__);
|
| /src/sys/kern/ |
| kern_heartbeat.c | 101 #include <sys/ipi.h> 454 * IPI handler for defibrillation. If the CPU's heart has stopped 456 * acknowledge the IPI to the doctor and then panic so we at least 525 * trace and panic. If the patient CPU acknowledges the IPI,
|
| subr_ipi.c | 33 * Inter-processor interrupt (IPI) interface: asynchronous IPIs to 47 #include <sys/ipi.h> 55 * An array of the IPI handlers used for asynchronous invocation. 68 * Per-CPU mailbox for IPI messages: it is a single cache line storing 109 "ipi", "full"); 123 /* Allocate per-CPU IPI mailboxes. */ 129 * ipi_register: register an asynchronous IPI handler. 131 * => Returns IPI ID which is greater than zero; on failure - zero. 154 * ipi_unregister: release the IPI handler given the ID. 178 * ipi_mark_pending: internal routine to mark an IPI pending on th [all...] |
| subr_pcu.c | 61 #include <sys/ipi.h> 75 * Message structure for another CPU passed via ipi(9). 229 * pcu_cpu_ipi: helper routine to call pcu_do_op() via ipi(9).
|
| /src/sys/netinet/ |
| ip_input.c | 1554 struct in_pktinfo ipi; local in function:ip_savecontrol 1555 ipi.ipi_addr = ip->ip_dst; 1556 ipi.ipi_ifindex = ifp->if_index; 1557 *mp = sbcreatecontrol(&ipi, 1558 sizeof(ipi), IP_PKTINFO, IPPROTO_IP);
|
| /src/sys/arch/powerpc/booke/ |
| e500_intr.c | 55 #include <sys/ipi.h> 405 [IST_IPI] = "ipi", 799 snprintf(is->is_source, sizeof(is->is_source), "ipi %d", irq); 1367 for (u_int ipi = 31; pending_ipis != 0; ipi--, pending_ipis <<= 1) { local in function:e500_ipi_intr 1369 ipi -= bits; 1371 KASSERT(e500_ipifuncs[ipi] != NULL); 1372 (*e500_ipifuncs[ipi])(); 1395 * Establish the IPI interrupts for this CPU. 1398 NULL, "ipi") == NULL [all...] |
| /src/sys/arch/sparc64/sparc64/ |
| ipifuncs.c | 37 #include <sys/ipi.h> 64 /* IPI handlers. */ 68 /* Send IPI functions for supported platforms */ 74 * These are the "function" entry points in locore.s/mp_subr.s to handle IPI's. 168 * Initialize IPI machinery. 208 * Send an IPI to all in the list but ourselves. 229 * Broadcast an IPI to all but ourselves. 258 panic("recursive IPI?"); 298 panic("cpu%d: ipi_send: couldn't send ipi to UPAID %u" 328 * Wait for IPI operation to complete [all...] |