Home
last modified time | relevance | path

Searched refs:pwdmnt (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/include/linux/
Dfs_struct.h10 struct vfsmount * rootmnt, * pwdmnt, * altrootmnt; member
59 old_pwdmnt = fs->pwdmnt; in set_fs_pwd()
60 fs->pwdmnt = mntget(mnt); in set_fs_pwd()
Dintermezzo_fs.h147 struct vfsmount *pwdmnt; member
164 save->pwdmnt = mntget(current->fs->pwdmnt); in push_ctxt()
175 set_fs_pwd(current->fs, new->pwdmnt, new->pwd); in push_ctxt()
195 set_fs_pwd(current->fs, saved->pwdmnt, saved->pwd); in pop_ctxt()
205 mntput(saved->pwdmnt); in pop_ctxt()
/linux-2.4.37.9/kernel/
Dkmod.c40 struct vfsmount *rootmnt, *pwdmnt; in use_init_fs_context() local
69 pwdmnt = mntget(init_fs->pwdmnt); in use_init_fs_context()
77 set_fs_pwd(our_fs, pwdmnt, pwd); in use_init_fs_context()
92 mntput(pwdmnt); in use_init_fs_context()
Dfork.c392 fs->pwdmnt = mntget(old->pwdmnt); in __copy_fs_struct()
Dexit.c244 mntput(fs->pwdmnt); in __put_fs_struct()
/linux-2.4.37.9/fs/
Dnamespace.c753 struct vfsmount *rootmnt = NULL, *pwdmnt = NULL, *altrootmnt = NULL; in copy_namespace() local
797 if (p == fs->pwdmnt) { in copy_namespace()
798 pwdmnt = p; in copy_namespace()
799 fs->pwdmnt = mntget(q); in copy_namespace()
816 if (pwdmnt) in copy_namespace()
817 mntput(pwdmnt); in copy_namespace()
884 if (fs->pwd==old_nd->dentry&&fs->pwdmnt==old_nd->mnt) in chroot_fs_refs()
Ddcache.c1028 struct vfsmount *pwdmnt, *rootmnt; in sys_getcwd() local
1036 pwdmnt = mntget(current->fs->pwdmnt); in sys_getcwd()
1049 cwd = __d_path(pwd, pwdmnt, root, rootmnt, page, PAGE_SIZE); in sys_getcwd()
1068 mntput(pwdmnt); in sys_getcwd()
Dnamei.c773 nd->mnt = mntget(current->fs->pwdmnt); in path_init()
/linux-2.4.37.9/init/
Ddo_mounts.c389 ROOT_DEV = current->fs->pwdmnt->mnt_sb->s_dev; in mount_block_root()
391 current->fs->pwdmnt->mnt_sb->s_type->name, in mount_block_root()
392 (current->fs->pwdmnt->mnt_sb->s_flags & MS_RDONLY) ? " readonly" : ""); in mount_block_root()
776 ROOT_DEV = current->fs->pwdmnt->mnt_sb->s_dev; in mount_root()
/linux-2.4.37.9/fs/intermezzo/
Dfileset.c237 fset->fset_mnt = mntget(current->fs->pwdmnt); in presto_set_fsetroot()
420 new.pwdmnt = mnt; in izo_setup_ctxt()
Dkml_reint.c51 ctxt.pwdmnt = dd->dd_fset->fset_mnt; in kmlreint_pre_secure()
54 ctxt.rootmnt = ctxt.pwdmnt; in kmlreint_pre_secure()
/linux-2.4.37.9/fs/proc/
Dbase.c97 *mnt = mntget(fs->pwdmnt); in proc_cwd_link()