Searched refs:irlmp (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/net/irda/ |
D | irlmp.c | 47 struct irlmp_cb *irlmp = NULL; variable 81 irlmp = kmalloc( sizeof(struct irlmp_cb), GFP_KERNEL); in irlmp_init() 82 if (irlmp == NULL) in irlmp_init() 84 memset(irlmp, 0, sizeof(struct irlmp_cb)); in irlmp_init() 86 irlmp->magic = LMP_MAGIC; in irlmp_init() 87 spin_lock_init(&irlmp->log_lock); in irlmp_init() 89 irlmp->clients = hashbin_new(HB_GLOBAL); in irlmp_init() 90 irlmp->services = hashbin_new(HB_GLOBAL); in irlmp_init() 91 irlmp->links = hashbin_new(HB_GLOBAL); in irlmp_init() 92 irlmp->unconnected_lsaps = hashbin_new(HB_GLOBAL); in irlmp_init() [all …]
|
D | irlmp_frame.c | 125 irlmp->unconnected_lsaps); in irlmp_link_data_indication() 241 lsap = (struct lsap_cb *) hashbin_get_first(irlmp->unconnected_lsaps); in irlmp_link_unitdata_indication() 252 lsap = (struct lsap_cb *) hashbin_get_next(irlmp->unconnected_lsaps); in irlmp_link_unitdata_indication() 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() 410 irlmp->cache.dlsap_sel = self->dlsap_sel; in irlmp_update_cache() 411 irlmp->cache.slsap_sel = self->slsap_sel; in irlmp_update_cache() 412 irlmp->cache.lsap = self; in irlmp_update_cache() [all …]
|
D | discovery.c | 64 spin_lock_irqsave(&irlmp->log_lock, flags); in irlmp_add_discovery() 98 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_add_discovery() 149 spin_lock_irqsave(&irlmp->log_lock, flags); in irlmp_expire_discoveries() 172 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_expire_discoveries() 233 spin_lock_irqsave(&irlmp->log_lock, flags); in irlmp_copy_discoveries() 239 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_copy_discoveries() 260 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_copy_discoveries() 279 spin_lock_irqsave(&irlmp->log_lock, flags); in irlmp_find_device() 291 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_find_device() 297 spin_unlock_irqrestore(&irlmp->log_lock, flags); in irlmp_find_device() [all …]
|
D | irlmp_event.c | 183 irlmp_start_discovery_timer(irlmp, sysctl_discovery_timeout * HZ); in irlmp_discovery_timer_expired() 232 irlap_discovery_request(self->irlap, &irlmp->discovery_cmd); in irlmp_state_standby() 391 lsap = (struct lsap_cb *) hashbin_get_first(irlmp->unconnected_lsaps); in irlmp_state_active() 396 lsap = (struct lsap_cb*) hashbin_get_next(irlmp->unconnected_lsaps); in irlmp_state_active() 580 lsap = hashbin_remove(irlmp->unconnected_lsaps, (int) self, in irlmp_state_connect() 858 ASSERT(irlmp != NULL, return -1;); in irlmp_state_setup_pend()
|
D | Makefile | 14 obj-y := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
|
/linux-2.4.37.9/include/net/irda/ |
D | irlmp.h | 253 extern struct irlmp_cb *irlmp; 255 static inline hashbin_t *irlmp_get_cachelog(void) { return irlmp->cachelog; } in irlmp_get_cachelog()
|