Searched refs:fs_struct (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/include/linux/ |
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()
|
D | nsproxy.h | 13 struct fs_struct; 56 struct fs_struct *fs; 99 struct cred *, struct fs_struct *);
|
D | mnt_namespace.h | 7 struct fs_struct; 12 struct user_namespace *, struct fs_struct *);
|
D | init_task.h | 26 extern struct fs_struct init_fs;
|
D | sched.h | 50 struct fs_struct; 1091 struct fs_struct *fs;
|
/linux-6.1.9/fs/ |
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 = {
|
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()
|
D | fhandle.c | 120 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd()
|
D | Makefile | 17 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
|
D | namespace.c | 3453 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() 4646 struct fs_struct *fs = nsset->fs; in mntns_install()
|
D | namei.c | 928 struct fs_struct *fs = current->fs; in set_root() 2393 struct fs_struct *fs = current->fs; in path_init()
|
/linux-6.1.9/kernel/ |
D | nsproxy.c | 69 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()
|
D | fork.c | 1590 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()
|