Home
last modified time | relevance | path

Searched defs:csk (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c27 __cxgbit_alloc_skb(struct cxgbit_sock *csk, u32 len, bool iso) in __cxgbit_alloc_skb()
67 static struct sk_buff *cxgbit_alloc_skb(struct cxgbit_sock *csk, u32 len) in cxgbit_alloc_skb()
159 cxgbit_tx_data_wr(struct cxgbit_sock *csk, struct sk_buff *skb, u32 dlen, in cxgbit_tx_data_wr()
201 void cxgbit_push_tx_frames(struct cxgbit_sock *csk) in cxgbit_push_tx_frames()
286 static void cxgbit_unlock_sock(struct cxgbit_sock *csk) in cxgbit_unlock_sock()
311 static int cxgbit_queue_skb(struct cxgbit_sock *csk, struct sk_buff *skb) in cxgbit_queue_skb()
393 cxgbit_tx_datain_iso(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain_iso()
484 cxgbit_tx_datain(struct cxgbit_sock *csk, struct iscsi_cmd *cmd, in cxgbit_tx_datain()
517 struct cxgbit_sock *csk = conn->context; in cxgbit_xmit_datain_pdu() local
536 struct cxgbit_sock *csk = conn->context; in cxgbit_xmit_nondatain_pdu() local
[all …]
Dcxgbit_cm.c469 struct cxgbit_sock *csk) in cxgbit_set_conn_info()
479 struct cxgbit_sock *csk; in cxgbit_accept_np() local
603 struct cxgbit_sock *csk, *tmp; in cxgbit_free_np() local
622 static void cxgbit_send_halfclose(struct cxgbit_sock *csk) in cxgbit_send_halfclose()
641 struct cxgbit_sock *csk = handle; in cxgbit_arp_failure_discard() local
658 static int cxgbit_send_abort_req(struct cxgbit_sock *csk) in cxgbit_send_abort_req()
679 __cxgbit_abort_conn(struct cxgbit_sock *csk, struct sk_buff *skb) in __cxgbit_abort_conn()
698 void cxgbit_abort_conn(struct cxgbit_sock *csk) in cxgbit_abort_conn()
718 static void __cxgbit_free_conn(struct cxgbit_sock *csk) in __cxgbit_free_conn()
759 static void cxgbit_set_emss(struct cxgbit_sock *csk, u16 opt) in cxgbit_set_emss()
[all …]
Dcxgbit_main.c91 struct cxgbit_sock *csk; in cxgbit_close_conn() local
166 cxgbit_process_ddpvld(struct cxgbit_sock *csk, struct cxgbit_lro_pdu_cb *pdu_cb, in cxgbit_process_ddpvld()
309 cxgbit_lro_init_skb(struct cxgbit_sock *csk, u8 op, const struct pkt_gl *gl, in cxgbit_lro_init_skb()
333 static void cxgbit_queue_lro_skb(struct cxgbit_sock *csk, struct sk_buff *skb) in cxgbit_queue_lro_skb()
350 struct cxgbit_sock *csk = lro_cb->csk; in cxgbit_lro_flush() local
372 cxgbit_lro_receive(struct cxgbit_sock *csk, u8 op, const __be64 *rsp, in cxgbit_lro_receive()
434 struct cxgbit_sock *csk = NULL; in cxgbit_uld_lro_rx_handler() local
534 struct cxgbit_sock *csk; in cxgbit_update_dcb_priority() local
Dcxgbit_ddp.c98 cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ppod_write_idata()
127 cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ddp_set_map()
171 cxgbit_ddp_reserve(struct cxgbit_sock *csk, struct cxgbi_task_tag_info *ttinfo, in cxgbit_ddp_reserve()
233 struct cxgbit_sock *csk = conn->context; in cxgbit_get_r2t_ttt() local
271 struct cxgbit_sock *csk = conn->context; in cxgbit_unmap_cmd() local
Dcxgbit.h258 static inline void cxgbit_get_csk(struct cxgbit_sock *csk) in cxgbit_get_csk()
263 static inline void cxgbit_put_csk(struct cxgbit_sock *csk) in cxgbit_put_csk()
278 static inline void cxgbit_sock_reset_wr_list(struct cxgbit_sock *csk) 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()
290 cxgbit_sock_enqueue_wr(struct cxgbit_sock *csk, struct sk_buff *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()
Dcxgbit_lro.h22 struct cxgbit_sock *csk; member
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c158 static void send_act_open_req(struct cxgbi_sock *csk, struct sk_buff *skb, in send_act_open_req()
200 static void send_close_req(struct cxgbi_sock *csk) in send_close_req()
239 static void send_abort_req(struct cxgbi_sock *csk) in send_abort_req()
275 static void send_abort_rpl(struct cxgbi_sock *csk, int rst_status) in send_abort_rpl()
298 static u32 send_rx_credits(struct cxgbi_sock *csk, u32 credits) in send_rx_credits()
351 static inline void make_tx_data_wr(struct cxgbi_sock *csk, struct sk_buff *skb, in make_tx_data_wr()
393 static int push_tx_frames(struct cxgbi_sock *csk, int req_completion) in push_tx_frames()
465 static inline void free_atid(struct cxgbi_sock *csk) in free_atid()
476 struct cxgbi_sock *csk = ctx; in do_act_establish() local
549 struct cxgbi_sock *csk = from_timer(csk, t, retry_timer); in act_open_retry_timer() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c207 static void send_act_open_req(struct cxgbi_sock *csk, struct sk_buff *skb, in send_act_open_req()
326 static void send_act_open_req6(struct cxgbi_sock *csk, struct sk_buff *skb, in send_act_open_req6()
440 static void send_close_req(struct cxgbi_sock *csk) in send_close_req()
462 struct cxgbi_sock *csk = (struct cxgbi_sock *)handle; in abort_arp_failure() local
473 static void send_abort_req(struct cxgbi_sock *csk) in send_abort_req()
508 static void send_abort_rpl(struct cxgbi_sock *csk, int rst_status) in send_abort_rpl()
530 static u32 send_rx_credits(struct cxgbi_sock *csk, u32 credits) in send_rx_credits()
613 static inline int send_tx_flowc_wr(struct cxgbi_sock *csk) in send_tx_flowc_wr()
713 cxgb4i_make_tx_data_wr(struct cxgbi_sock *csk, struct sk_buff *skb, int dlen, in cxgb4i_make_tx_data_wr()
766 static int push_tx_frames(struct cxgbi_sock *csk, int req_completion) in push_tx_frames()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c25 static bool is_tls_tx(struct chtls_sock *csk) in is_tls_tx()
30 static bool is_tls_rx(struct chtls_sock *csk) in is_tls_rx()
45 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in nos_ivs() local
93 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in create_flowc_wr_skb() local
109 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in send_flowc_wr() local
168 struct chtls_sock *csk; in send_tx_flowc_wr() local
222 struct chtls_sock *csk; in tls_copy_ivs() local
279 struct chtls_sock *csk; in tls_copy_tx_key() local
349 struct chtls_sock *csk; in tls_tx_data_wr() local
446 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in chtls_expansion_size() local
[all …]
Dchtls_cm.c60 struct chtls_sock *csk = kzalloc(sizeof(*csk), GFP_ATOMIC); in chtls_sock_create() local
87 struct chtls_sock *csk = in chtls_sock_release() local
144 struct chtls_sock *csk; in assign_rxopt() local
181 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in chtls_purge_write_queue() local
192 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in chtls_purge_recv_queue() local
226 struct chtls_sock *csk; in chtls_send_abort() local
247 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in chtls_send_reset() local
299 struct chtls_sock *csk; in chtls_close_conn() local
341 struct chtls_sock *csk; in chtls_close() local
481 struct chtls_sock *csk; in chtls_destroy_sock() local
[all …]
Dchtls_hw.c23 static void __set_tcb_field_direct(struct chtls_sock *csk, in __set_tcb_field_direct()
45 struct chtls_sock *csk; in __set_tcb_field() local
65 struct chtls_sock *csk; in chtls_set_tcb_field() local
136 struct chtls_sock *csk; in chtls_set_quiesce_ctrl() local
178 static int get_new_keyid(struct chtls_sock *csk, u32 optname) in get_new_keyid()
207 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in free_tls_keyid() local
250 static int chtls_key_info(struct chtls_sock *csk, in chtls_key_info()
336 static void chtls_set_scmd(struct chtls_sock *csk) in chtls_set_scmd()
357 int chtls_setkey(struct chtls_sock *csk, u32 keylen, in chtls_setkey()
Dchtls_cm.h186 static inline void chtls_reset_wr_list(struct chtls_sock *csk) in chtls_reset_wr_list()
192 static inline void enqueue_wr(struct chtls_sock *csk, struct sk_buff *skb) in enqueue_wr()
207 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in dequeue_wr() local
Dchtls.h462 static inline void csk_set_flag(struct chtls_sock *csk, in csk_set_flag()
468 static inline void csk_reset_flag(struct chtls_sock *csk, in csk_reset_flag()
474 static inline bool csk_conn_inline(const struct chtls_sock *csk) in csk_conn_inline()
481 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in csk_flag() local
488 static inline int csk_flag_nochk(const struct chtls_sock *csk, in csk_flag_nochk()
526 struct chtls_sock *csk = container_of(ref, struct chtls_sock, in chtls_sock_free() local
531 static inline void __chtls_sock_put(const char *fn, struct chtls_sock *csk) in __chtls_sock_put()
537 struct chtls_sock *csk) in __chtls_sock_get()
545 struct chtls_sock *csk = rcu_dereference_sk_user_data(sk); in send_or_defer() local
Dchtls_main.c494 struct chtls_sock *csk; in do_chtls_setsockopt() local
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.c98 struct cxgbi_sock *csk; in cxgbi_device_portmap_cleanup() local
424 struct cxgbi_sock *csk = pmap->port_csk[i]; in find_sock_on_port() local
439 static int sock_get_port(struct cxgbi_sock *csk) in sock_get_port()
500 static void sock_put_port(struct cxgbi_sock *csk) in sock_put_port()
540 void cxgbi_sock_free_cpl_skbs(struct cxgbi_sock *csk) in cxgbi_sock_free_cpl_skbs()
559 struct cxgbi_sock *csk = kzalloc(sizeof(*csk), GFP_NOIO); in cxgbi_sock_create() local
613 struct cxgbi_sock *csk = NULL; in cxgbi_check_route() local
729 struct cxgbi_sock *csk = NULL; in cxgbi_check_route6() local
830 void cxgbi_sock_established(struct cxgbi_sock *csk, unsigned int snd_isn, in cxgbi_sock_established()
840 static void cxgbi_inform_iscsi_conn_closing(struct cxgbi_sock *csk) in cxgbi_inform_iscsi_conn_closing()
[all …]
Dlibcxgbi.h84 #define cxgbi_is_iso_config(csk) ((csk)->cdev->skb_iso_txhdr) argument
85 #define cxgbi_is_iso_disabled(csk) ((csk)->disable_iso) argument
274 static inline void cxgbi_sock_set_flag(struct cxgbi_sock *csk, in cxgbi_sock_set_flag()
283 static inline void cxgbi_sock_clear_flag(struct cxgbi_sock *csk, in cxgbi_sock_clear_flag()
292 static inline int cxgbi_sock_flag(struct cxgbi_sock *csk, in cxgbi_sock_flag()
300 static inline void cxgbi_sock_set_state(struct cxgbi_sock *csk, int state) in cxgbi_sock_set_state()
310 struct cxgbi_sock *csk = container_of(kref, in cxgbi_sock_free() local
321 static inline void __cxgbi_sock_put(const char *fn, struct cxgbi_sock *csk) in __cxgbi_sock_put()
328 #define cxgbi_sock_put(csk) __cxgbi_sock_put(__func__, csk) argument
330 static inline void __cxgbi_sock_get(const char *fn, struct cxgbi_sock *csk) in __cxgbi_sock_get()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic.c152 static inline void csk_hold(struct cnic_sock *csk) in csk_hold()
157 static inline void csk_put(struct cnic_sock *csk) in csk_put()
285 static int cnic_in_use(struct cnic_sock *csk) in cnic_in_use()
319 struct cnic_sock *csk) in cnic_send_nlmsg()
381 struct cnic_sock *csk; in cnic_iscsi_nl_msg_recv() local
430 static int cnic_offld_prep(struct cnic_sock *csk) in cnic_offld_prep()
443 static int cnic_close_prep(struct cnic_sock *csk) in cnic_close_prep()
457 static int cnic_abort_prep(struct cnic_sock *csk) in cnic_abort_prep()
2130 struct cnic_sock *csk = &cp->csk_tbl[l5_cid]; in cnic_bnx2x_connect() local
3375 static int cnic_cm_offload_pg(struct cnic_sock *csk) in cnic_cm_offload_pg()
[all …]
/kernel/linux/linux-5.10/net/kcm/
Dkcmsock.c47 static void report_csk_error(struct sock *csk, int err) in report_csk_error()
56 struct sock *csk = psock->sk; in kcm_abort_tx_psock() local
1336 struct sock *csk; in kcm_attach() local
1466 struct sock *csk = psock->sk; in kcm_unattach() local
1566 struct sock *csk; in kcm_unattach_ioctl() local
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dsocket.c469 struct sock *csk; in data_sock_bind() local
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1582 struct cnic_sock *csk; in bnx2i_host_get_param() local
/kernel/linux/linux-5.10/include/net/
Dsock.h1683 static inline bool sock_allow_reclassification(const struct sock *csk) in sock_allow_reclassification()