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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/irda/
H A Ddiscovery.c47 * Function irlmp_add_discovery (cachelog, discovery)
49 * Add a new discovery to the cachelog, and remove any old discoveries
61 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) argument
69 spin_lock_irqsave(&cachelog->hb_spinlock, flags);
77 discovery = (discovery_t *) hashbin_get_first(cachelog);
82 discovery = (discovery_t *) hashbin_get_next(cachelog);
91 hashbin_remove_this(cachelog, (irda_queue_t *) node);
101 hashbin_insert(cachelog, (irda_queue_t *) new, new->data.daddr, NULL);
103 spin_unlock_irqrestore(&cachelog->hb_spinlock, flags);
107 * Function irlmp_add_discovery_log (cachelog, lo
112 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);
134 hashbin_delete(irlmp->cachelog, (FREE_FUNC) kfree);
354 irlmp_expire_discoveries(irlmp->cachelog, link->saddr, TRUE);
424 spin_lock_irqsave(&irlmp->cachelog->hb_spinlock, flags);
426 discovery = hashbin_find(irlmp->cachelog, daddr, NULL);
430 hashbin_get_first(irlmp->cachelog);
437 spin_unlock_irqrestore(&irlmp->cachelog->hb_spinlock, flags);
826 irlmp_expire_discoveries(irlmp->cachelog, la
[all...]
H A Daf_irda.c453 self->cachelog = NULL;
636 * to play with the cachelog directly, because while we are
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/irda/
H A Ddiscovery.h91 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *discovery);
92 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 71 milliseconds