Lines Matching refs:spinlock

126 	spinlock_t	  spinlock;  member
385 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
388 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
393 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
446 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
448 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
749 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
756 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
764 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
769 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
843 spin_lock_init(&n_hdlc->rx_free_buf_list.spinlock); in n_hdlc_alloc()
844 spin_lock_init(&n_hdlc->tx_free_buf_list.spinlock); in n_hdlc_alloc()
845 spin_lock_init(&n_hdlc->rx_buf_list.spinlock); in n_hdlc_alloc()
846 spin_lock_init(&n_hdlc->tx_buf_list.spinlock); in n_hdlc_alloc()
889 spin_lock_irqsave(&buf_list->spinlock, flags); in n_hdlc_buf_return()
894 spin_unlock_irqrestore(&buf_list->spinlock, flags); in n_hdlc_buf_return()
907 spin_lock_irqsave(&buf_list->spinlock, flags); in n_hdlc_buf_put()
912 spin_unlock_irqrestore(&buf_list->spinlock, flags); in n_hdlc_buf_put()
928 spin_lock_irqsave(&buf_list->spinlock, flags); in n_hdlc_buf_get()
937 spin_unlock_irqrestore(&buf_list->spinlock, flags); in n_hdlc_buf_get()