Lines Matching defs:new_ctx
301 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \
302 if (new_ctx->field == NULL) { \
303 smb3_cleanup_fs_context_contents(new_ctx); \
310 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx)
312 memcpy(new_ctx, ctx, sizeof(*ctx));
313 new_ctx->prepath = NULL;
314 new_ctx->nodename = NULL;
315 new_ctx->username = NULL;
316 new_ctx->password = NULL;
317 new_ctx->server_hostname = NULL;
318 new_ctx->domainname = NULL;
319 new_ctx->UNC = NULL;
320 new_ctx->source = NULL;
321 new_ctx->iocharset = NULL;
322 new_ctx->leaf_fullpath = NULL;
773 struct smb3_fs_context *new_ctx,
776 if (new_ctx->posix_paths != old_ctx->posix_paths) {
780 if (new_ctx->sectype != old_ctx->sectype) {
784 if (new_ctx->multiuser != old_ctx->multiuser) {
788 if (new_ctx->UNC &&
789 (!old_ctx->UNC || strcmp(new_ctx->UNC, old_ctx->UNC))) {
793 if (new_ctx->username &&
794 (!old_ctx->username || strcmp(new_ctx->username, old_ctx->username))) {
798 if (new_ctx->password &&
799 (!old_ctx->password || strcmp(new_ctx->password, old_ctx->password))) {
810 if (new_ctx->domainname &&
811 (!old_ctx->domainname || strcmp(new_ctx->domainname, old_ctx->domainname))) {
815 if (strcmp(new_ctx->workstation_name, old_ctx->workstation_name)) {
819 if (new_ctx->nodename &&
820 (!old_ctx->nodename || strcmp(new_ctx->nodename, old_ctx->nodename))) {
824 if (new_ctx->iocharset &&
825 (!old_ctx->iocharset || strcmp(new_ctx->iocharset, old_ctx->iocharset))) {