• Home
  • Raw
  • Download

Lines Matching refs:m

87 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)  in cifs_debug_tcon()  argument
91 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon()
93 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
94 seq_printf(m, "DevInfo: 0x%x Attributes: 0x%x\n\tPathComponentMax: %d Status: %d", in cifs_debug_tcon()
100 seq_puts(m, " type: DISK "); in cifs_debug_tcon()
102 seq_puts(m, " type: CDROM "); in cifs_debug_tcon()
104 seq_printf(m, " type: %d ", dev_type); in cifs_debug_tcon()
106 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number); in cifs_debug_tcon()
111 seq_printf(m, " Encrypted"); in cifs_debug_tcon()
113 seq_printf(m, " nocase"); in cifs_debug_tcon()
115 seq_printf(m, " POSIX Extensions"); in cifs_debug_tcon()
117 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
120 seq_puts(m, "\tDISCONNECTED "); in cifs_debug_tcon()
121 seq_putc(m, '\n'); in cifs_debug_tcon()
125 cifs_dump_iface(struct seq_file *m, struct cifs_server_iface *iface) in cifs_dump_iface() argument
130 seq_printf(m, "\tSpeed: %zu bps\n", iface->speed); in cifs_dump_iface()
131 seq_puts(m, "\t\tCapabilities: "); in cifs_dump_iface()
133 seq_puts(m, "rdma "); in cifs_dump_iface()
135 seq_puts(m, "rss "); in cifs_dump_iface()
136 seq_putc(m, '\n'); in cifs_dump_iface()
138 seq_printf(m, "\t\tIPv4: %pI4\n", &ipv4->sin_addr); in cifs_dump_iface()
140 seq_printf(m, "\t\tIPv6: %pI6\n", &ipv6->sin6_addr); in cifs_dump_iface()
143 static int cifs_debug_files_proc_show(struct seq_file *m, void *v) in cifs_debug_files_proc_show() argument
151 seq_puts(m, "# Version:1\n"); in cifs_debug_files_proc_show()
152 seq_puts(m, "# Format:\n"); in cifs_debug_files_proc_show()
153 seq_puts(m, "# <tree id> <persistent fid> <flags> <count> <pid> <uid>"); in cifs_debug_files_proc_show()
155 seq_printf(m, " <filename> <mid>\n"); in cifs_debug_files_proc_show()
157 seq_printf(m, " <filename>\n"); in cifs_debug_files_proc_show()
171 seq_printf(m, in cifs_debug_files_proc_show()
181 seq_printf(m, " 0x%llx\n", cfile->fid.mid); in cifs_debug_files_proc_show()
183 seq_printf(m, "\n"); in cifs_debug_files_proc_show()
191 seq_putc(m, '\n'); in cifs_debug_files_proc_show()
195 static int cifs_debug_data_proc_show(struct seq_file *m, void *v) in cifs_debug_data_proc_show() argument
204 seq_puts(m, in cifs_debug_data_proc_show()
207 seq_printf(m, "CIFS Version %s\n", CIFS_VERSION); in cifs_debug_data_proc_show()
208 seq_printf(m, "Features:"); in cifs_debug_data_proc_show()
210 seq_printf(m, " DFS"); in cifs_debug_data_proc_show()
213 seq_printf(m, ",FSCACHE"); in cifs_debug_data_proc_show()
216 seq_printf(m, ",SMB_DIRECT"); in cifs_debug_data_proc_show()
219 seq_printf(m, ",STATS2"); in cifs_debug_data_proc_show()
221 seq_printf(m, ",STATS"); in cifs_debug_data_proc_show()
224 seq_printf(m, ",DEBUG2"); in cifs_debug_data_proc_show()
226 seq_printf(m, ",DEBUG"); in cifs_debug_data_proc_show()
229 seq_printf(m, ",ALLOW_INSECURE_LEGACY"); in cifs_debug_data_proc_show()
232 seq_printf(m, ",WEAK_PW_HASH"); in cifs_debug_data_proc_show()
235 seq_printf(m, ",CIFS_POSIX"); in cifs_debug_data_proc_show()
238 seq_printf(m, ",UPCALL(SPNEGO)"); in cifs_debug_data_proc_show()
241 seq_printf(m, ",XATTR"); in cifs_debug_data_proc_show()
243 seq_printf(m, ",ACL"); in cifs_debug_data_proc_show()
244 seq_putc(m, '\n'); in cifs_debug_data_proc_show()
245 seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize); in cifs_debug_data_proc_show()
246 seq_printf(m, "Active VFS Requests: %d\n", GlobalTotalActiveXid); in cifs_debug_data_proc_show()
247 seq_printf(m, "Servers:"); in cifs_debug_data_proc_show()
260 seq_printf(m, "\nSMBDirect transport not available"); in cifs_debug_data_proc_show()
264 seq_printf(m, "\nSMBDirect (in hex) protocol version: %x " in cifs_debug_data_proc_show()
268 seq_printf(m, "\nConn receive_credit_max: %x " in cifs_debug_data_proc_show()
273 seq_printf(m, "\nConn max_fragmented_recv_size: %x " in cifs_debug_data_proc_show()
278 seq_printf(m, "\nConn keep_alive_interval: %x " in cifs_debug_data_proc_show()
283 seq_printf(m, "\nDebug count_get_receive_buffer: %x " in cifs_debug_data_proc_show()
288 seq_printf(m, "\nRead Queue count_reassembly_queue: %x " in cifs_debug_data_proc_show()
300 seq_printf(m, "\nCurrent Credits send_credits: %x " in cifs_debug_data_proc_show()
305 seq_printf(m, "\nPending send_pending: %x " in cifs_debug_data_proc_show()
309 seq_printf(m, "\nReceive buffers count_receive_queue: %x " in cifs_debug_data_proc_show()
313 seq_printf(m, "\nMR responder_resources: %x " in cifs_debug_data_proc_show()
318 seq_printf(m, "\nMR mr_ready_count: %x mr_used_count: %x", in cifs_debug_data_proc_show()
323 seq_printf(m, "\nNumber of credits: %d Dialect 0x%x", in cifs_debug_data_proc_show()
326 seq_printf(m, " COMPRESS_LZNT1"); in cifs_debug_data_proc_show()
328 seq_printf(m, " COMPRESS_LZ77"); in cifs_debug_data_proc_show()
330 seq_printf(m, " COMPRESS_LZ77_HUFF"); in cifs_debug_data_proc_show()
332 seq_printf(m, " signed"); in cifs_debug_data_proc_show()
334 seq_printf(m, " posix"); in cifs_debug_data_proc_show()
343 seq_printf(m, "\n%d) Name: %s Uses: %d Capability: 0x%x\tSession Status: %d ", in cifs_debug_data_proc_show()
347 seq_printf(m, "Guest\t"); in cifs_debug_data_proc_show()
349 seq_printf(m, "Anonymous\t"); in cifs_debug_data_proc_show()
351 seq_printf(m, in cifs_debug_data_proc_show()
360 seq_printf(m, "RDMA\n\t"); in cifs_debug_data_proc_show()
361 seq_printf(m, "TCP status: %d Instance: %d\n\tLocal Users To " in cifs_debug_data_proc_show()
369 seq_printf(m, " In Send: %d In MaxReq Wait: %d", in cifs_debug_data_proc_show()
374 seq_printf(m, " SessionId: 0x%llx", ses->Suid); in cifs_debug_data_proc_show()
376 seq_puts(m, " encrypted"); in cifs_debug_data_proc_show()
378 seq_puts(m, " signed"); in cifs_debug_data_proc_show()
380 seq_puts(m, "\n\tShares:"); in cifs_debug_data_proc_show()
383 seq_printf(m, "\n\t%d) IPC: ", j); in cifs_debug_data_proc_show()
385 cifs_debug_tcon(m, ses->tcon_ipc); in cifs_debug_data_proc_show()
387 seq_puts(m, "none\n"); in cifs_debug_data_proc_show()
393 seq_printf(m, "\n\t%d) ", j); in cifs_debug_data_proc_show()
394 cifs_debug_tcon(m, tcon); in cifs_debug_data_proc_show()
397 seq_puts(m, "\n\tMIDs:\n"); in cifs_debug_data_proc_show()
403 seq_printf(m, "\tState: %d com: %d pid:" in cifs_debug_data_proc_show()
415 seq_printf(m, "\n\tServer interfaces: %zu\n", in cifs_debug_data_proc_show()
418 seq_printf(m, "\t%d)", j); in cifs_debug_data_proc_show()
419 cifs_dump_iface(m, &ses->iface_list[j]); in cifs_debug_data_proc_show()
425 seq_putc(m, '\n'); in cifs_debug_data_proc_show()
495 static int cifs_stats_proc_show(struct seq_file *m, void *v) in cifs_stats_proc_show() argument
506 seq_printf(m, "Resources in use\nCIFS Session: %d\n", in cifs_stats_proc_show()
508 seq_printf(m, "Share (unique mount targets): %d\n", in cifs_stats_proc_show()
510 seq_printf(m, "SMB Request/Response Buffer: %d Pool size: %d\n", in cifs_stats_proc_show()
513 seq_printf(m, "SMB Small Req/Resp Buffer: %d Pool size: %d\n", in cifs_stats_proc_show()
516 seq_printf(m, "Total Large %d Small %d Allocations\n", in cifs_stats_proc_show()
521 seq_printf(m, "Operations (MIDs): %d\n", atomic_read(&midCount)); in cifs_stats_proc_show()
522 seq_printf(m, in cifs_stats_proc_show()
526 seq_printf(m, in cifs_stats_proc_show()
535 seq_printf(m, "\nMax requests in flight: %d", server->max_in_flight); in cifs_stats_proc_show()
537 seq_puts(m, "\nTotal time spent processing by command. Time "); in cifs_stats_proc_show()
538 seq_printf(m, "units are jiffies (%d per second)\n", HZ); in cifs_stats_proc_show()
539 seq_puts(m, " SMB3 CMD\tNumber\tTotal Time\tFastest\tSlowest\n"); in cifs_stats_proc_show()
540 seq_puts(m, " --------\t------\t----------\t-------\t-------\n"); in cifs_stats_proc_show()
542 seq_printf(m, " %d\t\t%d\t%llu\t\t%u\t%u\n", j, in cifs_stats_proc_show()
549 seq_printf(m, " %d slow responses from %s for command %d\n", in cifs_stats_proc_show()
561 seq_printf(m, "\n%d) %s", i, tcon->treeName); in cifs_stats_proc_show()
563 seq_puts(m, "\tDISCONNECTED "); in cifs_stats_proc_show()
564 seq_printf(m, "\nSMBs: %d", in cifs_stats_proc_show()
567 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()
573 seq_putc(m, '\n'); in cifs_stats_proc_show()
601 static int name##_proc_show(struct seq_file *m, void *v) \
603 seq_printf(m, "%d\n", name ); \
714 static int cifsFYI_proc_show(struct seq_file *m, void *v) in cifsFYI_proc_show() argument
716 seq_printf(m, "%d\n", cifsFYI); in cifsFYI_proc_show()
753 static int cifs_linux_ext_proc_show(struct seq_file *m, void *v) in cifs_linux_ext_proc_show() argument
755 seq_printf(m, "%d\n", linuxExtEnabled); in cifs_linux_ext_proc_show()
784 static int cifs_lookup_cache_proc_show(struct seq_file *m, void *v) in cifs_lookup_cache_proc_show() argument
786 seq_printf(m, "%d\n", lookupCacheEnabled); in cifs_lookup_cache_proc_show()
815 static int traceSMB_proc_show(struct seq_file *m, void *v) in traceSMB_proc_show() argument
817 seq_printf(m, "%d\n", traceSMB); in traceSMB_proc_show()
846 static int cifs_security_flags_proc_show(struct seq_file *m, void *v) in cifs_security_flags_proc_show() argument
848 seq_printf(m, "0x%x\n", global_secflags); in cifs_security_flags_proc_show()