Searched refs:mnt_ctx (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/fs/smb/client/ ! |
D | dfs.c | 56 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() 74 static int add_root_smb_session(struct cifs_mount_ctx *mnt_ctx) in add_root_smb_session() argument 76 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in add_root_smb_session() 78 struct cifs_ses *ses = mnt_ctx->ses; in add_root_smb_session() 91 list_add_tail(&root_ses->list, &mnt_ctx->dfs_ses_list); in add_root_smb_session() 111 static int set_ref_paths(struct cifs_mount_ctx *mnt_ctx, in set_ref_paths() argument 115 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in set_ref_paths() 116 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in set_ref_paths() [all …]
|
D | dfs.h | 124 int dfs_mount_share(struct cifs_mount_ctx *mnt_ctx, bool *isdfs); 131 static inline int dfs_get_referral(struct cifs_mount_ctx *mnt_ctx, const char *path, in dfs_get_referral() argument 134 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_get_referral() 135 struct cifs_sb_info *cifs_sb = mnt_ctx->cifs_sb; in dfs_get_referral() 137 return dfs_cache_find(mnt_ctx->xid, ctx->dfs_root_ses, cifs_sb->local_nls, in dfs_get_referral()
|
D | connect.c | 3304 void cifs_mount_put_conns(struct cifs_mount_ctx *mnt_ctx) in cifs_mount_put_conns() argument 3308 if (mnt_ctx->tcon) in cifs_mount_put_conns() 3309 cifs_put_tcon(mnt_ctx->tcon); in cifs_mount_put_conns() 3310 else if (mnt_ctx->ses) in cifs_mount_put_conns() 3311 cifs_put_smb_ses(mnt_ctx->ses); in cifs_mount_put_conns() 3312 else if (mnt_ctx->server) in cifs_mount_put_conns() 3313 cifs_put_tcp_session(mnt_ctx->server, 0); in cifs_mount_put_conns() 3314 mnt_ctx->cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_POSIX_PATHS; in cifs_mount_put_conns() 3315 free_xid(mnt_ctx->xid); in cifs_mount_put_conns() 3318 int cifs_mount_get_session(struct cifs_mount_ctx *mnt_ctx) in cifs_mount_get_session() argument [all …]
|
D | cifsproto.h | 259 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);
|