Lines Matching full:upper

33 	struct dentry *upper, *lower;  in ovl_d_real()  local
49 upper = ovl_dentry_upper(dentry); in ovl_d_real()
50 if (upper && (type == D_REAL_METADATA || in ovl_d_real()
52 return upper; in ovl_d_real()
110 struct dentry *upper; in ovl_dentry_revalidate_common() local
120 upper = ovl_i_dentry_upper(inode); in ovl_dentry_revalidate_common()
121 if (upper) in ovl_dentry_revalidate_common()
122 ret = ovl_revalidate_real(upper, flags, weak); in ovl_dentry_revalidate_common()
197 /* Sync real dirty inodes in upper filesystem (if it exists) */
237 * Get the filesystem statistics. As writes always target the upper layer
238 * filesystem pass the statfs to the upper filesystem (if it exists)
331 * allowed as upper are limited to "normal" ones, where checking in ovl_workdir_create()
482 pr_err("upper fs is r/o, try multi-lower layers mount\n"); in ovl_get_upper()
662 * Upper should support d_type, else whiteouts are visible. Given in ovl_make_workdir()
663 * workdir and upper are on same fs, we can do iterate_dir() on in ovl_make_workdir()
673 pr_warn("upper fs needs to support d_type.\n"); in ovl_make_workdir()
675 /* Check if upper/work fs supports O_TMPFILE */ in ovl_make_workdir()
681 pr_warn("upper fs does not support tmpfile.\n"); in ovl_make_workdir()
684 /* Check if upper/work fs supports RENAME_WHITEOUT */ in ovl_make_workdir()
691 pr_warn("upper fs does not support RENAME_WHITEOUT.\n"); in ovl_make_workdir()
694 * Check if upper/work fs supports (trusted|user).overlay.* xattr in ovl_make_workdir()
698 pr_warn("failed to set xattr on upper\n"); in ovl_make_workdir()
732 * We allowed sub-optimal upper fs configuration and don't want to break in ovl_make_workdir()
733 * users over kernel upgrade, but we never allowed remote upper fs, so in ovl_make_workdir()
734 * we can enforce strict requirements for remote upper fs. in ovl_make_workdir()
738 pr_err("upper fs missing required features.\n"); in ovl_make_workdir()
755 /* Check if upper/work fs supports file handles */ in ovl_make_workdir()
759 pr_warn("upper fs does not support file handles, falling back to index=off.\n"); in ovl_make_workdir()
763 /* Check if upper fs has 32bit inode numbers */ in ovl_make_workdir()
828 /* Verify lower root is upper root origin */ in ovl_get_indexdir()
831 pr_err("failed to verify upper root origin\n"); in ovl_get_indexdir()
851 * Verify upper root is exclusively associated with index dir. in ovl_get_indexdir()
852 * Older kernels stored upper fh in ".overlay.origin" in ovl_get_indexdir()
854 * upper dir file handle. In any case, verify or set xattr in ovl_get_indexdir()
855 * ".overlay.upper" to indicate that index may have in ovl_get_indexdir()
868 pr_err("failed to verify index dir 'upper' xattr\n"); in ovl_get_indexdir()
897 * lower inode of non-dir upper. in ovl_lower_uuid_ok()
988 * idx/fsid 0 are reserved for upper fs even with lower only overlay in ovl_get_layers()
994 * All lower layers that share the same fs as upper layer, use the same in ovl_get_layers()
995 * pseudo_dev as upper layer. Allocate fs[0].pseudo_dev even for lower in ovl_get_layers()
997 * is_lower will be set if upper fs is shared with a lower layer. in ovl_get_layers()
1001 pr_err("failed to get anonymous bdev for upper fs\n"); in ovl_get_layers()
1087 * fsid, where fsid 0 is reserved for upper fs (even with in ovl_get_layers()
1097 pr_info("\"xino\" feature enabled using %d upper inode bits.\n", in ovl_get_layers()
1163 * - upper/work dir of any overlayfs instance
1252 /* Root inode uses upper st_ino/i_ino */ in ovl_get_root()
1330 * Layer 0 is reserved for upper even if there's no upper. in ovl_fill_super()
1362 err = ovl_get_upper(sb, ofs, &layers[0], &ctx->upper); in ovl_fill_super()
1376 err = ovl_get_workdir(sb, ofs, &ctx->upper, &ctx->work); in ovl_fill_super()
1391 /* If the upper fs is nonexistent, we mark overlayfs r/o too */ in ovl_fill_super()
1396 pr_warn("The uuid=off requires a single fs for lower and upper, falling back to uuid=null.\n"); in ovl_fill_super()
1400 ovl_init_uuid_xattr(sb, ofs, &ctx->upper); in ovl_fill_super()
1404 err = ovl_get_indexdir(sb, ofs, oe, &ctx->upper); in ovl_fill_super()
1453 * for the the upper layer instead of overlayfs as that would in ovl_fill_super()
1460 root_dentry = ovl_get_root(sb, ctx->upper.dentry, oe); in ovl_fill_super()