Searched refs:irnet_server (Results 1 – 2 of 2) sorted by relevance
564 if((irnet_server.running) && (self->q.q_next == NULL)) in irda_irnet_connect()566 spin_lock_bh(&irnet_server.spinlock); in irda_irnet_connect()567 hashbin_insert(irnet_server.list, (irda_queue_t *) self, 0, self->rname); in irda_irnet_connect()568 spin_unlock_bh(&irnet_server.spinlock); in irda_irnet_connect()622 if((irnet_server.running) && (self->q.q_next != NULL)) in irda_irnet_destroy()626 spin_lock_bh(&irnet_server.spinlock); in irda_irnet_destroy()627 entry = hashbin_remove_this(irnet_server.list, (irda_queue_t *) self); in irda_irnet_destroy()629 spin_unlock_bh(&irnet_server.spinlock); in irda_irnet_destroy()763 spin_lock_bh(&irnet_server.spinlock); in irnet_find_socket()769 new = (irnet_socket *) hashbin_find(irnet_server.list, in irnet_find_socket()[all …]
168 static struct irnet_root irnet_server; variable