Lines Matching refs:cxgbi_sock
183 struct cxgbi_sock { struct
328 static inline void cxgbi_sock_set_flag(struct cxgbi_sock *csk, in cxgbi_sock_set_flag()
337 static inline void cxgbi_sock_clear_flag(struct cxgbi_sock *csk, in cxgbi_sock_clear_flag()
346 static inline int cxgbi_sock_flag(struct cxgbi_sock *csk, in cxgbi_sock_flag()
354 static inline void cxgbi_sock_set_state(struct cxgbi_sock *csk, int state) in cxgbi_sock_set_state()
364 struct cxgbi_sock *csk = container_of(kref, in cxgbi_sock_free()
365 struct cxgbi_sock, in cxgbi_sock_free()
375 static inline void __cxgbi_sock_put(const char *fn, struct cxgbi_sock *csk) in __cxgbi_sock_put()
384 static inline void __cxgbi_sock_get(const char *fn, struct cxgbi_sock *csk) in __cxgbi_sock_get()
393 static inline int cxgbi_sock_is_closing(struct cxgbi_sock *csk) in cxgbi_sock_is_closing()
398 static inline int cxgbi_sock_is_established(struct cxgbi_sock *csk) in cxgbi_sock_is_established()
403 static inline void cxgbi_sock_purge_write_queue(struct cxgbi_sock *csk) in cxgbi_sock_purge_write_queue()
441 static inline void cxgbi_sock_reset_wr_list(struct cxgbi_sock *csk) in cxgbi_sock_reset_wr_list()
446 static inline void cxgbi_sock_enqueue_wr(struct cxgbi_sock *csk, in cxgbi_sock_enqueue_wr()
465 static inline int cxgbi_sock_count_pending_wrs(const struct cxgbi_sock *csk) in cxgbi_sock_count_pending_wrs()
477 static inline struct sk_buff *cxgbi_sock_peek_wr(const struct cxgbi_sock *csk) in cxgbi_sock_peek_wr()
482 static inline struct sk_buff *cxgbi_sock_dequeue_wr(struct cxgbi_sock *csk) in cxgbi_sock_dequeue_wr()
493 void cxgbi_sock_check_wr_invariants(const struct cxgbi_sock *);
494 void cxgbi_sock_purge_wr_queue(struct cxgbi_sock *);
495 void cxgbi_sock_skb_entail(struct cxgbi_sock *, struct sk_buff *);
496 void cxgbi_sock_fail_act_open(struct cxgbi_sock *, int);
498 void cxgbi_sock_closed(struct cxgbi_sock *);
499 void cxgbi_sock_established(struct cxgbi_sock *, unsigned int, unsigned int);
500 void cxgbi_sock_rcv_abort_rpl(struct cxgbi_sock *);
501 void cxgbi_sock_rcv_peer_close(struct cxgbi_sock *);
502 void cxgbi_sock_rcv_close_conn_rpl(struct cxgbi_sock *, u32);
503 void cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *, unsigned int, unsigned int,
505 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *, unsigned int);
506 void cxgbi_sock_free_cpl_skbs(struct cxgbi_sock *);
523 struct cxgbi_sock **port_csk;
555 int (*csk_ddp_set)(struct cxgbi_sock *, struct cxgbi_pagepod_hdr *,
560 int (*csk_ddp_setup_digest)(struct cxgbi_sock *,
562 int (*csk_ddp_setup_pgidx)(struct cxgbi_sock *,
565 void (*csk_release_offload_resources)(struct cxgbi_sock *);
566 int (*csk_rx_pdu_ready)(struct cxgbi_sock *, struct sk_buff *);
567 u32 (*csk_send_rx_credits)(struct cxgbi_sock *, u32);
568 int (*csk_push_tx_frames)(struct cxgbi_sock *, int);
569 void (*csk_send_abort_req)(struct cxgbi_sock *);
570 void (*csk_send_close_req)(struct cxgbi_sock *);
571 int (*csk_alloc_cpls)(struct cxgbi_sock *);
572 int (*csk_init_act_open)(struct cxgbi_sock *);
588 struct cxgbi_sock *csk;
716 void cxgbi_conn_tx_open(struct cxgbi_sock *);
717 void cxgbi_conn_pdu_ready(struct cxgbi_sock *);