Lines Matching refs:mnt
248 mounts[i] = ofs->layers[i].mnt; in ovl_free_fs()
785 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_workdir_create() local
809 err = ovl_workdir_cleanup(dir, mnt, work, 0); in ovl_workdir_create()
904 if (is_idmapped_mnt(path->mnt)) { in ovl_mount_dir_noesc()
968 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir()
1230 if (__mnt_is_readonly(upperpath->mnt)) { in ovl_get_upper()
1254 upper_layer->mnt = upper_mnt; in ovl_get_upper()
1385 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_make_workdir() local
1392 err = mnt_want_write(mnt); in ovl_make_workdir()
1507 mnt_drop_write(mnt); in ovl_make_workdir()
1522 if (upperpath->mnt != workpath.mnt) { in ovl_get_workdir()
1557 struct vfsmount *mnt = ovl_upper_mnt(ofs); in ovl_get_indexdir() local
1561 err = mnt_want_write(mnt); in ovl_get_indexdir()
1618 mnt_drop_write(mnt); in ovl_get_indexdir()
1660 struct super_block *sb = path->mnt->mnt_sb; in ovl_get_fsid()
1737 struct vfsmount *mnt; in ovl_get_layers() local
1764 mnt = clone_private_mount(&stack[i]); in ovl_get_layers()
1765 err = PTR_ERR(mnt); in ovl_get_layers()
1766 if (IS_ERR(mnt)) { in ovl_get_layers()
1776 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()
1779 layers[ofs->numlayer].mnt = mnt; in ovl_get_layers()
1948 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
2172 mntput(upperpath.mnt); in ovl_fill_super()