/linux-4.1.27/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 183 struct cxgbi_sock { struct 326 static inline void cxgbi_sock_set_flag(struct cxgbi_sock *csk, cxgbi_sock_set_flag() 335 static inline void cxgbi_sock_clear_flag(struct cxgbi_sock *csk, cxgbi_sock_clear_flag() 344 static inline int cxgbi_sock_flag(struct cxgbi_sock *csk, cxgbi_sock_flag() 352 static inline void cxgbi_sock_set_state(struct cxgbi_sock *csk, int state) cxgbi_sock_set_state() 362 struct cxgbi_sock *csk = container_of(kref, cxgbi_sock_free() 363 struct cxgbi_sock, cxgbi_sock_free() 373 static inline void __cxgbi_sock_put(const char *fn, struct cxgbi_sock *csk) __cxgbi_sock_put() 382 static inline void __cxgbi_sock_get(const char *fn, struct cxgbi_sock *csk) __cxgbi_sock_get() 391 static inline int cxgbi_sock_is_closing(struct cxgbi_sock *csk) cxgbi_sock_is_closing() 396 static inline int cxgbi_sock_is_established(struct cxgbi_sock *csk) cxgbi_sock_is_established() 401 static inline void cxgbi_sock_purge_write_queue(struct cxgbi_sock *csk) cxgbi_sock_purge_write_queue() 439 static inline void cxgbi_sock_reset_wr_list(struct cxgbi_sock *csk) cxgbi_sock_reset_wr_list() 444 static inline void cxgbi_sock_enqueue_wr(struct cxgbi_sock *csk, cxgbi_sock_enqueue_wr() 463 static inline int cxgbi_sock_count_pending_wrs(const struct cxgbi_sock *csk) cxgbi_sock_count_pending_wrs() 475 static inline struct sk_buff *cxgbi_sock_peek_wr(const struct cxgbi_sock *csk) cxgbi_sock_peek_wr() 480 static inline struct sk_buff *cxgbi_sock_dequeue_wr(struct cxgbi_sock *csk) cxgbi_sock_dequeue_wr() 491 void cxgbi_sock_check_wr_invariants(const struct cxgbi_sock *); 492 void cxgbi_sock_purge_wr_queue(struct cxgbi_sock *); 493 void cxgbi_sock_skb_entail(struct cxgbi_sock *, struct sk_buff *); 494 void cxgbi_sock_fail_act_open(struct cxgbi_sock *, int); 496 void cxgbi_sock_closed(struct cxgbi_sock *); 497 void cxgbi_sock_established(struct cxgbi_sock *, unsigned int, unsigned int); 498 void cxgbi_sock_rcv_abort_rpl(struct cxgbi_sock *); 499 void cxgbi_sock_rcv_peer_close(struct cxgbi_sock *); 500 void cxgbi_sock_rcv_close_conn_rpl(struct cxgbi_sock *, u32); 501 void cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *, unsigned int, unsigned int, 503 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *, unsigned int); 504 void cxgbi_sock_free_cpl_skbs(struct cxgbi_sock *); 521 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; 719 void cxgbi_conn_tx_open(struct cxgbi_sock *); 720 void cxgbi_conn_pdu_ready(struct cxgbi_sock *);
|
H A D | libcxgbi.c | 69 sizeof(struct cxgbi_sock *), cxgbi_device_portmap_create() 86 struct cxgbi_sock *csk; cxgbi_device_portmap_cleanup() 403 static struct cxgbi_sock *find_sock_on_port(struct cxgbi_device *cdev, find_sock_on_port() 416 struct cxgbi_sock *csk = pmap->port_csk[i]; find_sock_on_port() 431 static int sock_get_port(struct cxgbi_sock *csk) sock_get_port() 492 static void sock_put_port(struct cxgbi_sock *csk) sock_put_port() 532 void cxgbi_sock_free_cpl_skbs(struct cxgbi_sock *csk) cxgbi_sock_free_cpl_skbs() 549 static struct cxgbi_sock *cxgbi_sock_create(struct cxgbi_device *cdev) cxgbi_sock_create() 551 struct cxgbi_sock *csk = kzalloc(sizeof(*csk), GFP_NOIO); cxgbi_sock_create() 593 static struct cxgbi_sock *cxgbi_check_route(struct sockaddr *dst_addr) cxgbi_check_route() 602 struct cxgbi_sock *csk = NULL; cxgbi_check_route() 694 static struct cxgbi_sock *cxgbi_check_route6(struct sockaddr *dst_addr) cxgbi_check_route6() 703 struct cxgbi_sock *csk = NULL; cxgbi_check_route6() 799 void cxgbi_sock_established(struct cxgbi_sock *csk, unsigned int snd_isn, cxgbi_sock_established() 809 static void cxgbi_inform_iscsi_conn_closing(struct cxgbi_sock *csk) cxgbi_inform_iscsi_conn_closing() 824 void cxgbi_sock_closed(struct cxgbi_sock *csk) cxgbi_sock_closed() 842 static void need_active_close(struct cxgbi_sock *csk) need_active_close() 874 void cxgbi_sock_fail_act_open(struct cxgbi_sock *csk, int errno) cxgbi_sock_fail_act_open() 890 struct cxgbi_sock *csk = (struct cxgbi_sock *)skb->sk; cxgbi_sock_act_open_req_arp_failure() 904 void cxgbi_sock_rcv_abort_rpl(struct cxgbi_sock *csk) cxgbi_sock_rcv_abort_rpl() 923 void cxgbi_sock_rcv_peer_close(struct cxgbi_sock *csk) cxgbi_sock_rcv_peer_close() 956 void cxgbi_sock_rcv_close_conn_rpl(struct cxgbi_sock *csk, u32 snd_nxt) cxgbi_sock_rcv_close_conn_rpl() 987 void cxgbi_sock_rcv_wr_ack(struct cxgbi_sock *csk, unsigned int credits, cxgbi_sock_rcv_wr_ack() 1051 static unsigned int cxgbi_sock_find_best_mtu(struct cxgbi_sock *csk, cxgbi_sock_find_best_mtu() 1062 unsigned int cxgbi_sock_select_mss(struct cxgbi_sock *csk, unsigned int pmtu) cxgbi_sock_select_mss() 1079 void cxgbi_sock_skb_entail(struct cxgbi_sock *csk, struct sk_buff *skb) cxgbi_sock_skb_entail() 1086 void cxgbi_sock_purge_wr_queue(struct cxgbi_sock *csk) cxgbi_sock_purge_wr_queue() 1095 void cxgbi_sock_check_wr_invariants(const struct cxgbi_sock *csk) cxgbi_sock_check_wr_invariants() 1105 static int cxgbi_sock_send_pdus(struct cxgbi_sock *csk, struct sk_buff *skb) cxgbi_sock_send_pdus() 1485 static int ddp_tag_reserve(struct cxgbi_sock *csk, unsigned int tid, ddp_tag_reserve() 1545 int cxgbi_ddp_reserve(struct cxgbi_sock *csk, unsigned int *tagp, cxgbi_ddp_reserve() 1760 void cxgbi_conn_tx_open(struct cxgbi_sock *csk) cxgbi_conn_tx_open() 1878 static void csk_return_rx_credits(struct cxgbi_sock *csk, int copied) csk_return_rx_credits() 1904 void cxgbi_conn_pdu_ready(struct cxgbi_sock *csk) cxgbi_conn_pdu_ready() 2113 struct cxgbi_sock *csk = cconn->cep->csk; cxgbi_conn_alloc_pdu() 2396 struct cxgbi_sock *csk = cconn->cep->csk; cxgbi_set_conn_param() 2437 static inline int csk_print_port(struct cxgbi_sock *csk, char *buf) csk_print_port() 2448 static inline int csk_print_ip(struct cxgbi_sock *csk, char *buf) csk_print_ip() 2469 struct cxgbi_sock *csk; cxgbi_get_ep_param() 2528 struct cxgbi_sock *csk; cxgbi_bind_conn() 2680 struct cxgbi_sock *csk = find_sock_on_port(chba->cdev, cxgbi_get_host_param() 2705 struct cxgbi_sock *csk; cxgbi_ep_connect() 2790 struct cxgbi_sock *csk = cep->csk; cxgbi_ep_poll() 2802 struct cxgbi_sock *csk = cep->csk; cxgbi_ep_disconnect()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 154 static int push_tx_frames(struct cxgbi_sock *csk, int req_completion); 156 static void send_act_open_req(struct cxgbi_sock *csk, struct sk_buff *skb, send_act_open_req() 198 static void send_close_req(struct cxgbi_sock *csk) send_close_req() 237 static void send_abort_req(struct cxgbi_sock *csk) send_abort_req() 273 static void send_abort_rpl(struct cxgbi_sock *csk, int rst_status) send_abort_rpl() 296 static u32 send_rx_credits(struct cxgbi_sock *csk, u32 credits) send_rx_credits() 349 static inline void make_tx_data_wr(struct cxgbi_sock *csk, struct sk_buff *skb, make_tx_data_wr() 393 static int push_tx_frames(struct cxgbi_sock *csk, int req_completion) push_tx_frames() 465 static inline void free_atid(struct cxgbi_sock *csk) free_atid() 476 struct cxgbi_sock *csk = ctx; do_act_establish() 550 struct cxgbi_sock *csk = (struct cxgbi_sock *)data; act_open_retry_timer() 572 struct cxgbi_sock *csk = ctx; do_act_open_rpl() 607 struct cxgbi_sock *csk = ctx; do_peer_close() 625 struct cxgbi_sock *csk = ctx; do_close_con_rpl() 643 static int abort_status_to_errno(struct cxgbi_sock *csk, int abort_reason, abort_status_to_errno() 663 struct cxgbi_sock *csk = ctx; do_abort_req() 710 struct cxgbi_sock *csk = ctx; do_abort_rpl() 745 struct cxgbi_sock *csk = ctx; do_iscsi_hdr() 849 struct cxgbi_sock *csk = ctx; do_wr_ack() 865 static int alloc_cpls(struct cxgbi_sock *csk) alloc_cpls() 893 static void l2t_put(struct cxgbi_sock *csk) l2t_put() 904 static void release_offload_resources(struct cxgbi_sock *csk) release_offload_resources() 953 static int init_act_open(struct cxgbi_sock *csk) init_act_open() 1081 static int ddp_set_map(struct cxgbi_sock *csk, struct cxgbi_pagepod_hdr *hdr, ddp_set_map() 1138 static int ddp_setup_conn_pgidx(struct cxgbi_sock *csk, ddp_setup_conn_pgidx() 1175 static int ddp_setup_conn_digest(struct cxgbi_sock *csk, unsigned int tid, ddp_setup_conn_digest()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 79 static inline int send_tx_flowc_wr(struct cxgbi_sock *); 162 static int push_tx_frames(struct cxgbi_sock *, int); 181 static void send_act_open_req(struct cxgbi_sock *csk, struct sk_buff *skb, send_act_open_req() 264 static void send_act_open_req6(struct cxgbi_sock *csk, struct sk_buff *skb, send_act_open_req6() 351 static void send_close_req(struct cxgbi_sock *csk) send_close_req() 373 struct cxgbi_sock *csk = (struct cxgbi_sock *)handle; abort_arp_failure() 384 static void send_abort_req(struct cxgbi_sock *csk) send_abort_req() 419 static void send_abort_rpl(struct cxgbi_sock *csk, int rst_status) send_abort_rpl() 441 static u32 send_rx_credits(struct cxgbi_sock *csk, u32 credits) send_rx_credits() 521 static inline int send_tx_flowc_wr(struct cxgbi_sock *csk) send_tx_flowc_wr() 568 static inline void make_tx_data_wr(struct cxgbi_sock *csk, struct sk_buff *skb, make_tx_data_wr() 609 static int push_tx_frames(struct cxgbi_sock *csk, int req_completion) push_tx_frames() 691 static inline void free_atid(struct cxgbi_sock *csk) free_atid() 704 struct cxgbi_sock *csk; do_act_establish() 802 struct cxgbi_sock *csk = (struct cxgbi_sock *)data; csk_act_open_retry_timer() 804 void (*send_act_open_func)(struct cxgbi_sock *, struct sk_buff *, csk_act_open_retry_timer() 856 struct cxgbi_sock *csk; do_act_open_rpl() 904 struct cxgbi_sock *csk; do_peer_close() 925 struct cxgbi_sock *csk; do_close_con_rpl() 944 static int abort_status_to_errno(struct cxgbi_sock *csk, int abort_reason, abort_status_to_errno() 964 struct cxgbi_sock *csk; do_abort_req_rss() 1012 struct cxgbi_sock *csk; do_abort_rpl_rss() 1037 struct cxgbi_sock *csk; do_rx_data() 1058 struct cxgbi_sock *csk; do_rx_iscsi_hdr() 1163 struct cxgbi_sock *csk; do_rx_data_ddp() 1249 struct cxgbi_sock *csk; do_fw4_ack() 1274 struct cxgbi_sock *csk; do_set_tcb_rpl() 1291 static int alloc_cpls(struct cxgbi_sock *csk) alloc_cpls() 1314 static inline void l2t_put(struct cxgbi_sock *csk) l2t_put() 1323 static void release_offload_resources(struct cxgbi_sock *csk) release_offload_resources() 1359 static int init_act_open(struct cxgbi_sock *csk) init_act_open() 1590 static int ddp_set_map(struct cxgbi_sock *csk, struct cxgbi_pagepod_hdr *hdr, ddp_set_map() 1626 static int ddp_setup_conn_pgidx(struct cxgbi_sock *csk, unsigned int tid, ddp_setup_conn_pgidx() 1656 static int ddp_setup_conn_digest(struct cxgbi_sock *csk, unsigned int tid, ddp_setup_conn_digest()
|