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

Function intr_alloc_map_data

freebsd/kern/subr_intr.c:1286–1295  ·  view source on GitHub ↗

* Allocate memory for new intr_map_data structure. * Initialize common fields. */

Source from the content-addressed store, hash-verified

1284 * Initialize common fields.
1285 */
1286struct intr_map_data *
1287intr_alloc_map_data(enum intr_map_data_type type, size_t len, int flags)
1288{
1289 struct intr_map_data *data;
1290
1291 data = malloc(len, M_INTRNG, flags);
1292 data->type = type;
1293 data->len = len;
1294 return (data);
1295}
1296
1297void intr_free_intr_map_data(struct intr_map_data *data)
1298{

Callers 10

mips_pic_map_fixed_intrFunction · 0.85
nexus_ofw_map_intrFunction · 0.85
bhnd_nexus_map_intrFunction · 0.85
nexus_ofw_map_intrFunction · 0.85
nexus_acpi_map_intrFunction · 0.85
nexus_ofw_map_intrFunction · 0.85
mv_ap806_gicp_attachFunction · 0.85
mv_cp110_icu_attachFunction · 0.85
intr_alloc_msiFunction · 0.85
intr_alloc_msixFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected