Searched refs:source_mnt (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/ |
H A D | pnode.c | 276 * mount 'source_mnt' under the destination 'dest_mnt' at 280 * source_mnt. Also link all the new mounts using ->mnt_list 281 * headed at source_mnt's ->mnt_list 285 * @source_mnt: source mount. 289 struct mount *source_mnt, struct hlist_head *tree_list) in propagate_mnt() 300 first_source = source_mnt; in propagate_mnt() 301 last_source = source_mnt; in propagate_mnt() 288 propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, struct mount *source_mnt, struct hlist_head *tree_list) propagate_mnt() argument
|
H A D | namespace.c | 2074 * @source_mnt : mount tree to be attached 2075 * @nd : place the mount tree @source_mnt is attached 2076 * @parent_nd : if non-null, detach the source_mnt from its parent and 2078 * (done when source_mnt is moved) 2136 static int attach_recursive_mnt(struct mount *source_mnt, in attach_recursive_mnt() argument 2152 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt() 2158 err = count_mounts(ns, source_mnt); in attach_recursive_mnt() 2164 err = invent_group_ids(source_mnt, true); in attach_recursive_mnt() 2167 err = propagate_mnt(dest_mnt, dest_mp, source_mnt, &tree_list); in attach_recursive_mnt() 2171 for (p = source_mnt; in attach_recursive_mnt() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | pnode.c | 275 * mount 'source_mnt' under the destination 'dest_mnt' at 279 * source_mnt. Also link all the new mounts using ->mnt_list 280 * headed at source_mnt's ->mnt_list 284 * @source_mnt: source mount. 288 struct mount *source_mnt, struct hlist_head *tree_list) in propagate_mnt() 299 first_source = source_mnt; in propagate_mnt() 300 last_source = source_mnt; in propagate_mnt() 287 propagate_mnt(struct mount *dest_mnt, struct mountpoint *dest_mp, struct mount *source_mnt, struct hlist_head *tree_list) propagate_mnt() argument
|
H A D | namespace.c | 2234 * @source_mnt: mount tree to be attached 2235 * @top_mnt: mount that @source_mnt will be mounted on or mounted beneath 2236 * @dest_mp: the mountpoint @source_mnt will be mounted at 2237 * @flags: modify how @source_mnt is supposed to be attached 2296 * Return: If @source_mnt was successfully attached 0 is returned. 2299 static int attach_recursive_mnt(struct mount *source_mnt, in attach_recursive_mnt() argument 2317 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt() 2323 err = count_mounts(ns, source_mnt); in attach_recursive_mnt() 2334 err = invent_group_ids(source_mnt, true); in attach_recursive_mnt() 2337 err = propagate_mnt(dest_mnt, dest_mp, source_mnt, in attach_recursive_mnt() [all...] |
Completed in 10 milliseconds