Lines Matching refs:cb
65 mdb_callb_remove(mdb_callb_t *cb)
67 if (cb->cb_mod != NULL) {
68 mdb_callb_t *next = mdb_list_next(cb);
69 mdb_module_t *mod = cb->cb_mod;
71 if (mod->mod_cb == cb) {
79 mdb_list_delete(&mdb.m_cblist, cb);
81 mdb_free(cb, sizeof (mdb_callb_t));
94 mdb_callb_t *cb;
96 while ((cb = mdb_list_next(&mdb.m_cblist)) != NULL)
97 mdb_callb_remove(cb);
103 mdb_callb_t *cb, *next;
110 for (cb = mdb_list_next(&mdb.m_cblist); cb != NULL; cb = next) {
111 next = mdb_list_next(cb);
112 if (cb->cb_class == class)
113 cb->cb_func(cb->cb_arg);