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

Function intrcnt_setname

freebsd/kern/subr_intr.c:196–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194SYSINIT(intr_irq_init, SI_SUB_INTR, SI_ORDER_FIRST, intr_irq_init, NULL);
195
196static void
197intrcnt_setname(const char *name, int index)
198{
199
200 snprintf(intrnames + INTRNAME_LEN * index, INTRNAME_LEN, "%-*s",
201 INTRNAME_LEN - 1, name);
202}
203
204/*
205 * Update name for interrupt source with interrupt event.

Callers 3

intrcnt_updatenameFunction · 0.70
isrc_update_nameFunction · 0.70
intr_ipi_setup_countersFunction · 0.70

Calls 1

snprintfFunction · 0.85

Tested by

no test coverage detected