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

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/net/irda/
H A Ddiscovery.c44 * Function irlmp_add_discovery (cachelog, discovery)
46 * Add a new discovery to the cachelog, and remove any old discoveries
58 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) argument
66 spin_lock_irqsave(&cachelog->hb_spinlock, flags);
74 discovery = (discovery_t *) hashbin_get_first(cachelog);
79 discovery = (discovery_t *) hashbin_get_next(cachelog);
88 hashbin_remove_this(cachelog, (irda_queue_t *) node);
98 hashbin_insert(cachelog, (irda_queue_t *) new, new->data.daddr, NULL);
100 spin_unlock_irqrestore(&cachelog->hb_spinlock, flags);
104 * Function irlmp_add_discovery_log (cachelog, lo
109 irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) argument
[all...]
H A Dirlmp_frame.c368 irlmp_add_discovery(irlmp->cachelog, discovery);
372 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_PASSIVE);
391 irlmp_add_discovery_log(irlmp->cachelog, log);
399 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_ACTIVE);
H A Dirlmp.c91 irlmp->cachelog = hashbin_new(HB_NOLOCK);
97 (irlmp->cachelog == NULL)) {
101 spin_lock_init(&irlmp->cachelog->hb_spinlock);
131 hashbin_delete(irlmp->cachelog, (FREE_FUNC) kfree);
351 irlmp_expire_discoveries(irlmp->cachelog, link->saddr, TRUE);
420 spin_lock_irqsave(&irlmp->cachelog->hb_spinlock, flags);
422 discovery = hashbin_find(irlmp->cachelog, daddr, NULL);
426 hashbin_get_first(irlmp->cachelog);
433 spin_unlock_irqrestore(&irlmp->cachelog->hb_spinlock, flags);
822 irlmp_expire_discoveries(irlmp->cachelog, la
[all...]
H A Daf_irda.c451 self->cachelog = NULL;
634 * to play with the cachelog directly, because while we are
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/net/irda/
H A Ddiscovery.h94 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *discovery);
95 void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log);
H A Daf_irda.h68 hashbin_t *cachelog; /* Result of discovery query */ member in struct:irda_sock
H A Dirlmp.h187 hashbin_t *cachelog; /* Current discovery log */ member in struct:irlmp_cb

Completed in 124 milliseconds