Lines Matching refs:server

45 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)  in cifs_dump_detail()  argument
54 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail()
58 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument
64 if (server == NULL) in cifs_dump_mids()
69 list_for_each(tmp, &server->pending_mid_q) { in cifs_dump_mids()
87 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
121 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
122 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
152 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() local
206 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show()
210 if (!server->rdma) in cifs_debug_data_proc_show()
215 server->smbd_conn->protocol, in cifs_debug_data_proc_show()
216 server->smbd_conn->transport_status); in cifs_debug_data_proc_show()
219 server->smbd_conn->receive_credit_max, in cifs_debug_data_proc_show()
220 server->smbd_conn->send_credit_target, in cifs_debug_data_proc_show()
221 server->smbd_conn->max_send_size); in cifs_debug_data_proc_show()
224 server->smbd_conn->max_fragmented_recv_size, in cifs_debug_data_proc_show()
225 server->smbd_conn->max_fragmented_send_size, in cifs_debug_data_proc_show()
226 server->smbd_conn->max_receive_size); in cifs_debug_data_proc_show()
229 server->smbd_conn->keep_alive_interval, in cifs_debug_data_proc_show()
230 server->smbd_conn->max_readwrite_size, in cifs_debug_data_proc_show()
231 server->smbd_conn->rdma_readwrite_threshold); in cifs_debug_data_proc_show()
234 server->smbd_conn->count_get_receive_buffer, in cifs_debug_data_proc_show()
235 server->smbd_conn->count_put_receive_buffer, in cifs_debug_data_proc_show()
236 server->smbd_conn->count_send_empty); in cifs_debug_data_proc_show()
243 server->smbd_conn->count_reassembly_queue, in cifs_debug_data_proc_show()
244 server->smbd_conn->count_enqueue_reassembly_queue, in cifs_debug_data_proc_show()
245 server->smbd_conn->count_dequeue_reassembly_queue, in cifs_debug_data_proc_show()
246 server->smbd_conn->fragment_reassembly_remaining, in cifs_debug_data_proc_show()
247 server->smbd_conn->reassembly_data_length, in cifs_debug_data_proc_show()
248 server->smbd_conn->reassembly_queue_length); in cifs_debug_data_proc_show()
251 atomic_read(&server->smbd_conn->send_credits), in cifs_debug_data_proc_show()
252 atomic_read(&server->smbd_conn->receive_credits), in cifs_debug_data_proc_show()
253 server->smbd_conn->receive_credit_target); in cifs_debug_data_proc_show()
256 atomic_read(&server->smbd_conn->send_pending), in cifs_debug_data_proc_show()
257 atomic_read(&server->smbd_conn->send_payload_pending), in cifs_debug_data_proc_show()
258 server->smbd_conn->smbd_send_pending, in cifs_debug_data_proc_show()
259 server->smbd_conn->smbd_recv_pending); in cifs_debug_data_proc_show()
262 server->smbd_conn->count_receive_queue, in cifs_debug_data_proc_show()
263 server->smbd_conn->count_empty_packet_queue); in cifs_debug_data_proc_show()
266 server->smbd_conn->responder_resources, in cifs_debug_data_proc_show()
267 server->smbd_conn->max_frmr_depth, in cifs_debug_data_proc_show()
268 server->smbd_conn->mr_type); in cifs_debug_data_proc_show()
270 atomic_read(&server->smbd_conn->mr_ready_count), in cifs_debug_data_proc_show()
271 atomic_read(&server->smbd_conn->mr_used_count)); in cifs_debug_data_proc_show()
275 server->credits, server->dialect); in cifs_debug_data_proc_show()
276 if (server->sign) in cifs_debug_data_proc_show()
278 if (server->posix_ext_supported) in cifs_debug_data_proc_show()
282 list_for_each(tmp2, &server->smb_ses_list) { in cifs_debug_data_proc_show()
304 if (server->rdma) in cifs_debug_data_proc_show()
308 server->tcpStatus, server->srv_count, in cifs_debug_data_proc_show()
309 server->sec_mode, in_flight(server)); in cifs_debug_data_proc_show()
313 atomic_read(&server->in_send), in cifs_debug_data_proc_show()
314 atomic_read(&server->num_waiters)); in cifs_debug_data_proc_show()
337 list_for_each(tmp3, &server->pending_mid_q) { in cifs_debug_data_proc_show()
374 struct TCP_Server_Info *server; in cifs_stats_proc_write() local
392 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
396 atomic_set(&server->smb2slowcmd[i], 0); in cifs_stats_proc_write()
398 list_for_each(tmp2, &server->smb_ses_list) { in cifs_stats_proc_write()
410 if (server->ops->clear_stats) in cifs_stats_proc_write()
411 server->ops->clear_stats(tcon); in cifs_stats_proc_write()
430 struct TCP_Server_Info *server; in cifs_stats_proc_show() local
461 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_show()
465 if (atomic_read(&server->smb2slowcmd[j])) in cifs_stats_proc_show()
467 atomic_read(&server->smb2slowcmd[j]), in cifs_stats_proc_show()
468 server->hostname, j); in cifs_stats_proc_show()
470 list_for_each(tmp2, &server->smb_ses_list) { in cifs_stats_proc_show()
483 if (server->ops->print_stats) in cifs_stats_proc_show()
484 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()