Searched refs:metacopy (Results 1 - 8 of 8) sorted by relevance
/linux-master/fs/overlayfs/ |
H A D | params.h | 14 bool metacopy; member in struct:ovl_opt_set
|
H A D | params.c | 42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644); 43 MODULE_PARM_DESC(metacopy, 159 fsparam_enum("metacopy", Opt_metacopy, ovl_parameter_bool), 618 config->metacopy = result.uint_32; 619 ctx->set.metacopy = true; 735 ofs->config.metacopy = ovl_metacopy_def; 789 if (ctx->nr_data > 0 && !config->metacopy) { 790 pr_err("lower data-only dirs require metacopy support.\n"); 819 /* Resolve verity -> metacopy dependency */ 820 if (config->verity_mode && !config->metacopy) { [all...] |
H A D | namei.c | 29 int metacopy; member in struct:ovl_lookup_data 263 * found a metacopy dentry. 265 if (last_element && d->metacopy && !d_is_reg(this)) { 279 d->metacopy = err; 280 d->stop = !d->metacopy; 281 if (!d->metacopy || d->last) 936 pr_warn_ratelimited("metacopy file '%pd' has no digest specified\n", 1058 .metacopy = 0, 1092 if (d.metacopy) 1094 metacopy_size = d.metacopy; [all...] |
H A D | ovl_entry.h | 19 bool metacopy; member in struct:ovl_config
|
H A D | util.c | 318 * ovl_dentry_lower() could return either a data dentry or metacopy dentry 320 * lower dentry which has data (and not metacopy dentry). This helper 395 /* Return inode which contains lower data. Do not return metacopy */ 406 /* Return real inode which contains data. Does not return metacopy inode */ 852 #define OVL_XATTR_METACOPY_POSTFIX "metacopy" 1237 * err < 0, 0 if no metacopy xattr, metacopy data size if xattr found. 1245 /* Only regular files can have metacopy xattr */ 1257 * tell the caller that this is not a metacopy inode. 1265 /* Emulate empty data for zero size metacopy xatt 1294 ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) argument 1443 ovl_get_verity_digest(struct ovl_fs *ofs, struct path *src, struct ovl_metacopy *metacopy) argument [all...] |
H A D | copy_up.c | 575 bool metacopy; member in struct:ovl_copy_up_ctx 630 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) 678 if (c->metacopy) { 822 if (!c->metacopy) 862 if (!c->metacopy && c->stat.size) { 894 if (!c->metacopy) 1015 if (!ofs->config.metacopy) 1138 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); 1195 * We may not need lowerdata if we are only doing metacopy up, but it is
|
H A D | overlayfs.h | 158 /* On-disk format for "metacopy" xattr (if non-zero size) */ 171 static inline int ovl_metadata_digest_size(const struct ovl_metacopy *metacopy) argument 173 if (metacopy->len < OVL_METACOPY_MIN_SIZE) 175 return (int)metacopy->len - OVL_METACOPY_MIN_SIZE; 543 struct ovl_metacopy *metacopy); 553 struct ovl_metacopy *metacopy); 626 return (!ofs->config.index && !ofs->config.metacopy &&
|
H A D | super.c | 710 if (ofs->config.metacopy) { 711 ofs->config.metacopy = false; 712 pr_warn("...falling back to metacopy=off.\n"); 1432 if (ofs->config.metacopy && ofs->config.nfs_export) {
|
Completed in 145 milliseconds