Lines Matching refs:lsap

227 	struct lsap_cb *lsap = NULL;  in irlmp_close_lsap()  local
249 lsap = hashbin_remove(lap->lsaps, (int) self, NULL); in irlmp_close_lsap()
253 if (!lsap) { in irlmp_close_lsap()
254 lsap = hashbin_remove(irlmp->unconnected_lsaps, (int) self, in irlmp_close_lsap()
257 if (!lsap) { in irlmp_close_lsap()
350 struct lsap_cb *lsap; in irlmp_connect_request() local
439 lsap = hashbin_remove(irlmp->unconnected_lsaps, (int) self, NULL); in irlmp_connect_request()
441 ASSERT(lsap != NULL, return -1;); in irlmp_connect_request()
442 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_connect_request()
443 ASSERT(lsap->lap != NULL, return -1;); in irlmp_connect_request()
444 ASSERT(lsap->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_connect_request()
617 struct lsap_cb *lsap; in irlmp_disconnect_request() local
649 lsap = hashbin_remove(self->lap->lsaps, (int) self, NULL); in irlmp_disconnect_request()
651 ASSERT(lsap != NULL, return -1;); in irlmp_disconnect_request()
652 ASSERT(lsap->magic == LMP_LSAP_MAGIC, return -1;); in irlmp_disconnect_request()
653 ASSERT(lsap == self, return -1;); in irlmp_disconnect_request()
673 struct lsap_cb *lsap; in irlmp_disconnect_indication() local
703 lsap = hashbin_remove(self->lap->lsaps, (int) self, NULL); in irlmp_disconnect_indication()
705 ASSERT(lsap != NULL, return;); in irlmp_disconnect_indication()
706 ASSERT(lsap == self, return;); in irlmp_disconnect_indication()
707 hashbin_insert(irlmp->unconnected_lsaps, (irda_queue_t *) lsap, (int) lsap, in irlmp_disconnect_indication()