Home
last modified time | relevance | path

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

/linux-6.1.9/fs/overlayfs/
Ddir.c326 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_upper() local
327 struct inode *udir = upperdir->d_inode; in ovl_create_upper()
337 upperdir, dentry->d_name.len), in ovl_create_upper()
368 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_clear_empty() local
369 struct inode *udir = upperdir->d_inode; in ovl_clear_empty()
379 err = ovl_lock_rename_workdir(workdir, upperdir); in ovl_clear_empty()
421 unlock_rename(workdir, upperdir); in ovl_clear_empty()
432 unlock_rename(workdir, upperdir); in ovl_clear_empty()
468 struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_create_over_whiteout() local
469 struct inode *udir = upperdir->d_inode; in ovl_create_over_whiteout()
[all …]
Dsuper.c252 kfree(ofs->config.upperdir); in ovl_free_fs()
370 if (ofs->config.upperdir) { in ovl_show_options()
371 seq_show_option(m, "upperdir", ofs->config.upperdir); in ovl_show_options()
541 kfree(config->upperdir); in ovl_parse_opt()
542 config->upperdir = match_strdup(&args[0]); in ovl_parse_opt()
543 if (!config->upperdir) in ovl_parse_opt()
639 if (!config->upperdir) { in ovl_parse_opt()
653 if (!config->upperdir && config->ovl_volatile) { in ovl_parse_opt()
666 if (!config->upperdir && config->redirect_follow) in ovl_parse_opt()
692 if (!config->upperdir && config->redirect_follow) { in ovl_parse_opt()
[all …]
Dovl_entry.h10 char *upperdir; member
Dcopy_up.c516 struct dentry *upperdir = ovl_dentry_upper(c->parent); in ovl_link_up() local
518 struct inode *udir = d_inode(upperdir); in ovl_link_up()
521 err = ovl_set_impure(c->parent, upperdir); in ovl_link_up()
530 upper = ovl_lookup_upper(ofs, c->dentry->d_name.name, upperdir, in ovl_link_up()
539 ovl_set_timestamps(ofs, upperdir, &c->pstat); in ovl_link_up()
Dutil.c954 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir) in ovl_lock_rename_workdir() argument
957 if (workdir == upperdir) in ovl_lock_rename_workdir()
961 if (lock_rename(workdir, upperdir) != NULL) in ovl_lock_rename_workdir()
967 unlock_rename(workdir, upperdir); in ovl_lock_rename_workdir()
Dnamei.c838 struct dentry *upperdir, *upperdentry = NULL; in ovl_lookup() local
864 upperdir = ovl_dentry_upper(dentry->d_parent); in ovl_lookup()
865 if (upperdir) { in ovl_lookup()
867 err = ovl_lookup_layer(upperdir, &d, &upperdentry, true); in ovl_lookup()
Doverlayfs.h434 int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir);
/linux-6.1.9/Documentation/filesystems/
Doverlayfs.rst121 "upperdir" are combined into a merged directory:
123 mount -t overlay overlay -olowerdir=/lower,upperdir=/upper,\
127 as upperdir.
317 mount -t overlay overlay -olowerdir=/lower,upperdir=/upper,... /merged
336 As the example shows, "upperdir=" and "workdir=" may be omitted. In
371 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
592 VFS. If any writeback error occurs on the upperdir's filesystem after a
595 call will return an error, even if the upperdir has not experience a new error
603 not crashed and contents of upperdir are intact, The "volatile" directory