Lines Matching refs:magic
86 irlmp->magic = LMP_MAGIC; in irlmp_init()
118 ASSERT(irlmp->magic == LMP_MAGIC, return;); in irlmp_cleanup()
145 ASSERT(irlmp->magic == LMP_MAGIC, return NULL;); in irlmp_open_lsap()
163 self->magic = LMP_LSAP_MAGIC; in irlmp_open_lsap()
200 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in __irlmp_close_lsap()
205 self->magic = 0; in __irlmp_close_lsap()
230 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_close_lsap()
238 ASSERT(lap->magic == LMP_LAP_MAGIC, return;); in irlmp_close_lsap()
276 ASSERT(irlmp->magic == LMP_MAGIC, return;); in irlmp_register_link()
290 lap->magic = LMP_LAP_MAGIC; in irlmp_register_link()
326 ASSERT(link->magic == LMP_LAP_MAGIC, return;); in irlmp_unregister_link()
333 link->magic = 0; in irlmp_unregister_link()
354 ASSERT(self->magic == LMP_LSAP_MAGIC, return -EBADR;); in irlmp_connect_request()
442 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_connect_request()
444 ASSERT(lsap->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_connect_request()
474 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_connect_indication()
512 ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_connect_response()
544 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_connect_confirm()
620 ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_disconnect_request()
646 ASSERT(self->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_disconnect_request()
652 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_disconnect_request()
677 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_disconnect_indication()
749 ASSERT(lap->magic == LMP_LAP_MAGIC, return;); in irlmp_do_expiry()
796 ASSERT(lap->magic == LMP_LAP_MAGIC, return;); in irlmp_do_discovery()
1045 ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_data_request()
1101 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_udata_indication()
1144 ASSERT(lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_connless_data_request()
1172 ASSERT(self->magic == LMP_LSAP_MAGIC, return;); in irlmp_connless_data_indication()
1210 ASSERT(curr->magic == LMP_LSAP_MAGIC, return;); in irlmp_status_indication()
1238 ASSERT(self->magic == LMP_LAP_MAGIC, return;); in irlmp_flow_indication()
1600 ASSERT(irlmp->magic == LMP_MAGIC, return TRUE;); in irlmp_slsap_inuse()
1622 ASSERT(lap->magic == LMP_LAP_MAGIC, return TRUE;); in irlmp_slsap_inuse()
1626 ASSERT(self->magic == LMP_LSAP_MAGIC, return TRUE;); in irlmp_slsap_inuse()
1652 ASSERT(irlmp->magic == LMP_MAGIC, return -1;); in irlmp_find_free_slsap()
1753 ASSERT(self->magic == LMP_LSAP_MAGIC, break;); in irlmp_proc_read()
1782 ASSERT(self->magic == LMP_LSAP_MAGIC, break;); in irlmp_proc_read()