Home
last modified time | relevance | path

Searched refs:fs_ctx (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/9pfs/
H A D9p-local.c60 int local_open_nofollow(FsContext *fs_ctx, const char *path, int flags, in local_open_nofollow() argument
63 LocalData *data = fs_ctx->private; in local_open_nofollow()
97 int local_opendir_nofollow(FsContext *fs_ctx, const char *path) in local_opendir_nofollow() argument
99 return local_open_nofollow(fs_ctx, path, O_DIRECTORY | O_RDONLY, 0); in local_opendir_nofollow()
185 static int local_lstat(FsContext *fs_ctx, V9fsPath *fs_path, struct stat *stbuf) in local_lstat() argument
192 dirfd = local_opendir_nofollow(fs_ctx, dirpath); in local_lstat()
201 if (fs_ctx->export_flags & V9FS_SM_MAPPED) { in local_lstat()
224 } else if (fs_ctx->export_flags & V9FS_SM_MAPPED_FILE) { in local_lstat()
443 static int local_set_cred_passthrough(FsContext *fs_ctx, int dirfd, in local_set_cred_passthrough() argument
452 if ((fs_ctx->export_flags & V9FS_SEC_MASK) != V9FS_SM_NONE) { in local_set_cred_passthrough()
[all …]
H A D9p-synth.c156 static int synth_lstat(FsContext *fs_ctx, in synth_lstat() argument
165 static int synth_fstat(FsContext *fs_ctx, int fid_type, in synth_fstat() argument
286 static int synth_open2(FsContext *fs_ctx, V9fsPath *dir_path, in synth_open2() argument
359 static int synth_chmod(FsContext *fs_ctx, V9fsPath *path, FsCred *credp) in synth_chmod() argument
365 static int synth_mknod(FsContext *fs_ctx, V9fsPath *path, in synth_mknod() argument
372 static int synth_mkdir(FsContext *fs_ctx, V9fsPath *path, in synth_mkdir() argument
379 static ssize_t synth_readlink(FsContext *fs_ctx, V9fsPath *path, in synth_readlink() argument
386 static int synth_symlink(FsContext *fs_ctx, const char *oldpath, in synth_symlink() argument
393 static int synth_link(FsContext *fs_ctx, V9fsPath *oldpath, in synth_link() argument
407 static int synth_chown(FsContext *fs_ctx, V9fsPath *path, FsCred *credp) in synth_chown() argument
[all …]
H A D9p-local.h16 int local_open_nofollow(FsContext *fs_ctx, const char *path, int flags,
18 int local_opendir_nofollow(FsContext *fs_ctx, const char *path);
/openbmc/linux/fs/smb/client/
H A Ddfs.c58 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in get_session()
74 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in add_root_smb_session()
102 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in set_ref_paths()
129 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in __dfs_referral_walk()
216 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in __dfs_mount_share()
284 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_mount_share()
H A Ddfs.h131 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_get_referral()
147 const struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_put_root_smb_sessions()
H A Dconnect.c3432 if (WARN_ON_ONCE(!mnt_ctx || !mnt_ctx->fs_ctx)) { in cifs_mount_get_session()
3436 ctx = mnt_ctx->fs_ctx; in cifs_mount_get_session()
3477 if (WARN_ON_ONCE(!mnt_ctx || !mnt_ctx->server || !mnt_ctx->ses || !mnt_ctx->fs_ctx || in cifs_mount_get_tcon()
3483 ctx = mnt_ctx->fs_ctx; in cifs_mount_get_tcon()
3653 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in cifs_is_path_remote()
3692 struct cifs_mount_ctx mnt_ctx = { .cifs_sb = cifs_sb, .fs_ctx = ctx, }; in cifs_mount()
3733 struct cifs_mount_ctx mnt_ctx = { .cifs_sb = cifs_sb, .fs_ctx = ctx, }; in cifs_mount()
H A Dcifsglob.h1809 struct smb3_fs_context *fs_ctx; member