Lines Matching refs:new_ctx
298 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \
299 if (new_ctx->field == NULL) { \
300 smb3_cleanup_fs_context_contents(new_ctx); \
307 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument
309 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup()
310 new_ctx->prepath = NULL; in smb3_fs_context_dup()
311 new_ctx->mount_options = NULL; in smb3_fs_context_dup()
312 new_ctx->nodename = NULL; in smb3_fs_context_dup()
313 new_ctx->username = NULL; in smb3_fs_context_dup()
314 new_ctx->password = NULL; in smb3_fs_context_dup()
315 new_ctx->server_hostname = NULL; in smb3_fs_context_dup()
316 new_ctx->domainname = NULL; in smb3_fs_context_dup()
317 new_ctx->UNC = NULL; in smb3_fs_context_dup()
318 new_ctx->source = NULL; in smb3_fs_context_dup()
319 new_ctx->iocharset = NULL; in smb3_fs_context_dup()
734 struct smb3_fs_context *new_ctx, in smb3_verify_reconfigure_ctx() argument
737 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
741 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
745 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
749 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
750 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
754 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
755 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
759 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
760 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
764 if (new_ctx->domainname && in smb3_verify_reconfigure_ctx()
765 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
769 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
773 if (new_ctx->nodename && in smb3_verify_reconfigure_ctx()
774 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
778 if (new_ctx->iocharset && in smb3_verify_reconfigure_ctx()
779 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) { in smb3_verify_reconfigure_ctx()