Home
last modified time | relevance | path

Searched refs:ii_handler (Results 1 – 5 of 5) sorted by relevance

/netbsd/sys/kern/
H A Dsubr_interrupt.c127 struct intrids_handler *ii_handler; in interrupt_avert_intr() local
135 if (ii_handler == NULL) { in interrupt_avert_intr()
139 nids = ii_handler->iih_nids; in interrupt_avert_intr()
153 ids = ii_handler->iih_intrids; in interrupt_avert_intr()
161 interrupt_destruct_intrids(ii_handler); in interrupt_avert_intr()
186 struct intrids_handler *ii_handler; in interrupt_intrio_list_size() local
195 if (ii_handler == NULL) in interrupt_intrio_list_size()
213 struct intrids_handler *ii_handler; in interrupt_intrio_list() local
227 if (ii_handler == NULL) { in interrupt_intrio_list()
236 nids = ii_handler->iih_nids; in interrupt_intrio_list()
[all …]
/netbsd/sys/arch/powerpc/pic/
H A Dintr.c831 struct intrids_handler *ii_handler; in interrupt_construct_intrids() local
846 ii_handler = kmem_zalloc(sizeof(int) + sizeof(intrid_t) * count, in interrupt_construct_intrids()
848 if (ii_handler == NULL) in interrupt_construct_intrids()
850 ii_handler->iih_nids = count; in interrupt_construct_intrids()
852 return ii_handler; in interrupt_construct_intrids()
854 ids = ii_handler->iih_intrids; in interrupt_construct_intrids()
868 return ii_handler; in interrupt_construct_intrids()
872 interrupt_destruct_intrids(struct intrids_handler *ii_handler) in interrupt_destruct_intrids() argument
876 if (ii_handler == NULL) in interrupt_destruct_intrids()
879 iih_size = sizeof(int) + sizeof(intrid_t) * ii_handler->iih_nids; in interrupt_destruct_intrids()
[all …]
/netbsd/sys/arch/xen/xen/
H A Devtchn.c1242 struct intrids_handler *ii_handler; in interrupt_construct_intrids() local
1266 ii_handler = kmem_zalloc(sizeof(int) + sizeof(intrid_t) * count, in interrupt_construct_intrids()
1268 if (ii_handler == NULL) in interrupt_construct_intrids()
1270 ii_handler->iih_nids = count; in interrupt_construct_intrids()
1272 return ii_handler; in interrupt_construct_intrids()
1274 ids = ii_handler->iih_intrids; in interrupt_construct_intrids()
1289 return ii_handler; in interrupt_construct_intrids()
/netbsd/sys/arch/x86/x86/
H A Dintr.c2291 struct intrids_handler *ii_handler; in interrupt_construct_intrids() local
2310 ii_handler = kmem_zalloc(sizeof(int) + sizeof(intrid_t) * count, in interrupt_construct_intrids()
2312 if (ii_handler == NULL) in interrupt_construct_intrids()
2314 ii_handler->iih_nids = count; in interrupt_construct_intrids()
2316 return ii_handler; in interrupt_construct_intrids()
2318 ids = ii_handler->iih_intrids; in interrupt_construct_intrids()
2336 return ii_handler; in interrupt_construct_intrids()
2343 interrupt_destruct_intrids(struct intrids_handler *ii_handler) in interrupt_destruct_intrids() argument
2347 if (ii_handler == NULL) in interrupt_destruct_intrids()
2350 iih_size = sizeof(int) + sizeof(intrid_t) * ii_handler->iih_nids; in interrupt_destruct_intrids()
[all …]
/netbsd/sys/arch/powerpc/booke/
H A De500_intr.c1656 struct intrids_handler *ii_handler; in interrupt_construct_intrids() local
1672 ii_handler = kmem_zalloc(alloc_size, KM_SLEEP); in interrupt_construct_intrids()
1673 ii_handler->iih_nids = n; in interrupt_construct_intrids()
1675 return ii_handler; in interrupt_construct_intrids()
1677 ids = ii_handler->iih_intrids; in interrupt_construct_intrids()
1692 return ii_handler; in interrupt_construct_intrids()
1696 interrupt_destruct_intrids(struct intrids_handler *ii_handler) in interrupt_destruct_intrids() argument
1700 if (ii_handler == NULL) in interrupt_destruct_intrids()
1703 iih_size = sizeof(int) + sizeof(intrid_t) * ii_handler->iih_nids; in interrupt_destruct_intrids()
1704 kmem_free(ii_handler, iih_size); in interrupt_destruct_intrids()