Home
last modified time | relevance | path

Searched refs:newmnt (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/afs/
Dmntpt.c184 struct vfsmount *newmnt; in afs_d_automount() local
188 newmnt = afs_mntpt_do_automount(path->dentry); in afs_d_automount()
189 if (IS_ERR(newmnt)) in afs_d_automount()
190 return newmnt; in afs_d_automount()
192 mntget(newmnt); /* prevent immediate expiration */ in afs_d_automount()
193 mnt_set_expiry(newmnt, &afs_vfsmounts); in afs_d_automount()
196 _leave(" = %p", newmnt); in afs_d_automount()
197 return newmnt; in afs_d_automount()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_dfs_ref.c397 struct vfsmount *newmnt; in cifs_dfs_d_automount() local
401 newmnt = cifs_dfs_do_automount(path->dentry); in cifs_dfs_d_automount()
402 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()
404 return newmnt; in cifs_dfs_d_automount()
407 mntget(newmnt); /* prevent immediate expiration */ in cifs_dfs_d_automount()
408 mnt_set_expiry(newmnt, &cifs_dfs_automount_list); in cifs_dfs_d_automount()
412 return newmnt; in cifs_dfs_d_automount()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dautomount-support.rst53 mnt_set_expiry(newmnt, &afs_vfsmounts);
/kernel/linux/linux-5.10/fs/
Dnamespace.c2784 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount() argument
2801 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && in do_add_mount()
2805 if (d_is_symlink(newmnt->mnt.mnt_root)) in do_add_mount()
2808 newmnt->mnt.mnt_flags = mnt_flags; in do_add_mount()
2809 return graft_tree(newmnt, parent, mp); in do_add_mount()