Searched refs:metacopy (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/fs/overlayfs/ |
D | params.c | 42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644); 43 MODULE_PARM_DESC(metacopy, 592 config->metacopy = result.uint_32; in ovl_parse_param() 593 ctx->set.metacopy = true; in ovl_parse_param() 709 ofs->config.metacopy = ovl_metacopy_def; in ovl_init_fs_context() 765 if (ctx->nr_data > 0 && !config->metacopy) { in ovl_fs_params_verify() 796 if (config->verity_mode && !config->metacopy) { in ovl_fs_params_verify() 798 if (set.metacopy) { in ovl_fs_params_verify() 804 config->metacopy = true; in ovl_fs_params_verify() 815 if (config->metacopy && config->redirect_mode != OVL_REDIRECT_ON) { in ovl_fs_params_verify() [all …]
|
D | namei.c | 28 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 …]
|
D | util.c | 1177 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()
|
D | copy_up.c | 546 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()
|
D | params.h | 14 bool metacopy; member
|
D | overlayfs.h | 159 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() 497 struct ovl_metacopy *metacopy); 507 struct ovl_metacopy *metacopy); 574 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
|
D | Kconfig | 118 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
|
D | ovl_entry.h | 19 bool metacopy; member
|
D | super.c | 770 if (ofs->config.metacopy) { in ovl_make_workdir() 771 ofs->config.metacopy = false; in ovl_make_workdir() 1469 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super()
|
/Linux-v6.6/Documentation/filesystems/ |
D | overlayfs.rst | 369 parameter metacopy=on/off. Lastly, there is also a per mount option 370 metacopy=on/off to enable/disable this feature per mount. 372 Do not use metacopy=on with untrusted upper/lower directories. Otherwise 380 conflict with metacopy=on, and will result in an error. 382 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is 389 With "metacopy" feature enabled, an overlayfs regular file may be a composition 416 when a "metacopy" file in one of the lower layers above it, has a "redirect" 425 digest of the lower file is added to the "trusted.overlay.metacopy" 427 each the time the metacopy file is opened. 430 metacopy file in the upper layer is guaranteed to match the content [all …]
|