Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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()
A Dnsproxy.h13 struct fs_struct;
56 struct fs_struct *fs;
100 struct cred *, struct fs_struct *);
A Dmnt_namespace.h7 struct fs_struct;
12 struct user_namespace *, struct fs_struct *);
A Dinit_task.h26 extern struct fs_struct init_fs;
A Dsched.h50 struct fs_struct;
1085 struct fs_struct *fs;
/linux-6.3-rc2/fs/
A 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 = {
A 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()
A Dfhandle.c120 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd()
A DMakefile17 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
A Dnamespace.c3455 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns()
4651 struct fs_struct *fs = nsset->fs; in mntns_install()
A Dnamei.c929 struct fs_struct *fs = current->fs; in set_root()
2394 struct fs_struct *fs = current->fs; in path_init()
/linux-6.3-rc2/kernel/
A Dnsproxy.c69 struct fs_struct *new_fs) in create_new_namespaces()
214 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces()
A Dfork.c1612 struct fs_struct *fs = current->fs; in copy_fs()
3065 sizeof(struct fs_struct), 0, in proc_caches_init()
3110 static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp) in unshare_fs()
3112 struct fs_struct *fs = current->fs; in unshare_fs()
3157 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare()

Completed in 38 milliseconds