• Home
  • Raw
  • Download

Lines Matching refs:s

437 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server)  in cifs_show_address()  argument
442 seq_puts(s, ",addr="); in cifs_show_address()
446 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address()
449 seq_printf(s, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_show_address()
451 seq_printf(s, "%%%u", sa6->sin6_scope_id); in cifs_show_address()
454 seq_puts(s, "(unknown)"); in cifs_show_address()
457 seq_puts(s, ",rdma"); in cifs_show_address()
461 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) in cifs_show_security() argument
465 seq_puts(s, ",sec=none"); in cifs_show_security()
469 seq_puts(s, ",sec="); in cifs_show_security()
473 seq_puts(s, "ntlmv2"); in cifs_show_security()
476 seq_puts(s, "krb5"); in cifs_show_security()
479 seq_puts(s, "ntlmssp"); in cifs_show_security()
483 seq_puts(s, "unknown"); in cifs_show_security()
488 seq_puts(s, "i"); in cifs_show_security()
491 seq_printf(s, ",cruid=%u", in cifs_show_security()
496 cifs_show_cache_flavor(struct seq_file *s, struct cifs_sb_info *cifs_sb) in cifs_show_cache_flavor() argument
498 seq_puts(s, ",cache="); in cifs_show_cache_flavor()
501 seq_puts(s, "strict"); in cifs_show_cache_flavor()
503 seq_puts(s, "none"); in cifs_show_cache_flavor()
505 seq_puts(s, "singleclient"); /* assume only one client access */ in cifs_show_cache_flavor()
507 seq_puts(s, "ro"); /* read only caching assumed */ in cifs_show_cache_flavor()
509 seq_puts(s, "loose"); in cifs_show_cache_flavor()
538 cifs_show_options(struct seq_file *s, struct dentry *root) in cifs_show_options() argument
545 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
546 cifs_show_security(s, tcon->ses); in cifs_show_options()
547 cifs_show_cache_flavor(s, cifs_sb); in cifs_show_options()
550 seq_puts(s, ",nolease"); in cifs_show_options()
552 seq_puts(s, ",multiuser"); in cifs_show_options()
554 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
557 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
565 seq_printf(s, ",srcaddr=%pI6c", in cifs_show_options()
568 seq_printf(s, ",srcaddr=%pI4", in cifs_show_options()
571 seq_printf(s, ",srcaddr=BAD-AF:%i", in cifs_show_options()
575 seq_printf(s, ",uid=%u", in cifs_show_options()
578 seq_puts(s, ",forceuid"); in cifs_show_options()
580 seq_puts(s, ",noforceuid"); in cifs_show_options()
582 seq_printf(s, ",gid=%u", in cifs_show_options()
585 seq_puts(s, ",forcegid"); in cifs_show_options()
587 seq_puts(s, ",noforcegid"); in cifs_show_options()
589 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
592 seq_printf(s, ",file_mode=0%ho,dir_mode=0%ho", in cifs_show_options()
596 seq_printf(s, ",iocharset=%s", cifs_sb->ctx->iocharset); in cifs_show_options()
598 seq_puts(s, ",seal"); in cifs_show_options()
600 seq_puts(s, ",signloosely"); in cifs_show_options()
602 seq_puts(s, ",nocase"); in cifs_show_options()
604 seq_puts(s, ",nodelete"); in cifs_show_options()
606 seq_puts(s, ",nosparse"); in cifs_show_options()
608 seq_puts(s, ",locallease"); in cifs_show_options()
610 seq_puts(s, ",hard"); in cifs_show_options()
612 seq_puts(s, ",soft"); in cifs_show_options()
614 seq_puts(s, ",persistenthandles"); in cifs_show_options()
616 seq_puts(s, ",resilienthandles"); in cifs_show_options()
618 seq_puts(s, ",posix"); in cifs_show_options()
620 seq_puts(s, ",unix"); in cifs_show_options()
622 seq_puts(s, ",nounix"); in cifs_show_options()
624 seq_puts(s, ",nodfs"); in cifs_show_options()
626 seq_puts(s, ",posixpaths"); in cifs_show_options()
628 seq_puts(s, ",setuids"); in cifs_show_options()
630 seq_puts(s, ",idsfromsid"); in cifs_show_options()
632 seq_puts(s, ",serverino"); in cifs_show_options()
634 seq_puts(s, ",rwpidforward"); in cifs_show_options()
636 seq_puts(s, ",forcemand"); in cifs_show_options()
638 seq_puts(s, ",nouser_xattr"); in cifs_show_options()
640 seq_puts(s, ",mapchars"); in cifs_show_options()
642 seq_puts(s, ",mapposix"); in cifs_show_options()
644 seq_puts(s, ",sfu"); in cifs_show_options()
646 seq_puts(s, ",nobrl"); in cifs_show_options()
648 seq_puts(s, ",nohandlecache"); in cifs_show_options()
650 seq_puts(s, ",modefromsid"); in cifs_show_options()
652 seq_puts(s, ",cifsacl"); in cifs_show_options()
654 seq_puts(s, ",dynperm"); in cifs_show_options()
656 seq_puts(s, ",acl"); in cifs_show_options()
658 seq_puts(s, ",mfsymlinks"); in cifs_show_options()
660 seq_puts(s, ",fsc"); in cifs_show_options()
662 seq_puts(s, ",nostrictsync"); in cifs_show_options()
664 seq_puts(s, ",noperm"); in cifs_show_options()
666 seq_printf(s, ",backupuid=%u", in cifs_show_options()
670 seq_printf(s, ",backupgid=%u", in cifs_show_options()
673 seq_show_option(s, "reparse", in cifs_show_options()
676 seq_printf(s, ",rsize=%u", cifs_sb->ctx->rsize); in cifs_show_options()
677 seq_printf(s, ",wsize=%u", cifs_sb->ctx->wsize); in cifs_show_options()
678 seq_printf(s, ",bsize=%u", cifs_sb->ctx->bsize); in cifs_show_options()
680 seq_printf(s, ",rasize=%u", cifs_sb->ctx->rasize); in cifs_show_options()
682 seq_printf(s, ",esize=%u", tcon->ses->server->min_offload); in cifs_show_options()
684 seq_printf(s, ",retrans=%u", tcon->ses->server->retrans); in cifs_show_options()
685 seq_printf(s, ",echo_interval=%lu", in cifs_show_options()
690 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
692 seq_puts(s, ",tcpnodelay"); in cifs_show_options()
694 seq_puts(s, ",noautotune"); in cifs_show_options()
696 seq_puts(s, ",noblocksend"); in cifs_show_options()
698 seq_puts(s, ",nosharesock"); in cifs_show_options()
701 seq_printf(s, ",snapshot=%llu", tcon->snapshot_time); in cifs_show_options()
703 seq_printf(s, ",handletimeout=%u", tcon->handle_timeout); in cifs_show_options()
705 seq_printf(s, ",max_cached_dirs=%u", tcon->max_cached_dirs); in cifs_show_options()
713 seq_printf(s, ",actimeo=%lu", cifs_sb->ctx->acregmax / HZ); in cifs_show_options()
715 seq_printf(s, ",acdirmax=%lu", cifs_sb->ctx->acdirmax / HZ); in cifs_show_options()
716 seq_printf(s, ",acregmax=%lu", cifs_sb->ctx->acregmax / HZ); in cifs_show_options()
718 seq_printf(s, ",closetimeo=%lu", cifs_sb->ctx->closetimeo / HZ); in cifs_show_options()
721 seq_printf(s, ",multichannel,max_channels=%zu", in cifs_show_options()
725 seq_puts(s, ",witness"); in cifs_show_options()
790 static int cifs_show_stats(struct seq_file *s, struct dentry *root) in cifs_show_stats() argument
843 char *s, *p; in cifs_get_root() local
858 s = full_path; in cifs_get_root()
871 while (*s == sep) in cifs_get_root()
872 s++; in cifs_get_root()
873 if (!*s) in cifs_get_root()
875 p = s++; in cifs_get_root()
877 while (*s && *s != sep) in cifs_get_root()
878 s++; in cifs_get_root()
880 child = lookup_positive_unlocked(p, dentry, s - p); in cifs_get_root()