Lines Matching defs:new

143  * Allocate a new peer group ID
798 struct mountpoint *mp, *new = NULL;
813 if (!new)
814 new = kmalloc(sizeof(struct mountpoint), GFP_KERNEL);
815 if (!new)
831 /* Add the new mountpoint to the hash table */
833 new->m_dentry = dget(dentry);
834 new->m_count = 1;
835 hlist_add_head(&new->m_hash, mp_hash(dentry));
836 INIT_HLIST_HEAD(&new->m_list);
839 mp = new;
840 new = NULL;
842 kfree(new);
941 * @new_mp: the new mountpoint of @top_mnt on @new_parent
974 * @mnt: the new mount
975 * @mp: the new mountpoint
1364 * Make a mount point inaccessible to new lookups.
2097 * This creates a new vfsmount, which will be the clone of @path. The new mount
2288 * (*) the mount continues to be a slave at the new location.
2314 * Preallocate a mountpoint in case the new mounts need to be
2413 * against concurrent removal of the new mountpoint from another mount
3255 * Create a new mount using a superblock configuration and request it
3296 * create a new mount for userspace and request it to be added into the
3367 /* The new mount record should have at least 2 refs to prevent it being
3762 struct mount *new;
3783 new = copy_tree(old, old->mnt.mnt_root, copy_flags);
3784 if (IS_ERR(new)) {
3787 return ERR_CAST(new);
3791 lock_mnt_tree(new);
3794 new_ns->root = new;
3795 list_add_tail(&new_ns->list, &new->mnt_list);
3798 * Second pass: switch the tsk->fs->* elements and mark new vfsmounts
3799 * as belonging to new namespace. We have already acquired a private
3803 q = new;
3818 q = next_mnt(q, new);
3937 * Create a kernel mount representation for a new, prepared superblock
4063 * fsopen()/fsmount() this is used to install a new mount and in combination
4155 * makes new_root as the new root file system of the current process, and sets
4180 struct path new, old, root;
4189 LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &new);
4198 error = security_sb_pivotroot(&old, &new);
4209 new_mnt = real_mount(new.mnt);
4223 if (d_unlinked(new.dentry))
4233 if (!path_mounted(&new))
4238 if (!is_path_reachable(old_mnt, old.dentry, &new))
4240 /* make certain new is below the root */
4241 if (!is_path_reachable(new_mnt, new.dentry, &root))
4260 chroot_fs_refs(&root, &new);
4271 path_put(&new);
4328 * @kattr: the new mount attributes
4331 * Check whether thew new mount attributes in @kattr allow concurrent writers.
4867 * than the proposed new mount.