Searched refs:cachelog (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/net/irda/ |
D | discovery.c | 56 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *new) in irlmp_add_discovery() argument 72 discovery = (discovery_t *) hashbin_get_first(cachelog); in irlmp_add_discovery() 77 discovery = (discovery_t *) hashbin_get_next(cachelog); in irlmp_add_discovery() 86 hashbin_remove_this(cachelog, (irda_queue_t *) node); in irlmp_add_discovery() 96 hashbin_insert(cachelog, (irda_queue_t *) new, new->daddr, NULL); in irlmp_add_discovery() 107 void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) in irlmp_add_discovery_log() argument 125 irlmp_add_discovery(cachelog, discovery); in irlmp_add_discovery_log() 274 __u32 irlmp_find_device(hashbin_t *cachelog, char *name, __u32 *saddr) in irlmp_find_device() argument 282 d = (discovery_t *) hashbin_get_first(cachelog); in irlmp_find_device() 294 d = (discovery_t *) hashbin_get_next(cachelog); in irlmp_find_device() [all …]
|
D | irlmp_frame.c | 373 irlmp_add_discovery(irlmp->cachelog, discovery); in irlmp_link_discovery_indication() 377 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_PASSIVE); in irlmp_link_discovery_indication() 395 irlmp_add_discovery_log(irlmp->cachelog, log); in irlmp_link_discovery_confirm() 403 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_ACTIVE); in irlmp_link_discovery_confirm()
|
D | irlmp.c | 93 irlmp->cachelog = hashbin_new(HB_GLOBAL); in irlmp_init() 126 hashbin_delete(irlmp->cachelog, (FREE_FUNC) kfree); in irlmp_cleanup() 329 irlmp_expire_discoveries(irlmp->cachelog, link->saddr, TRUE); in irlmp_unregister_link() 392 discovery = hashbin_find(irlmp->cachelog, daddr, NULL); in irlmp_connect_request() 396 hashbin_get_first(irlmp->cachelog); in irlmp_connect_request() 753 irlmp_expire_discoveries(irlmp->cachelog, lap->saddr, in irlmp_do_expiry() 816 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_LOG); in irlmp_discovery_request() 860 return(irlmp_copy_discoveries(irlmp->cachelog, pn, mask)); in irlmp_get_discoveries()
|
D | af_irda.c | 464 self->cachelog = NULL; in irda_discovery_timeout()
|
/linux-2.4.37.9/include/net/irda/ |
D | discovery.h | 73 void irlmp_add_discovery(hashbin_t *cachelog, discovery_t *discovery); 74 void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log);
|
D | irlmp.h | 179 hashbin_t *cachelog; /* Current discovery log */ member 255 static inline hashbin_t *irlmp_get_cachelog(void) { return irlmp->cachelog; } in irlmp_get_cachelog()
|
D | irda.h | 156 hashbin_t *cachelog; /* Result of discovery query */ member
|