Home
last modified time | relevance | path

Searched refs:mnt_ctx (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/smb/client/
Ddfs.c56 static int get_session(struct cifs_mount_ctx *mnt_ctx, const char *full_path) in get_session() argument
58 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in get_session()
62 rc = cifs_mount_get_session(mnt_ctx); in get_session()
72 static void set_root_smb_session(struct cifs_mount_ctx *mnt_ctx) in set_root_smb_session() argument
74 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in set_root_smb_session()
75 struct cifs_ses *ses = mnt_ctx->ses; in set_root_smb_session()
98 static int setup_dfs_ref(struct cifs_mount_ctx *mnt_ctx, in setup_dfs_ref() argument
102 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in setup_dfs_ref()
103 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in setup_dfs_ref()
127 static int __dfs_referral_walk(struct cifs_mount_ctx *mnt_ctx, in __dfs_referral_walk() argument
[all …]
Ddfs.h141 int dfs_mount_share(struct cifs_mount_ctx *mnt_ctx);
148 static inline int dfs_get_referral(struct cifs_mount_ctx *mnt_ctx, const char *path, in dfs_get_referral() argument
151 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_get_referral()
152 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in dfs_get_referral()
153 struct cifs_ses *rses = ctx->dfs_root_ses ?: mnt_ctx->ses; in dfs_get_referral()
155 return dfs_cache_find(mnt_ctx->xid, rses, cifs_sb->local_nls, in dfs_get_referral()
Dconnect.c3340 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx) in cifs_mount_put_conns() argument
3344 if (mnt_ctx->tcon) in cifs_mount_put_conns()
3345 cifs_put_tcon(mnt_ctx->tcon, netfs_trace_tcon_ref_put_mnt_ctx); in cifs_mount_put_conns()
3346 else if (mnt_ctx->ses) in cifs_mount_put_conns()
3347 cifs_put_smb_ses(mnt_ctx->ses); in cifs_mount_put_conns()
3348 else if (mnt_ctx->server) in cifs_mount_put_conns()
3349 cifs_put_tcp_session(mnt_ctx->server, 0); in cifs_mount_put_conns()
3350 mnt_ctx->ses = NULL; in cifs_mount_put_conns()
3351 mnt_ctx->tcon = NULL; in cifs_mount_put_conns()
3352 mnt_ctx->server = NULL; in cifs_mount_put_conns()
[all …]
Dcifsproto.h259 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx);
260 int cifs_mount_get_session(struct cifs_mount_ctx *mnt_ctx);
261 int cifs_is_path_remote(struct cifs_mount_ctx *mnt_ctx);
262 int cifs_mount_get_tcon(struct cifs_mount_ctx *mnt_ctx);