Home
last modified time | relevance | path

Searched refs:metacopy (Results 1 – 10 of 10) sorted by relevance

/linux/fs/overlayfs/
H A Dparams.c43 MODULE_PARM_DESC(metacopy,
614 config->metacopy = result.uint_32; in ovl_parse_param()
615 ctx->set.metacopy = true; in ovl_parse_param()
818 if (set.metacopy) { in ovl_fs_params_verify()
824 config->metacopy = true; in ovl_fs_params_verify()
836 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
853 config->metacopy = false; in ovl_fs_params_verify()
888 if (set.metacopy) { in ovl_fs_params_verify()
909 config->metacopy = false; in ovl_fs_params_verify()
922 if (config->metacopy && set.metacopy) { in ovl_fs_params_verify()
[all …]
H A Dnamei.c29 int metacopy; member
279 d->metacopy = err; in ovl_lookup_single()
280 d->stop = !d->metacopy; in ovl_lookup_single()
281 if (!d->metacopy || d->last) in ovl_lookup_single()
1058 .metacopy = 0, in ovl_lookup()
1092 if (d.metacopy) in ovl_lookup()
1094 metacopy_size = d.metacopy; in ovl_lookup()
1131 if ((uppermetacopy || d.metacopy) && !ofs->config.metacopy) { in ovl_lookup()
1173 metacopy_size = d.metacopy; in ovl_lookup()
1175 if (d.metacopy && ctr) { in ovl_lookup()
[all …]
H A Dutil.c1294 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument
1296 size_t len = metacopy->len; in ovl_set_metacopy_xattr()
1299 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr()
1303 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr()
1444 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument
1459 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest()
1470 metacopy->len += digest_size; in ovl_get_verity_digest()
H A Dcopy_up.c575 bool metacopy; member
630 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data()
678 if (c->metacopy) { in ovl_copy_up_metadata()
822 if (!c->metacopy) in ovl_copy_up_workdir()
862 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile()
894 if (!c->metacopy) in ovl_copy_up_tmpfile()
1015 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
1138 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
H A Dparams.h14 bool metacopy; member
H A DKconfig119 possible to turn off this feature globally with the "metacopy=off"
121 "metacopy=off" mount option.
124 mounting an overlay which has metacopy only inodes on a kernel
H A Doverlayfs.h171 static inline int ovl_metadata_digest_size(const struct ovl_metacopy *metacopy) in ovl_metadata_digest_size() argument
173 if (metacopy->len < OVL_METACOPY_MIN_SIZE) in ovl_metadata_digest_size()
175 return (int)metacopy->len - OVL_METACOPY_MIN_SIZE; in ovl_metadata_digest_size()
546 struct ovl_metacopy *metacopy);
556 struct ovl_metacopy *metacopy);
629 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
H A Dovl_entry.h19 bool metacopy; member
H A Dsuper.c710 if (ofs->config.metacopy) { in ovl_make_workdir()
711 ofs->config.metacopy = false; in ovl_make_workdir()
1432 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super()
/linux/Documentation/filesystems/
H A Doverlayfs.rst368 When the "metacopy" feature is enabled, overlayfs will only copy
379 parameter metacopy=on/off. Lastly, there is also a per mount option
380 metacopy=on/off to enable/disable this feature per mount.
390 conflict with metacopy=on, and will result in an error.
447 each the time the metacopy file is opened.
465 for all metacopy files. If additionally the untrusted lower
474 The metacopy digest is never generated or used. This is the
477 Whenever a metacopy files specifies an expected digest, the
479 generating a metacopy file the verity digest will be set in it
518 For the "metacopy" feature, there is no verification mechanism at
[all …]