Searched refs:fs_struct (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | fs_struct.h | 9 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 D | nsproxy.h | 13 struct fs_struct; 56 struct fs_struct *fs; 100 struct cred *, struct fs_struct *);
|
A D | mnt_namespace.h | 7 struct fs_struct; 12 struct user_namespace *, struct fs_struct *);
|
A D | init_task.h | 26 extern struct fs_struct init_fs;
|
A D | sched.h | 50 struct fs_struct; 1085 struct fs_struct *fs;
|
/linux-6.3-rc2/fs/ |
A D | fs_struct.c | 15 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 D | d_path.c | 238 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 D | fhandle.c | 120 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd()
|
A D | Makefile | 17 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
|
A D | namespace.c | 3455 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 D | namei.c | 929 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 D | nsproxy.c | 69 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 D | fork.c | 1612 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