Home
last modified time | relevance | path

Searched refs:irlmp (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/net/irda/
Dirlmp.c52 struct irlmp_cb *irlmp = NULL; variable
81 irlmp = kzalloc( sizeof(struct irlmp_cb), GFP_KERNEL); in irlmp_init()
82 if (irlmp == NULL) in irlmp_init()
85 irlmp->magic = LMP_MAGIC; in irlmp_init()
87 irlmp->clients = hashbin_new(HB_LOCK); in irlmp_init()
88 irlmp->services = hashbin_new(HB_LOCK); in irlmp_init()
89 irlmp->links = hashbin_new(HB_LOCK); in irlmp_init()
90 irlmp->unconnected_lsaps = hashbin_new(HB_LOCK); in irlmp_init()
91 irlmp->cachelog = hashbin_new(HB_NOLOCK); in irlmp_init()
93 if ((irlmp->clients == NULL) || in irlmp_init()
[all …]
Dirlmp_frame.c124 irlmp->unconnected_lsaps); in irlmp_link_data_indication()
238 spin_lock_irqsave(&irlmp->unconnected_lsaps->hb_spinlock, flags); in irlmp_link_unitdata_indication()
239 lsap = (struct lsap_cb *) hashbin_get_first(irlmp->unconnected_lsaps); in irlmp_link_unitdata_indication()
250 lsap = (struct lsap_cb *) hashbin_get_next(irlmp->unconnected_lsaps); in irlmp_link_unitdata_indication()
252 spin_unlock_irqrestore(&irlmp->unconnected_lsaps->hb_spinlock, flags); in irlmp_link_unitdata_indication()
369 irlmp_add_discovery(irlmp->cachelog, discovery); in irlmp_link_discovery_indication()
373 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_PASSIVE); in irlmp_link_discovery_indication()
392 irlmp_add_discovery_log(irlmp->cachelog, log); in irlmp_link_discovery_confirm()
400 irlmp_discovery_confirm(irlmp->cachelog, DISCOVERY_ACTIVE); in irlmp_link_discovery_confirm()
Ddiscovery.c327 for (discovery = (discovery_t *) hashbin_get_first(irlmp->cachelog); in discovery_seq_idx()
329 discovery = (discovery_t *) hashbin_get_next(irlmp->cachelog)) { in discovery_seq_idx()
339 spin_lock_irq(&irlmp->cachelog->hb_spinlock); in discovery_seq_start()
347 ? (void *) hashbin_get_first(irlmp->cachelog) in discovery_seq_next()
348 : (void *) hashbin_get_next(irlmp->cachelog); in discovery_seq_next()
353 spin_unlock_irq(&irlmp->cachelog->hb_spinlock); in discovery_seq_stop()
410 IRDA_ASSERT(irlmp != NULL, return -EINVAL;); in discovery_seq_open()
Dirsysctl.c50 extern struct irlmp_cb *irlmp;
102 if (irlmp == NULL) in do_discovery()
106 irlmp_start_discovery_timer(irlmp, sysctl_discovery_timeout*HZ); in do_discovery()
108 del_timer_sync(&irlmp->discovery_timer); in do_discovery()
Dirlmp_event.c180 irlmp_start_discovery_timer(irlmp, sysctl_discovery_timeout * HZ); in irlmp_discovery_timer_expired()
266 irlap_discovery_request(self->irlap, &irlmp->discovery_cmd); in irlmp_state_standby()
407 irlmp_do_all_lsap_event(irlmp->unconnected_lsaps, in irlmp_state_active()
584 lsap = hashbin_remove(irlmp->unconnected_lsaps, (long) self, in irlmp_state_connect()
869 IRDA_ASSERT(irlmp != NULL, return -1;); in irlmp_state_setup_pend()
DMakefile10 irda-y := iriap.o iriap_event.o irlmp.o irlmp_event.o irlmp_frame.o \
/linux-2.6.39/include/net/irda/
Dirlmp.h264 extern struct irlmp_cb *irlmp;