Home
last modified time | relevance | path

Searched refs:conn_impl (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dconnection.c37 static void hs_fill_crypto_data(struct connection *conn_impl, __u8 ops, in hs_fill_crypto_data() argument
55 static int hs_parse_crypto_data(struct connection *conn_impl, __u8 ops, in hs_parse_crypto_data() argument
67 conn_impl->crypto = crypto; in hs_parse_crypto_data()
72 static void hs_fill_case_sense_data(struct connection *conn_impl, __u8 ops, in hs_fill_case_sense_data() argument
81 body->case_sensitive = conn_impl->node->sbi->s_case_sensitive; in hs_fill_case_sense_data()
84 static int hs_parse_case_sense_data(struct connection *conn_impl, __u8 ops, in hs_parse_case_sense_data() argument
88 __u8 sensitive = conn_impl->node->sbi->s_case_sensitive ? 1 : 0; in hs_parse_case_sense_data()
102 static void hs_fill_feature_data(struct connection *conn_impl, __u8 ops, in hs_fill_feature_data() argument
111 body->features = cpu_to_le64(conn_impl->node->sbi->s_features); in hs_fill_feature_data()
115 static int hs_parse_feature_data(struct connection *conn_impl, __u argument
173 hs_fill_extend_data(struct connection *conn_impl, __u8 ops, void *extend_data, __u32 len) hs_fill_extend_data() argument
215 hs_parse_extend_data(struct connection *conn_impl, __u8 ops, void *extend_data, __u32 extend_len) hs_parse_extend_data() argument
270 hs_proc_msg_data(struct connection *conn_impl, __u8 ops, void *data, __u32 data_len) hs_proc_msg_data() argument
310 connection_handshake_init_tls(struct connection *conn_impl, __u8 ops) connection_handshake_init_tls() argument
346 do_send_handshake(struct connection *conn_impl, __u8 ops, __le16 request_id) do_send_handshake() argument
555 connection_send_handshake(struct connection *conn_impl, __u8 ops, __le16 request_id) connection_send_handshake() argument
595 struct connection *conn_impl = NULL; connection_to_working() local
613 connection_handshake_recv_handler(struct connection *conn_impl, void *buf, void *data, __u32 data_len) connection_handshake_recv_handler() argument
732 connection_working_recv_handler(struct connection *conn_impl, void *buf, void *data, __u32 data_len) connection_working_recv_handler() argument
854 struct connection *conn_impl = NULL; hmdfs_disconnect_node() local
950 struct connection *conn_impl = NULL; get_conn_impl() local
971 struct connection *conn_impl = NULL; set_conn_sock_quickack() local
[all...]
H A Dcrypto.c19 static void tls_crypto_set_key(struct connection *conn_impl, int tx) in tls_crypto_set_key() argument
22 struct tcp_handle *tcp = conn_impl->connect_handle; in tls_crypto_set_key()
33 crypto_info = &conn_impl->send_crypto_info; in tls_crypto_set_key()
38 crypto_info = &conn_impl->recv_crypto_info; in tls_crypto_set_key()
56 int tls_crypto_info_init(struct connection *conn_impl) in tls_crypto_info_init() argument
61 (struct tcp_handle *)(conn_impl->connect_handle); in tls_crypto_info_init()
65 update_key(conn_impl->send_key, key_meterial, HKDF_TYPE_IV); in tls_crypto_info_init()
178 int set_crypto_info(struct connection *conn_impl, int set_type) in set_crypto_info() argument
182 (struct tcp_handle *)(conn_impl->connect_handle); in set_crypto_info()
H A Dcrypto.h32 int tls_crypto_info_init(struct connection *conn_impl);
33 int set_crypto_info(struct connection *conn_impl, int set_type);
H A Dconnection.h248 void (*filler)(struct connection *conn_impl, __u8 ops,
250 int (*parser)(struct connection *conn_impl, __u8 ops,
307 void connection_send_handshake(struct connection *conn_impl, __u8 operations,
309 void connection_handshake_recv_handler(struct connection *conn_impl, void *buf,
311 void connection_working_recv_handler(struct connection *conn_impl, void *head,
H A Ddevice_node.c200 struct connection *conn_impl = NULL; in sbi_status_show() local
215 list_for_each_entry(conn_impl, &peer->conn_impl_list, list) { in sbi_status_show()
216 tcp = conn_impl->connect_handle; in sbi_status_show()
219 tcp->fd, conn_impl->status, in sbi_status_show()
244 struct connection *conn_impl = NULL; in sbi_stat_show() local
252 list_for_each_entry(conn_impl, &peer->conn_impl_list, list) { in sbi_stat_show()
253 tcp = conn_impl->connect_handle; in sbi_stat_show()
258 conn_impl->stat.send_message_count, in sbi_stat_show()
259 conn_impl->stat.send_bytes); in sbi_stat_show()
262 conn_impl in sbi_stat_show()
276 struct connection *conn_impl = NULL; sbi_stat_store() local
[all...]
H A Dtransport.c82 struct connection *conn_impl = NULL; in hmdfs_tcpi_rtt() local
85 conn_impl = get_conn_impl(con, CONNECT_TYPE_TCP); in hmdfs_tcpi_rtt()
86 if (!conn_impl) in hmdfs_tcpi_rtt()
88 tcp = (struct tcp_handle *)(conn_impl->connect_handle); in hmdfs_tcpi_rtt()
91 connection_put(conn_impl); in hmdfs_tcpi_rtt()
1062 struct connection *conn_impl = NULL; in hmdfs_reget_connection() local
1073 list_for_each_entry_safe(conn_impl, next, &conn->node->conn_impl_list, in hmdfs_reget_connection()
1075 if (conn_impl == conn) { in hmdfs_reget_connection()
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dconnection.c37 static void hs_fill_crypto_data(struct connection *conn_impl, __u8 ops, in hs_fill_crypto_data() argument
55 static int hs_parse_crypto_data(struct connection *conn_impl, __u8 ops, in hs_parse_crypto_data() argument
67 conn_impl->crypto = crypto; in hs_parse_crypto_data()
72 static void hs_fill_case_sense_data(struct connection *conn_impl, __u8 ops, in hs_fill_case_sense_data() argument
81 body->case_sensitive = conn_impl->node->sbi->s_case_sensitive; in hs_fill_case_sense_data()
84 static int hs_parse_case_sense_data(struct connection *conn_impl, __u8 ops, in hs_parse_case_sense_data() argument
88 __u8 sensitive = conn_impl->node->sbi->s_case_sensitive ? 1 : 0; in hs_parse_case_sense_data()
102 static void hs_fill_feature_data(struct connection *conn_impl, __u8 ops, in hs_fill_feature_data() argument
111 body->features = cpu_to_le64(conn_impl->node->sbi->s_features); in hs_fill_feature_data()
115 static int hs_parse_feature_data(struct connection *conn_impl, __u argument
173 hs_fill_extend_data(struct connection *conn_impl, __u8 ops, void *extend_data, __u32 len) hs_fill_extend_data() argument
215 hs_parse_extend_data(struct connection *conn_impl, __u8 ops, void *extend_data, __u32 extend_len) hs_parse_extend_data() argument
270 hs_proc_msg_data(struct connection *conn_impl, __u8 ops, void *data, __u32 data_len) hs_proc_msg_data() argument
310 connection_handshake_init_tls(struct connection *conn_impl, __u8 ops) connection_handshake_init_tls() argument
346 do_send_handshake(struct connection *conn_impl, __u8 ops, __le16 request_id) do_send_handshake() argument
555 connection_send_handshake(struct connection *conn_impl, __u8 ops, __le16 request_id) connection_send_handshake() argument
595 struct connection *conn_impl = NULL; connection_to_working() local
613 connection_handshake_recv_handler(struct connection *conn_impl, void *buf, void *data, __u32 data_len) connection_handshake_recv_handler() argument
732 connection_working_recv_handler(struct connection *conn_impl, void *buf, void *data, __u32 data_len) connection_working_recv_handler() argument
854 struct connection *conn_impl = NULL; hmdfs_disconnect_node() local
950 struct connection *conn_impl = NULL; get_conn_impl() local
971 struct connection *conn_impl = NULL; set_conn_sock_quickack() local
[all...]
H A Dcrypto.c19 static void tls_crypto_set_key(struct connection *conn_impl, int tx) in tls_crypto_set_key() argument
22 struct tcp_handle *tcp = conn_impl->connect_handle; in tls_crypto_set_key()
33 crypto_info = &conn_impl->send_crypto_info; in tls_crypto_set_key()
38 crypto_info = &conn_impl->recv_crypto_info; in tls_crypto_set_key()
56 int tls_crypto_info_init(struct connection *conn_impl) in tls_crypto_info_init() argument
61 (struct tcp_handle *)(conn_impl->connect_handle); in tls_crypto_info_init()
65 update_key(conn_impl->send_key, key_meterial, HKDF_TYPE_IV); in tls_crypto_info_init()
178 int set_crypto_info(struct connection *conn_impl, int set_type) in set_crypto_info() argument
182 (struct tcp_handle *)(conn_impl->connect_handle); in set_crypto_info()
H A Dcrypto.h32 int tls_crypto_info_init(struct connection *conn_impl);
33 int set_crypto_info(struct connection *conn_impl, int set_type);
H A Dconnection.h248 void (*filler)(struct connection *conn_impl, __u8 ops,
250 int (*parser)(struct connection *conn_impl, __u8 ops,
307 void connection_send_handshake(struct connection *conn_impl, __u8 operations,
309 void connection_handshake_recv_handler(struct connection *conn_impl, void *buf,
311 void connection_working_recv_handler(struct connection *conn_impl, void *head,
H A Ddevice_node.c200 struct connection *conn_impl = NULL; in sbi_status_show() local
215 list_for_each_entry(conn_impl, &peer->conn_impl_list, list) { in sbi_status_show()
216 tcp = conn_impl->connect_handle; in sbi_status_show()
219 tcp->fd, conn_impl->status, in sbi_status_show()
244 struct connection *conn_impl = NULL; in sbi_stat_show() local
252 list_for_each_entry(conn_impl, &peer->conn_impl_list, list) { in sbi_stat_show()
253 tcp = conn_impl->connect_handle; in sbi_stat_show()
258 conn_impl->stat.send_message_count, in sbi_stat_show()
259 conn_impl->stat.send_bytes); in sbi_stat_show()
262 conn_impl in sbi_stat_show()
276 struct connection *conn_impl = NULL; sbi_stat_store() local
[all...]
H A Dtransport.c82 struct connection *conn_impl = NULL; in hmdfs_tcpi_rtt() local
85 conn_impl = get_conn_impl(con, CONNECT_TYPE_TCP); in hmdfs_tcpi_rtt()
86 if (!conn_impl) in hmdfs_tcpi_rtt()
88 tcp = (struct tcp_handle *)(conn_impl->connect_handle); in hmdfs_tcpi_rtt()
91 connection_put(conn_impl); in hmdfs_tcpi_rtt()
1062 struct connection *conn_impl = NULL; in hmdfs_reget_connection() local
1073 list_for_each_entry_safe(conn_impl, next, &conn->node->conn_impl_list, in hmdfs_reget_connection()
1075 if (conn_impl == conn) { in hmdfs_reget_connection()

Completed in 11 milliseconds