Home
last modified time | relevance | path

Searched refs:fs_struct (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/include/linux/
Dfs_struct.h9 struct fs_struct { struct
21 extern void set_fs_root(struct fs_struct *, const struct path *); argument
22 extern void set_fs_pwd(struct fs_struct *, const struct path *);
23 extern struct fs_struct *copy_fs_struct(struct fs_struct *);
24 extern void free_fs_struct(struct fs_struct *);
27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root()
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
Dnsproxy.h13 struct fs_struct;
56 struct fs_struct *fs;
99 struct cred *, struct fs_struct *);
Dmnt_namespace.h7 struct fs_struct;
12 struct user_namespace *, struct fs_struct *);
Dinit_task.h26 extern struct fs_struct init_fs;
Dsched.h50 struct fs_struct;
1091 struct fs_struct *fs;
/linux-6.1.9/fs/
Dfs_struct.c15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root()
34 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd()
61 struct fs_struct *fs; in chroot_fs_refs()
88 void free_fs_struct(struct fs_struct *fs) in free_fs_struct()
97 struct fs_struct *fs = tsk->fs; in exit_fs()
112 struct fs_struct *copy_fs_struct(struct fs_struct *old) in copy_fs_struct()
114 struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL); in copy_fs_struct()
135 struct fs_struct *fs = current->fs; in unshare_fs_struct()
136 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct()
163 struct fs_struct init_fs = {
Dd_path.c238 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu()
381 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu()
Dfhandle.c120 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd()
DMakefile17 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
Dnamespace.c3453 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns()
4646 struct fs_struct *fs = nsset->fs; in mntns_install()
Dnamei.c928 struct fs_struct *fs = current->fs; in set_root()
2393 struct fs_struct *fs = current->fs; in path_init()
/linux-6.1.9/kernel/
Dnsproxy.c69 struct fs_struct *new_fs) in create_new_namespaces()
212 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces()
Dfork.c1590 struct fs_struct *fs = current->fs; in copy_fs()
3040 sizeof(struct fs_struct), 0, in proc_caches_init()
3098 static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp) in unshare_fs()
3100 struct fs_struct *fs = current->fs; in unshare_fs()
3145 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare()