Lines Matching refs:bpoll_state
544 unsigned int bpoll_state; member
975 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_busy_poll_init_lock()
983 if (q->bpoll_state & CXGB_POLL_LOCKED) { in cxgb_poll_lock_napi()
984 q->bpoll_state |= CXGB_POLL_STATE_NAPI_YIELD; in cxgb_poll_lock_napi()
987 q->bpoll_state = CXGB_POLL_STATE_NAPI; in cxgb_poll_lock_napi()
998 if (q->bpoll_state & CXGB_POLL_STATE_POLL_YIELD) in cxgb_poll_unlock_napi()
1000 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_poll_unlock_napi()
1010 if (q->bpoll_state & CXGB_POLL_LOCKED) { in cxgb_poll_lock_poll()
1011 q->bpoll_state |= CXGB_POLL_STATE_POLL_YIELD; in cxgb_poll_lock_poll()
1014 q->bpoll_state |= CXGB_POLL_STATE_POLL; in cxgb_poll_lock_poll()
1025 if (q->bpoll_state & CXGB_POLL_STATE_POLL_YIELD) in cxgb_poll_unlock_poll()
1027 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_poll_unlock_poll()
1034 return q->bpoll_state & CXGB_POLL_USER_PEND; in cxgb_poll_busy_polling()