Home
last modified time | relevance | path

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

/openbmc/linux/fs/overlayfs/
H A Dparams.c42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
43 MODULE_PARM_DESC(metacopy,
591 config->metacopy = result.uint_32; in ovl_parse_param()
592 ctx->set.metacopy = true; in ovl_parse_param()
708 ofs->config.metacopy = ovl_metacopy_def; in ovl_init_fs_context()
790 if (config->verity_mode && !config->metacopy) { in ovl_fs_params_verify()
792 if (set.metacopy) { in ovl_fs_params_verify()
798 config->metacopy = true; in ovl_fs_params_verify()
809 if (config->metacopy && config->redirect_mode != OVL_REDIRECT_ON) { in ovl_fs_params_verify()
810 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
[all …]
H A Dnamei.c28 int metacopy; member
262 if (last_element && d->metacopy && !d_is_reg(this)) { in ovl_lookup_single()
278 d->metacopy = err; in ovl_lookup_single()
279 d->stop = !d->metacopy; in ovl_lookup_single()
280 if (!d->metacopy || d->last) in ovl_lookup_single()
1029 .metacopy = 0, in ovl_lookup()
1063 if (d.metacopy) in ovl_lookup()
1065 metacopy_size = d.metacopy; in ovl_lookup()
1102 if ((uppermetacopy || d.metacopy) && !ofs->config.metacopy) { in ovl_lookup()
1143 if (!upperdentry && !d.is_dir && !ctr && d.metacopy) in ovl_lookup()
[all …]
H A Dutil.c1180 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument
1182 size_t len = metacopy->len; in ovl_set_metacopy_xattr()
1185 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr()
1189 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr()
1330 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument
1345 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest()
1356 metacopy->len += digest_size; in ovl_get_verity_digest()
H A Dcopy_up.c546 bool metacopy; member
597 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data()
645 if (c->metacopy) { in ovl_copy_up_metadata()
775 if (!c->metacopy) in ovl_copy_up_workdir()
812 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile()
842 if (!c->metacopy) in ovl_copy_up_tmpfile()
938 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
1060 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 Doverlayfs.h159 static inline int ovl_metadata_digest_size(const struct ovl_metacopy *metacopy) in ovl_metadata_digest_size() argument
161 if (metacopy->len < OVL_METACOPY_MIN_SIZE) in ovl_metadata_digest_size()
163 return (int)metacopy->len - OVL_METACOPY_MIN_SIZE; in ovl_metadata_digest_size()
505 struct ovl_metacopy *metacopy);
515 struct ovl_metacopy *metacopy);
582 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
H A DKconfig118 possible to turn off this feature globally with the "metacopy=off"
120 "metacopy=off" mount option.
123 mounting an overlay which has metacopy only inodes on a kernel
H A Dovl_entry.h19 bool metacopy; member
H A Dsuper.c770 if (ofs->config.metacopy) { in ovl_make_workdir()
771 ofs->config.metacopy = false; in ovl_make_workdir()
1472 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super()
/openbmc/openbmc/poky/meta/files/
H A Doverlayfs-etc-preinit.sh.in44 -o index=off,xino=off,redirect_dir=off,metacopy=off \
/openbmc/linux/Documentation/filesystems/
H A Doverlayfs.rst370 parameter metacopy=on/off. Lastly, there is also a per mount option
371 metacopy=on/off to enable/disable this feature per mount.
373 Do not use metacopy=on with untrusted upper/lower directories. Otherwise
381 conflict with metacopy=on, and will result in an error.
383 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
390 With "metacopy" feature enabled, an overlayfs regular file may be a composition
417 when a "metacopy" file in one of the lower layers above it, has a "redirect"
436 digest of the lower file is added to the "trusted.overlay.metacopy"
438 each the time the metacopy file is opened.
441 metacopy file in the upper layer is guaranteed to match the content
[all …]