Lines Matching refs:new_ctx

335 		new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC);	\
336 if (new_ctx->field == NULL) { \
337 smb3_cleanup_fs_context_contents(new_ctx); \
344 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument
346 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup()
347 new_ctx->prepath = NULL; in smb3_fs_context_dup()
348 new_ctx->nodename = NULL; in smb3_fs_context_dup()
349 new_ctx->username = NULL; in smb3_fs_context_dup()
350 new_ctx->password = NULL; in smb3_fs_context_dup()
351 new_ctx->password2 = NULL; in smb3_fs_context_dup()
352 new_ctx->server_hostname = NULL; in smb3_fs_context_dup()
353 new_ctx->domainname = NULL; in smb3_fs_context_dup()
354 new_ctx->UNC = NULL; in smb3_fs_context_dup()
355 new_ctx->source = NULL; in smb3_fs_context_dup()
356 new_ctx->iocharset = NULL; in smb3_fs_context_dup()
357 new_ctx->leaf_fullpath = NULL; in smb3_fs_context_dup()
819 struct smb3_fs_context *new_ctx, in smb3_verify_reconfigure_ctx() argument
822 if (new_ctx->posix_paths != old_ctx->posix_paths) { in smb3_verify_reconfigure_ctx()
826 if (new_ctx->sectype != old_ctx->sectype) { in smb3_verify_reconfigure_ctx()
830 if (new_ctx->multiuser != old_ctx->multiuser) { in smb3_verify_reconfigure_ctx()
834 if (new_ctx->UNC && in smb3_verify_reconfigure_ctx()
835 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) { in smb3_verify_reconfigure_ctx()
839 if (new_ctx->username && in smb3_verify_reconfigure_ctx()
840 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) { in smb3_verify_reconfigure_ctx()
844 if (new_ctx->password && in smb3_verify_reconfigure_ctx()
845 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) { in smb3_verify_reconfigure_ctx()
856 if (new_ctx->domainname && in smb3_verify_reconfigure_ctx()
857 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) { in smb3_verify_reconfigure_ctx()
861 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) { in smb3_verify_reconfigure_ctx()
865 if (new_ctx->nodename && in smb3_verify_reconfigure_ctx()
866 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) { in smb3_verify_reconfigure_ctx()
870 if (new_ctx->iocharset && in smb3_verify_reconfigure_ctx()
871 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) { in smb3_verify_reconfigure_ctx()