Lines Matching refs:new_ctx

424 		new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC);	\
425 if (new_ctx->field == NULL) { \
426 smb3_cleanup_fs_context_contents(new_ctx); \
433 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument
435 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup()
436 new_ctx->prepath = NULL; in smb3_fs_context_dup()
437 new_ctx->nodename = NULL; in smb3_fs_context_dup()
438 new_ctx->username = NULL; in smb3_fs_context_dup()
439 new_ctx->password = NULL; in smb3_fs_context_dup()
440 new_ctx->password2 = NULL; in smb3_fs_context_dup()
441 new_ctx->server_hostname = NULL; in smb3_fs_context_dup()
442 new_ctx->domainname = NULL; in smb3_fs_context_dup()
443 new_ctx->UNC = NULL; in smb3_fs_context_dup()
444 new_ctx->source = NULL; in smb3_fs_context_dup()
445 new_ctx->iocharset = NULL; in smb3_fs_context_dup()
446 new_ctx->leaf_fullpath = NULL; in smb3_fs_context_dup()
447 new_ctx->dns_dom = NULL; in smb3_fs_context_dup()
448 new_ctx->symlinkroot = NULL; in smb3_fs_context_dup()
910 struct smb3_fs_context *new_ctx, in smb3_verify_reconfigure_ctx() argument
913 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
917 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
921 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
925 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
926 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
930 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
931 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
935 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
936 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
947 if (new_ctx->domainname && in smb3_verify_reconfigure_ctx()
948 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
952 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
956 if (new_ctx->nodename && in smb3_verify_reconfigure_ctx()
957 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
961 if (new_ctx->iocharset && in smb3_verify_reconfigure_ctx()
962 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) { in smb3_verify_reconfigure_ctx()
966 if (new_ctx->unicode != old_ctx->unicode) { in smb3_verify_reconfigure_ctx()
970 if (new_ctx->rfc1001_sessinit != old_ctx->rfc1001_sessinit) { in smb3_verify_reconfigure_ctx()