Lines Matching refs:bpoll_state
513 unsigned int bpoll_state; member
927 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_busy_poll_init_lock()
935 if (q->bpoll_state & CXGB_POLL_LOCKED) { in cxgb_poll_lock_napi()
936 q->bpoll_state |= CXGB_POLL_STATE_NAPI_YIELD; in cxgb_poll_lock_napi()
939 q->bpoll_state = CXGB_POLL_STATE_NAPI; in cxgb_poll_lock_napi()
950 if (q->bpoll_state & CXGB_POLL_STATE_POLL_YIELD) in cxgb_poll_unlock_napi()
952 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_poll_unlock_napi()
962 if (q->bpoll_state & CXGB_POLL_LOCKED) { in cxgb_poll_lock_poll()
963 q->bpoll_state |= CXGB_POLL_STATE_POLL_YIELD; in cxgb_poll_lock_poll()
966 q->bpoll_state |= CXGB_POLL_STATE_POLL; in cxgb_poll_lock_poll()
977 if (q->bpoll_state & CXGB_POLL_STATE_POLL_YIELD) in cxgb_poll_unlock_poll()
979 q->bpoll_state = CXGB_POLL_STATE_IDLE; in cxgb_poll_unlock_poll()
986 return q->bpoll_state & CXGB_POLL_USER_PEND; in cxgb_poll_busy_polling()