Searched refs:metacopy (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/fs/overlayfs/ |
| H A D | params.c | 43 MODULE_PARM_DESC(metacopy, 655 config->metacopy = result.uint_32; in ovl_parse_param() 656 ctx->set.metacopy = true; in ovl_parse_param() 877 if (set.metacopy) { in ovl_fs_params_verify() 883 config->metacopy = true; in ovl_fs_params_verify() 912 config->metacopy = false; in ovl_fs_params_verify() 947 if (set.metacopy) { in ovl_fs_params_verify() 968 config->metacopy = false; in ovl_fs_params_verify() 981 if (config->metacopy && set.metacopy) { in ovl_fs_params_verify() 997 config->metacopy = false; in ovl_fs_params_verify() [all …]
|
| H A D | namei.c | 27 int metacopy; member 277 d->metacopy = err; in ovl_lookup_single() 278 d->stop = !d->metacopy; in ovl_lookup_single() 279 if (!d->metacopy || d->last) in ovl_lookup_single() 1056 .metacopy = 0, in ovl_lookup() 1090 if (d.metacopy) in ovl_lookup() 1092 metacopy_size = d.metacopy; in ovl_lookup() 1129 if ((uppermetacopy || d.metacopy) && !ofs->config.metacopy) { in ovl_lookup() 1171 metacopy_size = d.metacopy; in ovl_lookup() 1173 if (d.metacopy && ctr) { in ovl_lookup() [all …]
|
| H A D | util.c | 1302 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument 1304 size_t len = metacopy->len; in ovl_set_metacopy_xattr() 1307 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr() 1311 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr() 1452 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument 1467 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest() 1478 metacopy->len += digest_size; in ovl_get_verity_digest()
|
| H A D | copy_up.c | 591 bool metacopy; member 647 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data() 696 if (c->metacopy) { in ovl_copy_up_metadata() 844 if (!c->metacopy) in ovl_copy_up_workdir() 884 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile() 917 if (!c->metacopy) in ovl_copy_up_tmpfile() 1038 if (!ofs->config.metacopy) in ovl_need_meta_copy_up() 1170 ctx.metadata_fsync = !OVL_FS(dentry->d_sb)->config.metacopy && in ovl_copy_up_one() 1172 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
|
| H A D | params.h | 14 bool metacopy; member
|
| H A D | Kconfig | 119 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 D | overlayfs.h | 171 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() 540 struct ovl_metacopy *metacopy); 548 struct ovl_metacopy *metacopy); 621 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
|
| H A D | ovl_entry.h | 19 bool metacopy; member
|
| H A D | super.c | 723 if (ofs->config.metacopy) { in ovl_make_workdir() 724 ofs->config.metacopy = false; in ovl_make_workdir() 1456 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | overlayfs.rst | 382 When the "metacopy" feature is enabled, overlayfs will only copy 396 parameter metacopy=on/off. Lastly, there is also a per mount option 397 metacopy=on/off to enable/disable this feature per mount. 407 conflict with metacopy=on, and will result in an error. 481 each the time the metacopy file is opened. 499 for all metacopy files. If additionally the untrusted lower 508 The metacopy digest is never generated or used. This is the 511 Whenever a metacopy files specifies an expected digest, the 513 generating a metacopy file the verity digest will be set in it 552 For the "metacopy" feature, there is no verification mechanism at [all …]
|