Lines Matching defs:ncec_cb
43 ncec_cb_t *ncec_cb;
47 if (list_is_empty(&ncec->ncec_cb)) {
61 ncec_cb = list_head(&ncec->ncec_cb);
62 for (; ncec_cb != NULL; ncec_cb = list_next(&ncec->ncec_cb, ncec_cb)) {
63 if (ncec_cb->ncec_cb_flags & NCE_CB_DISPATCHED)
65 ncec_cb->ncec_cb_flags |= NCE_CB_DISPATCHED;
67 (*ncec_cb->ncec_cb_func)(&ip2m, ncec_cb->ncec_cb_arg);
125 ncec_cb_t *ncec_cb, *ncec_cb_next = NULL;
129 for (ncec_cb = list_head(&ncec->ncec_cb); ncec_cb != NULL;
130 ncec_cb = ncec_cb_next) {
132 ncec_cb_next = list_next(&ncec->ncec_cb, ncec_cb);
133 if ((ncec_cb->ncec_cb_flags & NCE_CB_DISPATCHED) == 0)
135 list_remove(&ncec->ncec_cb, ncec_cb);
136 kmem_free(ncec_cb, sizeof (*ncec_cb));
163 list_insert_tail(&ncec->ncec_cb, nce_cb);
300 * callback information in ncec->ncec_cb
344 ncec_cb_t *ncec_cb;
350 if (list_is_empty(&ncec->ncec_cb)) {
362 ncec_cb = list_head(&ncec->ncec_cb);
363 for (; ncec_cb != NULL; ncec_cb = list_next(&ncec->ncec_cb, ncec_cb)) {
364 if (ncec_cb != ip2m_nce_cb)
371 list_remove(&ncec->ncec_cb, ncec_cb);