Searched refs:cachelog (Results 1 - 4 of 4) sorted by relevance

/net/irda/
H A Ddiscovery.c46 * Function irlmp_add_discovery (cachelog, discovery)
48 * Add a new discovery to the cachelog, and remove any old discoveries
60 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) argument
68 spin_lock_irqsave(&cachelog->hb_spinlock, flags);
76 discovery = (discovery_t *) hashbin_get_first(cachelog);
81 discovery = (discovery_t *) hashbin_get_next(cachelog);
90 hashbin_remove_this(cachelog, (irda_queue_t *) node);
100 hashbin_insert(cachelog, (irda_queue_t *) new, new->data.daddr, NULL);
102 spin_unlock_irqrestore(&cachelog->hb_spinlock, flags);
106 * Function irlmp_add_discovery_log (cachelog, lo
111 irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) argument
[all...]
H A Dirlmp_frame.c369 irlmp_add_discovery(irlmp->cachelog, discovery);
373 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_PASSIVE);
392 irlmp_add_discovery_log(irlmp->cachelog, log);
400 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_ACTIVE);
H A Dirlmp.c98 irlmp->cachelog = hashbin_new(HB_NOLOCK);
104 (irlmp->cachelog == NULL)) {
108 spin_lock_init(&irlmp->cachelog->hb_spinlock);
141 hashbin_delete(irlmp->cachelog, (FREE_FUNC) kfree);
361 irlmp_expire_discoveries(irlmp->cachelog, link->saddr, TRUE);
431 spin_lock_irqsave(&irlmp->cachelog->hb_spinlock, flags);
433 discovery = hashbin_find(irlmp->cachelog, daddr, NULL);
437 hashbin_get_first(irlmp->cachelog);
444 spin_unlock_irqrestore(&irlmp->cachelog->hb_spinlock, flags);
834 irlmp_expire_discoveries(irlmp->cachelog, la
[all...]
H A Daf_irda.c449 self->cachelog = NULL;
632 * to play with the cachelog directly, because while we are

Completed in 116 milliseconds