Lines Matching full:layers

234 	/* Hack!  Reuse ofs->layers as a vfsmount array before freeing it */  in ovl_free_fs()
235 mounts = (struct vfsmount **) ofs->layers; in ovl_free_fs()
237 iput(ofs->layers[i].trap); in ovl_free_fs()
238 mounts[i] = ofs->layers[i].mnt; in ovl_free_fs()
241 kfree(ofs->layers); in ovl_free_fs()
944 * file handles, so they require that all layers support them. in ovl_lower_dir()
1216 pr_err("upper fs is r/o, try multi-lower layers mount\n"); in ovl_get_upper()
1632 * as all lower layers with null uuid are on the same fs. in ovl_lower_uuid_ok()
1694 struct ovl_layer *layers) in ovl_get_layers() argument
1708 * All lower layers that share the same fs as upper layer, use the same in ovl_get_layers()
1734 * Check if lower root conflicts with this overlay layers before in ovl_get_layers()
1761 * Make lower layers R/O. That way fchmod/fchown on lower file in ovl_get_layers()
1766 layers[ofs->numlayer].trap = trap; in ovl_get_layers()
1767 layers[ofs->numlayer].mnt = mnt; in ovl_get_layers()
1768 layers[ofs->numlayer].idx = ofs->numlayer; in ovl_get_layers()
1769 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers()
1770 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers()
1776 * When all layers on same fs, overlay can use real inode numbers. in ovl_get_layers()
1786 pr_info("\"xino=on\" is useless with all layers on same fs, ignore.\n"); in ovl_get_layers()
1814 struct ovl_fs *ofs, struct ovl_layer *layers) in ovl_get_lowerstack() argument
1846 err = ovl_get_layers(sb, ofs, stack, numlower, layers); in ovl_get_lowerstack()
1857 oe->lowerstack[i].layer = &ofs->layers[i+1]; in ovl_get_lowerstack()
1908 * Check if any of the layers or work dirs overlap.
1936 ofs->layers[i].mnt->mnt_root, in ovl_check_overlapping_layers()
1989 struct ovl_layer *layers; in ovl_fill_super() local
2044 layers = kcalloc(numlower + 1, sizeof(struct ovl_layer), GFP_KERNEL); in ovl_fill_super()
2045 if (!layers) in ovl_fill_super()
2048 ofs->layers = layers; in ovl_fill_super()
2076 err = ovl_get_upper(sb, ofs, &layers[0], &upperpath); in ovl_fill_super()
2100 oe = ovl_get_lowerstack(sb, splitlower, numlower, ofs, layers); in ovl_fill_super()