• Home
  • Raw
  • Download

Lines Matching refs:s

380 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server)  in cifs_show_address()  argument
385 seq_puts(s, ",addr="); in cifs_show_address()
389 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address()
392 seq_printf(s, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_show_address()
394 seq_printf(s, "%%%u", sa6->sin6_scope_id); in cifs_show_address()
397 seq_puts(s, "(unknown)"); in cifs_show_address()
400 seq_puts(s, ",rdma"); in cifs_show_address()
404 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) in cifs_show_security() argument
408 seq_puts(s, ",sec=none"); in cifs_show_security()
412 seq_puts(s, ",sec="); in cifs_show_security()
416 seq_puts(s, "lanman"); in cifs_show_security()
419 seq_puts(s, "ntlmv2"); in cifs_show_security()
422 seq_puts(s, "ntlm"); in cifs_show_security()
425 seq_puts(s, "krb5"); in cifs_show_security()
428 seq_puts(s, "ntlmssp"); in cifs_show_security()
432 seq_puts(s, "unknown"); in cifs_show_security()
437 seq_puts(s, "i"); in cifs_show_security()
440 seq_printf(s, ",cruid=%u", in cifs_show_security()
445 cifs_show_cache_flavor(struct seq_file *s, struct cifs_sb_info *cifs_sb) in cifs_show_cache_flavor() argument
447 seq_puts(s, ",cache="); in cifs_show_cache_flavor()
450 seq_puts(s, "strict"); in cifs_show_cache_flavor()
452 seq_puts(s, "none"); in cifs_show_cache_flavor()
454 seq_puts(s, "singleclient"); /* assume only one client access */ in cifs_show_cache_flavor()
456 seq_puts(s, "ro"); /* read only caching assumed */ in cifs_show_cache_flavor()
458 seq_puts(s, "loose"); in cifs_show_cache_flavor()
462 cifs_show_nls(struct seq_file *s, struct nls_table *cur) in cifs_show_nls() argument
469 seq_printf(s, ",iocharset=%s", cur->charset); in cifs_show_nls()
479 cifs_show_options(struct seq_file *s, struct dentry *root) in cifs_show_options() argument
486 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
487 cifs_show_security(s, tcon->ses); in cifs_show_options()
488 cifs_show_cache_flavor(s, cifs_sb); in cifs_show_options()
491 seq_puts(s, ",nolease"); in cifs_show_options()
493 seq_puts(s, ",multiuser"); in cifs_show_options()
495 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
498 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
506 seq_printf(s, ",srcaddr=%pI6c", in cifs_show_options()
509 seq_printf(s, ",srcaddr=%pI4", in cifs_show_options()
512 seq_printf(s, ",srcaddr=BAD-AF:%i", in cifs_show_options()
516 seq_printf(s, ",uid=%u", in cifs_show_options()
519 seq_puts(s, ",forceuid"); in cifs_show_options()
521 seq_puts(s, ",noforceuid"); in cifs_show_options()
523 seq_printf(s, ",gid=%u", in cifs_show_options()
526 seq_puts(s, ",forcegid"); in cifs_show_options()
528 seq_puts(s, ",noforcegid"); in cifs_show_options()
530 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
533 seq_printf(s, ",file_mode=0%ho,dir_mode=0%ho", in cifs_show_options()
537 cifs_show_nls(s, cifs_sb->local_nls); in cifs_show_options()
540 seq_puts(s, ",seal"); in cifs_show_options()
542 seq_puts(s, ",signloosely"); in cifs_show_options()
544 seq_puts(s, ",nocase"); in cifs_show_options()
546 seq_puts(s, ",nodelete"); in cifs_show_options()
548 seq_puts(s, ",locallease"); in cifs_show_options()
550 seq_puts(s, ",hard"); in cifs_show_options()
552 seq_puts(s, ",soft"); in cifs_show_options()
554 seq_puts(s, ",persistenthandles"); in cifs_show_options()
556 seq_puts(s, ",resilienthandles"); in cifs_show_options()
558 seq_puts(s, ",posix"); in cifs_show_options()
560 seq_puts(s, ",unix"); in cifs_show_options()
562 seq_puts(s, ",nounix"); in cifs_show_options()
564 seq_puts(s, ",nodfs"); in cifs_show_options()
566 seq_puts(s, ",posixpaths"); in cifs_show_options()
568 seq_puts(s, ",setuids"); in cifs_show_options()
570 seq_puts(s, ",idsfromsid"); in cifs_show_options()
572 seq_puts(s, ",serverino"); in cifs_show_options()
574 seq_puts(s, ",rwpidforward"); in cifs_show_options()
576 seq_puts(s, ",forcemand"); in cifs_show_options()
578 seq_puts(s, ",nouser_xattr"); in cifs_show_options()
580 seq_puts(s, ",mapchars"); in cifs_show_options()
582 seq_puts(s, ",mapposix"); in cifs_show_options()
584 seq_puts(s, ",sfu"); in cifs_show_options()
586 seq_puts(s, ",nobrl"); in cifs_show_options()
588 seq_puts(s, ",nohandlecache"); in cifs_show_options()
590 seq_puts(s, ",modefromsid"); in cifs_show_options()
592 seq_puts(s, ",cifsacl"); in cifs_show_options()
594 seq_puts(s, ",dynperm"); in cifs_show_options()
596 seq_puts(s, ",acl"); in cifs_show_options()
598 seq_puts(s, ",mfsymlinks"); in cifs_show_options()
600 seq_puts(s, ",fsc"); in cifs_show_options()
602 seq_puts(s, ",nostrictsync"); in cifs_show_options()
604 seq_puts(s, ",noperm"); in cifs_show_options()
606 seq_printf(s, ",backupuid=%u", in cifs_show_options()
610 seq_printf(s, ",backupgid=%u", in cifs_show_options()
614 seq_printf(s, ",rsize=%u", cifs_sb->rsize); in cifs_show_options()
615 seq_printf(s, ",wsize=%u", cifs_sb->wsize); in cifs_show_options()
616 seq_printf(s, ",bsize=%u", cifs_sb->bsize); in cifs_show_options()
618 seq_printf(s, ",esize=%u", tcon->ses->server->min_offload); in cifs_show_options()
619 seq_printf(s, ",echo_interval=%lu", in cifs_show_options()
624 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
626 seq_puts(s, ",tcpnodelay"); in cifs_show_options()
628 seq_puts(s, ",noautotune"); in cifs_show_options()
630 seq_puts(s, ",noblocksend"); in cifs_show_options()
633 seq_printf(s, ",snapshot=%llu", tcon->snapshot_time); in cifs_show_options()
635 seq_printf(s, ",handletimeout=%u", tcon->handle_timeout); in cifs_show_options()
637 seq_printf(s, ",actimeo=%lu", cifs_sb->actimeo / HZ); in cifs_show_options()
640 seq_printf(s, ",multichannel,max_channels=%zu", in cifs_show_options()
683 static int cifs_show_stats(struct seq_file *s, struct dentry *root) in cifs_show_stats() argument
734 char *s, *p; in cifs_get_root() local
749 p = s = full_path; in cifs_get_root()
762 while (*s == sep) in cifs_get_root()
763 s++; in cifs_get_root()
764 if (!*s) in cifs_get_root()
766 p = s++; in cifs_get_root()
768 while (*s && *s != sep) in cifs_get_root()
769 s++; in cifs_get_root()
771 child = lookup_positive_unlocked(p, dentry, s - p); in cifs_get_root()