Home
last modified time | relevance | path

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

/linux/fs/overlayfs/
H A Dparams.c42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
43 MODULE_PARM_DESC(metacopy,
662 config->metacopy = result.uint_32; in ovl_parse_param()
663 ctx->set.metacopy = true; in ovl_parse_param()
802 ofs->config.metacopy = ovl_metacopy_def; in ovl_init_fs_context()
891 if (config->metacopy && config->redirect_mode != OVL_REDIRECT_ON) { in ovl_fs_params_verify()
892 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
904 config->metacopy = false; in ovl_fs_params_verify()
934 if (config->nfs_export && config->metacopy) { in ovl_fs_params_verify()
935 if (set.nfs_export && set.metacopy) { in ovl_fs_params_verify()
[all …]
H A Dnamei.c30 int metacopy; member
292 if (last_element && d->metacopy && !d_is_reg(this)) { in ovl_lookup_single()
306 d->metacopy = err; in ovl_lookup_single()
307 d->stop = !d->metacopy; in ovl_lookup_single()
308 if (!d->metacopy || d->last) in ovl_lookup_single()
1068 if (d->metacopy && !ofs->config.metacopy) { in ovl_check_follow_redirect()
1131 if (d->metacopy) in ovl_lookup_layers()
1133 metacopy_size = d->metacopy; in ovl_lookup_layers()
1209 if (!ctx->upperdentry && !d->is_dir && !ctx->ctr && d->metacopy) in ovl_lookup_layers()
1210 metacopy_size = d->metacopy; in ovl_lookup_layers()
[all …]
H A Dutil.c1299 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument
1301 size_t len = metacopy->len; in ovl_set_metacopy_xattr()
1304 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr()
1308 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr()
1449 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument
1464 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest()
1475 metacopy->len += digest_size; in ovl_get_verity_digest()
H A Dcopy_up.c590 bool metacopy; member
645 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data()
694 if (c->metacopy) { in ovl_copy_up_metadata()
835 if (!c->metacopy) in ovl_copy_up_workdir()
873 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile()
904 if (!c->metacopy) in ovl_copy_up_tmpfile()
1025 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
1157 ctx.metadata_fsync = !OVL_FS(dentry->d_sb)->config.metacopy && in ovl_copy_up_one()
1159 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 DKconfig119 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 Dovl_entry.h19 bool metacopy; member
H A Dsuper.c736 if (ofs->config.metacopy) { in ovl_make_workdir()
737 ofs->config.metacopy = false; in ovl_make_workdir()
1500 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super_creds()