Searched refs:mnt_ctx (Results 1 – 4 of 4) sorted by relevance
75 struct cifs_ses *ses = mnt_ctx->ses; in add_root_smb_session()156 cifs_mount_put_conns(mnt_ctx); in __dfs_referral_walk()176 add_root_smb_session(mnt_ctx); in __dfs_referral_walk()226 rc = dfs_referral_walk(mnt_ctx); in __dfs_mount_share()232 if (WARN_ON(!mnt_ctx->server)) in __dfs_mount_share()234 else if (WARN_ON(!mnt_ctx->ses)) in __dfs_mount_share()236 else if (WARN_ON(!mnt_ctx->tcon)) in __dfs_mount_share()242 tcon = mnt_ctx->tcon; in __dfs_mount_share()293 rc = get_session(mnt_ctx, NULL); in dfs_mount_share()321 add_root_smb_session(mnt_ctx); in dfs_mount_share()[all …]
121 int dfs_mount_share(struct cifs_mount_ctx *mnt_ctx, bool *isdfs);128 static inline int dfs_get_referral(struct cifs_mount_ctx *mnt_ctx, const char *path, in dfs_get_referral() argument131 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_get_referral()132 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in dfs_get_referral()133 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral()135 return dfs_cache_find(mnt_ctx->xid, rses, cifs_sb->local_nls, in dfs_get_referral()145 static inline void dfs_put_root_smb_sessions(struct cifs_mount_ctx *mnt_ctx) in dfs_put_root_smb_sessions() argument147 const struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_put_root_smb_sessions()
3351 if (mnt_ctx->tcon) in cifs_mount_put_conns()3357 mnt_ctx->ses = NULL; in cifs_mount_put_conns()3358 mnt_ctx->tcon = NULL; in cifs_mount_put_conns()3374 if (WARN_ON_ONCE(!mnt_ctx || !mnt_ctx->fs_ctx)) { in cifs_mount_get_session()3403 mnt_ctx->xid = xid; in cifs_mount_get_session()3405 mnt_ctx->ses = ses; in cifs_mount_get_session()3406 mnt_ctx->tcon = NULL; in cifs_mount_get_session()3419 if (WARN_ON_ONCE(!mnt_ctx || !mnt_ctx->server || !mnt_ctx->ses || !mnt_ctx->fs_ctx || in cifs_mount_get_tcon()3506 mnt_ctx->tcon = tcon; in cifs_mount_get_tcon()3660 rc = mount_setup_tlink(cifs_sb, mnt_ctx.ses, mnt_ctx.tcon); in cifs_mount()[all …]
261 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx);262 int cifs_mount_get_session(struct cifs_mount_ctx *mnt_ctx);263 int cifs_is_path_remote(struct cifs_mount_ctx *mnt_ctx);264 int cifs_mount_get_tcon(struct cifs_mount_ctx *mnt_ctx);