Lines Matching refs:csk
258 static inline void cxgbit_get_csk(struct cxgbit_sock *csk) in cxgbit_get_csk() argument
260 kref_get(&csk->kref); in cxgbit_get_csk()
263 static inline void cxgbit_put_csk(struct cxgbit_sock *csk) in cxgbit_put_csk() argument
265 kref_put(&csk->kref, _cxgbit_free_csk); in cxgbit_put_csk()
278 static inline void cxgbit_sock_reset_wr_list(struct cxgbit_sock *csk) in cxgbit_sock_reset_wr_list() argument
280 csk->wr_pending_tail = NULL; in cxgbit_sock_reset_wr_list()
281 csk->wr_pending_head = NULL; in cxgbit_sock_reset_wr_list()
284 static inline struct sk_buff *cxgbit_sock_peek_wr(const struct cxgbit_sock *csk) in cxgbit_sock_peek_wr() argument
286 return csk->wr_pending_head; in cxgbit_sock_peek_wr()
290 cxgbit_sock_enqueue_wr(struct cxgbit_sock *csk, struct sk_buff *skb) in cxgbit_sock_enqueue_wr() argument
296 if (!csk->wr_pending_head) in cxgbit_sock_enqueue_wr()
297 csk->wr_pending_head = skb; in cxgbit_sock_enqueue_wr()
299 cxgbit_skcb_tx_wr_next(csk->wr_pending_tail) = skb; in cxgbit_sock_enqueue_wr()
300 csk->wr_pending_tail = skb; in cxgbit_sock_enqueue_wr()
303 static inline struct sk_buff *cxgbit_sock_dequeue_wr(struct cxgbit_sock *csk) in cxgbit_sock_dequeue_wr() argument
305 struct sk_buff *skb = csk->wr_pending_head; in cxgbit_sock_dequeue_wr()
308 csk->wr_pending_head = cxgbit_skcb_tx_wr_next(skb); in cxgbit_sock_dequeue_wr()
321 void cxgbit_abort_conn(struct cxgbit_sock *csk);