Searched refs:mnt_ctx (Results 1 – 4 of 4) sorted by relevance
58 static int get_session(struct cifs_mount_ctx *mnt_ctx, const char *full_path) in get_session() argument60 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in get_session()65 rc = cifs_mount_get_session(mnt_ctx); in get_session()75 static void set_root_smb_session(struct cifs_mount_ctx *mnt_ctx) in set_root_smb_session() argument77 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in set_root_smb_session()78 struct cifs_ses *ses = mnt_ctx->ses; in set_root_smb_session()103 struct cifs_sb_info *cifs_sb = rw->mnt_ctx->cifs_sb; in setup_dfs_ref()104 struct smb3_fs_context *ctx = rw->mnt_ctx->fs_ctx; in setup_dfs_ref()108 set_root_smb_session(rw->mnt_ctx); in setup_dfs_ref()128 return dfs_get_referral(rw->mnt_ctx, in setup_dfs_ref()[all …]
29 struct cifs_mount_ctx *mnt_ctx; member56 struct cifs_mount_ctx *mnt_ctx) in ref_walk_init() argument59 rw->mnt_ctx = mnt_ctx; in ref_walk_init()156 int dfs_mount_share(struct cifs_mount_ctx *mnt_ctx);163 static inline int dfs_get_referral(struct cifs_mount_ctx *mnt_ctx, in dfs_get_referral() argument167 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_get_referral()168 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in dfs_get_referral()169 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral()171 return dfs_cache_find(mnt_ctx->xid, rses, cifs_sb->local_nls, in dfs_get_referral()
3629 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx) in cifs_mount_put_conns() argument3633 if (mnt_ctx->tcon) in cifs_mount_put_conns()3634 cifs_put_tcon(mnt_ctx->tcon, netfs_trace_tcon_ref_put_mnt_ctx); in cifs_mount_put_conns()3635 else if (mnt_ctx->ses) in cifs_mount_put_conns()3636 cifs_put_smb_ses(mnt_ctx->ses); in cifs_mount_put_conns()3637 else if (mnt_ctx->server) in cifs_mount_put_conns()3638 cifs_put_tcp_session(mnt_ctx->server, 0); in cifs_mount_put_conns()3639 mnt_ctx->ses = NULL; in cifs_mount_put_conns()3640 mnt_ctx->tcon = NULL; in cifs_mount_put_conns()3641 mnt_ctx->server = NULL; in cifs_mount_put_conns()[all …]
271 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx);272 int cifs_mount_get_session(struct cifs_mount_ctx *mnt_ctx);273 int cifs_is_path_remote(struct cifs_mount_ctx *mnt_ctx);274 int cifs_mount_get_tcon(struct cifs_mount_ctx *mnt_ctx);