Lines Matching refs:fs
232 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
237 seq = read_seqcount_begin(&fs->seq); in get_fs_root_rcu()
238 *root = fs->root; in get_fs_root_rcu()
239 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_rcu()
280 get_fs_root_rcu(current->fs, &root); in d_path()
395 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
401 seq = read_seqcount_begin(&fs->seq); in get_fs_root_and_pwd_rcu()
402 *root = fs->root; in get_fs_root_and_pwd_rcu()
403 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
404 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu()
435 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()