• Home
  • Raw
  • Download

Lines Matching refs:server

35 void cifs_dump_detail(void *buf, struct TCP_Server_Info *server)  in cifs_dump_detail()  argument
44 server->ops->calc_smb_size(smb, server)); in cifs_dump_detail()
48 void cifs_dump_mids(struct TCP_Server_Info *server) in cifs_dump_mids() argument
54 if (server == NULL) in cifs_dump_mids()
59 list_for_each(tmp, &server->pending_mid_q) { in cifs_dump_mids()
77 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
116 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
117 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
127 struct TCP_Server_Info *server = chan->server; in cifs_dump_channel() local
134 server->credits, in cifs_dump_channel()
135 server->dialect, in cifs_dump_channel()
136 server->tcpStatus, in cifs_dump_channel()
137 server->reconnect_instance, in cifs_dump_channel()
138 server->srv_count, in cifs_dump_channel()
139 server->sec_mode, in cifs_dump_channel()
140 in_flight(server), in cifs_dump_channel()
141 atomic_read(&server->in_send), in cifs_dump_channel()
142 atomic_read(&server->num_waiters)); in cifs_dump_channel()
167 struct TCP_Server_Info *server; in cifs_debug_files_proc_show() local
182 server = list_entry(stmp, struct TCP_Server_Info, in cifs_debug_files_proc_show()
184 list_for_each(tmp, &server->smb_ses_list) { in cifs_debug_files_proc_show()
220 struct TCP_Server_Info *server; in cifs_debug_data_proc_show() local
273 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_debug_data_proc_show()
277 if (!server->rdma) in cifs_debug_data_proc_show()
280 if (!server->smbd_conn) { in cifs_debug_data_proc_show()
287 server->smbd_conn->protocol, in cifs_debug_data_proc_show()
288 server->smbd_conn->transport_status); in cifs_debug_data_proc_show()
291 server->smbd_conn->receive_credit_max, in cifs_debug_data_proc_show()
292 server->smbd_conn->send_credit_target, in cifs_debug_data_proc_show()
293 server->smbd_conn->max_send_size); in cifs_debug_data_proc_show()
296 server->smbd_conn->max_fragmented_recv_size, in cifs_debug_data_proc_show()
297 server->smbd_conn->max_fragmented_send_size, in cifs_debug_data_proc_show()
298 server->smbd_conn->max_receive_size); in cifs_debug_data_proc_show()
301 server->smbd_conn->keep_alive_interval, in cifs_debug_data_proc_show()
302 server->smbd_conn->max_readwrite_size, in cifs_debug_data_proc_show()
303 server->smbd_conn->rdma_readwrite_threshold); in cifs_debug_data_proc_show()
306 server->smbd_conn->count_get_receive_buffer, in cifs_debug_data_proc_show()
307 server->smbd_conn->count_put_receive_buffer, in cifs_debug_data_proc_show()
308 server->smbd_conn->count_send_empty); in cifs_debug_data_proc_show()
315 server->smbd_conn->count_reassembly_queue, in cifs_debug_data_proc_show()
316 server->smbd_conn->count_enqueue_reassembly_queue, in cifs_debug_data_proc_show()
317 server->smbd_conn->count_dequeue_reassembly_queue, in cifs_debug_data_proc_show()
318 server->smbd_conn->fragment_reassembly_remaining, in cifs_debug_data_proc_show()
319 server->smbd_conn->reassembly_data_length, in cifs_debug_data_proc_show()
320 server->smbd_conn->reassembly_queue_length); in cifs_debug_data_proc_show()
323 atomic_read(&server->smbd_conn->send_credits), in cifs_debug_data_proc_show()
324 atomic_read(&server->smbd_conn->receive_credits), in cifs_debug_data_proc_show()
325 server->smbd_conn->receive_credit_target); in cifs_debug_data_proc_show()
327 atomic_read(&server->smbd_conn->send_pending)); in cifs_debug_data_proc_show()
330 server->smbd_conn->count_receive_queue, in cifs_debug_data_proc_show()
331 server->smbd_conn->count_empty_packet_queue); in cifs_debug_data_proc_show()
334 server->smbd_conn->responder_resources, in cifs_debug_data_proc_show()
335 server->smbd_conn->max_frmr_depth, in cifs_debug_data_proc_show()
336 server->smbd_conn->mr_type); in cifs_debug_data_proc_show()
338 atomic_read(&server->smbd_conn->mr_ready_count), in cifs_debug_data_proc_show()
339 atomic_read(&server->smbd_conn->mr_used_count)); in cifs_debug_data_proc_show()
343 server->credits, server->dialect); in cifs_debug_data_proc_show()
344 if (server->compress_algorithm == SMB3_COMPRESS_LZNT1) in cifs_debug_data_proc_show()
346 else if (server->compress_algorithm == SMB3_COMPRESS_LZ77) in cifs_debug_data_proc_show()
348 else if (server->compress_algorithm == SMB3_COMPRESS_LZ77_HUFF) in cifs_debug_data_proc_show()
350 if (server->sign) in cifs_debug_data_proc_show()
352 if (server->posix_ext_supported) in cifs_debug_data_proc_show()
356 list_for_each(tmp2, &server->smb_ses_list) { in cifs_debug_data_proc_show()
380 get_security_type_str(server->ops->select_sectype(server, ses->sectype))); in cifs_debug_data_proc_show()
382 if (server->rdma) in cifs_debug_data_proc_show()
386 server->tcpStatus, in cifs_debug_data_proc_show()
387 server->reconnect_instance, in cifs_debug_data_proc_show()
388 server->srv_count, in cifs_debug_data_proc_show()
389 server->sec_mode, in_flight(server)); in cifs_debug_data_proc_show()
392 atomic_read(&server->in_send), in cifs_debug_data_proc_show()
393 atomic_read(&server->num_waiters)); in cifs_debug_data_proc_show()
433 list_for_each(tmp3, &server->pending_mid_q) { in cifs_debug_data_proc_show()
475 struct TCP_Server_Info *server; in cifs_stats_proc_write() local
496 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_write()
498 server->max_in_flight = 0; in cifs_stats_proc_write()
501 atomic_set(&server->num_cmds[i], 0); in cifs_stats_proc_write()
502 atomic_set(&server->smb2slowcmd[i], 0); in cifs_stats_proc_write()
503 server->time_per_cmd[i] = 0; in cifs_stats_proc_write()
504 server->slowest_cmd[i] = 0; in cifs_stats_proc_write()
505 server->fastest_cmd[0] = 0; in cifs_stats_proc_write()
508 list_for_each(tmp2, &server->smb_ses_list) { in cifs_stats_proc_write()
520 if (server->ops->clear_stats) in cifs_stats_proc_write()
521 server->ops->clear_stats(tcon); in cifs_stats_proc_write()
540 struct TCP_Server_Info *server; in cifs_stats_proc_show() local
571 server = list_entry(tmp1, struct TCP_Server_Info, in cifs_stats_proc_show()
573 seq_printf(m, "\nMax requests in flight: %d", server->max_in_flight); in cifs_stats_proc_show()
581 atomic_read(&server->num_cmds[j]), in cifs_stats_proc_show()
582 server->time_per_cmd[j], in cifs_stats_proc_show()
583 server->fastest_cmd[j], in cifs_stats_proc_show()
584 server->slowest_cmd[j]); in cifs_stats_proc_show()
586 if (atomic_read(&server->smb2slowcmd[j])) in cifs_stats_proc_show()
588 atomic_read(&server->smb2slowcmd[j]), in cifs_stats_proc_show()
589 server->hostname, j); in cifs_stats_proc_show()
591 list_for_each(tmp2, &server->smb_ses_list) { in cifs_stats_proc_show()
604 if (server->ops->print_stats) in cifs_stats_proc_show()
605 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()