Lines Matching defs:irlap
3 * Filename: irlap.c
48 #include <net/irda/irlap.h>
52 static hashbin_t *irlap = NULL;
88 irlap = hashbin_new(HB_LOCK);
89 if (irlap == NULL) {
90 IRDA_ERROR("%s: can't allocate irlap hashbin!\n",
100 IRDA_ASSERT(irlap != NULL, return;);
102 hashbin_delete(irlap, (FREE_FUNC) __irlap_close);
118 /* Initialize the irlap structure. */
152 (hashbin_lock_find(irlap, self->saddr, NULL)) );
171 hashbin_insert(irlap, (irda_queue_t *) self, self->saddr, NULL);
231 lap = hashbin_remove(irlap, self->saddr, NULL);
1104 spin_lock_irq(&irlap->hb_spinlock);
1107 for (self = (struct irlap_cb *) hashbin_get_first(irlap);
1108 self; self = (struct irlap_cb *) hashbin_get_next(irlap)) {
1123 return (void *) hashbin_get_next(irlap);
1128 spin_unlock_irq(&irlap->hb_spinlock);
1138 seq_printf(seq, "irlap%d ", iter->id);
1217 if (irlap == NULL)