Lines Matching refs:lsaps
255 lsap = hashbin_remove(lap->lsaps, (long) self, NULL); in irlmp_close_lsap()
304 lap->lsaps = hashbin_new(HB_LOCK); in irlmp_register_link()
305 if (lap->lsaps == NULL) { in irlmp_register_link()
357 hashbin_delete(link->lsaps, (FREE_FUNC) __irlmp_close_lsap); in irlmp_unregister_link()
448 if (HASHBIN_GET_SIZE(lap->lsaps) == 0) { in irlmp_connect_request()
479 hashbin_insert(self->lap->lsaps, (irda_queue_t *) self, (long) self, in irlmp_connect_request()
712 IRDA_ASSERT(self->lap->lsaps != NULL, return -1;); in irlmp_disconnect_request()
714 lsap = hashbin_remove(self->lap->lsaps, (long) self, NULL); in irlmp_disconnect_request()
765 IRDA_ASSERT(self->lap->lsaps != NULL, return;); in irlmp_disconnect_indication()
767 lsap = hashbin_remove(self->lap->lsaps, (long) self, NULL); in irlmp_disconnect_indication()
1277 curr = (struct lsap_cb *) hashbin_get_first( self->lsaps); in irlmp_status_indication()
1278 while (NULL != hashbin_find_next(self->lsaps, (long) curr, NULL, in irlmp_status_indication()
1315 lsap_todo = HASHBIN_GET_SIZE(self->lsaps); in irlmp_flow_indication()
1328 next = (struct lsap_cb *) hashbin_get_first(self->lsaps); in irlmp_flow_indication()
1330 curr = hashbin_find_next(self->lsaps, (long) next, NULL, in irlmp_flow_indication()
1663 spin_lock(&lap->lsaps->hb_spinlock); in irlmp_slsap_inuse()
1666 self = (struct lsap_cb *) hashbin_get_first(lap->lsaps); in irlmp_slsap_inuse()
1676 self = (struct lsap_cb*) hashbin_get_next(lap->lsaps); in irlmp_slsap_inuse()
1678 spin_unlock(&lap->lsaps->hb_spinlock); in irlmp_slsap_inuse()
1711 spin_unlock(&lap->lsaps->hb_spinlock); in irlmp_slsap_inuse()
1941 HASHBIN_GET_SIZE(lap->lsaps)); in irlmp_seq_show()
1947 spin_lock(&lap->lsaps->hb_spinlock); in irlmp_seq_show()
1950 for (self = (struct lsap_cb *) hashbin_get_first(lap->lsaps); in irlmp_seq_show()
1952 self = (struct lsap_cb *)hashbin_get_next(lap->lsaps)) { in irlmp_seq_show()
1965 spin_unlock(&lap->lsaps->hb_spinlock); in irlmp_seq_show()