Lines Matching refs:UNC
319 new_ctx->UNC = NULL; in smb3_fs_context_dup()
330 DUP_CTX_STR(UNC); in smb3_fs_context_dup()
497 ulen = strlen(ctx->UNC); in smb3_fs_context_fullpath()
503 memcpy(s, ctx->UNC, ulen); in smb3_fs_context_fullpath()
557 kfree(ctx->UNC); in smb3_parse_devname()
558 ctx->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in smb3_parse_devname()
559 if (!ctx->UNC) in smb3_parse_devname()
562 convert_delimiter(ctx->UNC, '\\'); in smb3_parse_devname()
688 if (!ctx->UNC) { in smb3_fs_context_validate()
694 if (strlen(ctx->UNC) < 3 || !strchr(ctx->UNC + 3, '\\')) { in smb3_fs_context_validate()
705 slash = strchr(&ctx->UNC[2], '\\'); in smb3_fs_context_validate()
706 len = slash - &ctx->UNC[2]; in smb3_fs_context_validate()
708 &ctx->UNC[2], len)) { in smb3_fs_context_validate()
788 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
789 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
857 STEAL_STRING(cifs_sb, ctx, UNC); in smb3_reconfigure()
1185 kfree(ctx->UNC); in smb3_fs_context_parse_param()
1186 ctx->UNC = NULL; in smb3_fs_context_parse_param()
1649 kfree(ctx->UNC); in smb3_cleanup_fs_context_contents()
1650 ctx->UNC = NULL; in smb3_cleanup_fs_context_contents()