Lines Matching refs:fs
239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
244 seq = read_seqbegin(&fs->seq); in get_fs_root_rcu()
245 *root = fs->root; in get_fs_root_rcu()
246 } while (read_seqretry(&fs->seq, seq)); in get_fs_root_rcu()
286 get_fs_root_rcu(current->fs, &root); in d_path()
382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
388 seq = read_seqbegin(&fs->seq); in get_fs_root_and_pwd_rcu()
389 *root = fs->root; in get_fs_root_and_pwd_rcu()
390 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
391 } while (read_seqretry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu()
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()