Lines Matching refs:fcoe_pending_queue

373 	spin_lock_bh(&port->fcoe_pending_queue.lock);  in fcoe_clean_pending_queue()
374 while ((skb = __skb_dequeue(&port->fcoe_pending_queue)) != NULL) { in fcoe_clean_pending_queue()
375 spin_unlock_bh(&port->fcoe_pending_queue.lock); in fcoe_clean_pending_queue()
377 spin_lock_bh(&port->fcoe_pending_queue.lock); in fcoe_clean_pending_queue()
379 spin_unlock_bh(&port->fcoe_pending_queue.lock); in fcoe_clean_pending_queue()
402 spin_lock_bh(&port->fcoe_pending_queue.lock); in fcoe_check_wait_queue()
405 __skb_queue_tail(&port->fcoe_pending_queue, skb); in fcoe_check_wait_queue()
411 while (port->fcoe_pending_queue.qlen) { in fcoe_check_wait_queue()
413 port->fcoe_pending_queue.qlen++; in fcoe_check_wait_queue()
414 skb = __skb_dequeue(&port->fcoe_pending_queue); in fcoe_check_wait_queue()
416 spin_unlock_bh(&port->fcoe_pending_queue.lock); in fcoe_check_wait_queue()
418 spin_lock_bh(&port->fcoe_pending_queue.lock); in fcoe_check_wait_queue()
421 __skb_queue_head(&port->fcoe_pending_queue, skb); in fcoe_check_wait_queue()
423 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue()
427 port->fcoe_pending_queue.qlen--; in fcoe_check_wait_queue()
430 if (port->fcoe_pending_queue.qlen < port->min_queue_depth) in fcoe_check_wait_queue()
432 if (port->fcoe_pending_queue.qlen && !timer_pending(&port->timer)) in fcoe_check_wait_queue()
436 if (port->fcoe_pending_queue.qlen > port->max_queue_depth) in fcoe_check_wait_queue()
438 spin_unlock_bh(&port->fcoe_pending_queue.lock); in fcoe_check_wait_queue()