Home
last modified time | relevance | path

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

/openbmc/linux/fs/overlayfs/
H A Dparams.c43 MODULE_PARM_DESC(metacopy,
591 config->metacopy = result.uint_32; in ovl_parse_param()
592 ctx->set.metacopy = true; in ovl_parse_param()
797 if (set.metacopy) { in ovl_fs_params_verify()
803 config->metacopy = true; in ovl_fs_params_verify()
815 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
832 config->metacopy = false; in ovl_fs_params_verify()
867 if (set.metacopy) { in ovl_fs_params_verify()
888 config->metacopy = false; in ovl_fs_params_verify()
901 if (config->metacopy && set.metacopy) { in ovl_fs_params_verify()
[all …]
H A Dnamei.c28 int metacopy; member
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()
1144 metacopy_size = d.metacopy; in ovl_lookup()
1146 if (d.metacopy && ctr) { in ovl_lookup()
[all …]
H A Dutil.c1177 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument
1179 size_t len = metacopy->len; in ovl_set_metacopy_xattr()
1182 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr()
1186 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr()
1327 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument
1342 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest()
1353 metacopy->len += digest_size; in ovl_get_verity_digest()
H A Dparams.h14 bool metacopy; member
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 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 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 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.
381 conflict with metacopy=on, and will result in an error.
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
456 for all metacopy files. If additionally the untrusted lower
465 The metacopy digest is never generated or used. This is the
468 Whenever a metacopy files specifies an expected digest, the
470 generating a metacopy file the verity digest will be set in it
[all …]