Lines Matching +full:5 +full:bg
151 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local
156 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue()
157 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
158 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue()
166 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
431 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local
465 bg = &bnx2fc_global; in bnx2fc_rcv()
466 spin_lock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv()
468 __skb_queue_tail(&bg->fcoe_rx_list, skb); in bnx2fc_rcv()
469 if (bg->fcoe_rx_list.qlen == 1) in bnx2fc_rcv()
470 wake_up_process(bg->kthread); in bnx2fc_rcv()
472 spin_unlock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv()
482 struct fcoe_percpu_s *bg = arg; in bnx2fc_l2_rcv_thread() local
489 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_l2_rcv_thread()
490 while ((skb = __skb_dequeue(&bg->fcoe_rx_list)) != NULL) { in bnx2fc_l2_rcv_thread()
491 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_l2_rcv_thread()
493 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_l2_rcv_thread()
496 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_l2_rcv_thread()
628 if (crc_err < 5) in bnx2fc_recv_frame()
1243 ha->addr[4], ha->addr[5]); in bnx2fc_interface_setup()
2674 struct fcoe_percpu_s *bg; in bnx2fc_mod_init() local
2706 bg = &bnx2fc_global; in bnx2fc_mod_init()
2707 skb_queue_head_init(&bg->fcoe_rx_list); in bnx2fc_mod_init()
2709 (void *)bg, in bnx2fc_mod_init()
2715 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_mod_init()
2716 bg->kthread = l2_thread; in bnx2fc_mod_init()
2717 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_mod_init()
2750 struct fcoe_percpu_s *bg; in bnx2fc_mod_exit() local
2781 bg = &bnx2fc_global; in bnx2fc_mod_exit()
2782 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_mod_exit()
2783 l2_thread = bg->kthread; in bnx2fc_mod_exit()
2784 bg->kthread = NULL; in bnx2fc_mod_exit()
2785 while ((skb = __skb_dequeue(&bg->fcoe_rx_list)) != NULL) in bnx2fc_mod_exit()
2788 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_mod_exit()