Searched refs:fs_struct (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
H A D | fs_struct.h | 9 struct fs_struct { struct 20 extern void set_fs_root(struct fs_struct *, const struct path *); argument 21 extern void set_fs_pwd(struct fs_struct *, const struct path *); 22 extern struct fs_struct *copy_fs_struct(struct fs_struct *); 23 extern void free_fs_struct(struct fs_struct *); 26 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() 34 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd()
|
H A D | nsproxy.h | 14 struct fs_struct; 68 struct fs_struct *fs; 112 struct cred *, struct fs_struct *);
|
H A D | mnt_namespace.h | 10 struct fs_struct; 15 struct user_namespace *, struct fs_struct *);
|
H A D | init_task.h | 26 extern struct fs_struct init_fs;
|
/linux/fs/ |
H A D | fs_struct.c | 8 #include <linux/fs_struct.h> 15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() 32 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() 57 struct fs_struct *fs; in chroot_fs_refs() 82 void free_fs_struct(struct fs_struct *fs) in free_fs_struct() 91 struct fs_struct *fs = tsk->fs; in exit_fs() 106 struct fs_struct *copy_fs_struct(struct fs_struct *old) in copy_fs_struct() 108 struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL); in copy_fs_struct() 128 struct fs_struct *f in unshare_fs_struct() [all...] |
H A D | d_path.c | 5 #include <linux/fs_struct.h> 239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() 382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu()
|
H A D | Makefile | 16 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
|
H A D | namei.c | 37 #include <linux/fs_struct.h> 1001 struct fs_struct *fs = current->fs; in set_root() 2570 struct fs_struct *fs = current->fs; in path_init()
|
H A D | namespace.c | 21 #include <linux/fs_struct.h> /* get_fs_root et.al. */ 4204 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() 4249 * fs_struct, so tsk->fs->lock is not needed. in copy_mnt_ns() 6352 struct fs_struct *fs = nsset->fs; in mntns_install()
|
/linux/kernel/ |
H A D | nsproxy.c | 22 #include <linux/fs_struct.h> 69 struct fs_struct *new_fs) in create_new_namespaces() 204 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() 336 /* Only create a temporary copy of fs_struct if we really need to. */ in prepare_nsset() 515 /* We only need to commit if we have used a temporary fs_struct. */ in commit_nsset()
|
H A D | fork.c | 81 #include <linux/fs_struct.h> 431 /* SLAB cache for fs_struct structures (tsk->fs) */ 1550 struct fs_struct *fs = current->fs; in copy_fs() 2990 sizeof(struct fs_struct), 0, in proc_caches_init() 3033 static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp) in unshare_fs() 3035 struct fs_struct *fs = current->fs; in unshare_fs() 3079 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare()
|