Searched refs:mi_head (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.h | 85 extern int mi_close_comm(void **mi_head, queue_t *q); 87 extern void mi_close_unlink(void **mi_head, IDP ptr); 105 extern IDP mi_first_ptr(void **mi_head); 106 extern IDP mi_first_dev_ptr(void **mi_head); 107 extern IDP mi_next_ptr(void **mi_head, IDP ptr); 108 extern IDP mi_next_dev_ptr(void **mi_head, IDP ptr); 112 extern int mi_open_comm(void **mi_head, size_t size, queue_t *q, 114 extern int mi_open_link(void **mi_head, IDP ptr, dev_t *devp, int flag,
|
H A D | mi.c | 168 if (mi_head->mh_o.mi_o_next == &mi_head->mh_o) { in mi_close_unlink() 169 ASSERT(mi_head->mh_o.mi_o_prev == &mi_head->mh_o); in mi_close_unlink() 170 if (mi_head->mh_arena != NULL) in mi_close_unlink() 172 mi_free((IDP)mi_head); in mi_close_unlink() 692 mi_op = mi_head->mh_o.mi_o_next; in mi_first_ptr() 814 if (mi_head == NULL) { in mi_open_link() 828 *mi_headp = (void *)mi_head; in mi_open_link() 830 mi_head->mh_o.mi_o_next = &mi_head->mh_o; in mi_open_link() 831 mi_head->mh_o.mi_o_prev = &mi_head->mh_o; in mi_open_link() 849 mi_head->mh_module_dev = 1; in mi_open_link() [all …]
|