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