Home
last modified time | relevance | path

Searched refs:numlower (Results 1 – 7 of 7) sorted by relevance

/fs/overlayfs/
Dutil.c95 struct ovl_entry *ovl_alloc_entry(unsigned int numlower) in ovl_alloc_entry() argument
97 size_t size = offsetof(struct ovl_entry, lowerstack[numlower]); in ovl_alloc_entry()
101 oe->numlower = numlower; in ovl_alloc_entry()
136 for (i = 0; i < oe->numlower; i++) in ovl_dentry_init_flags()
164 if (oe->numlower) { in ovl_path_type()
172 if (oe->numlower > 1) in ovl_path_type()
190 if (oe->numlower) { in ovl_path_lower()
202 if (oe->numlower) { in ovl_path_lowerdata()
203 path->mnt = oe->lowerstack[oe->numlower - 1].layer->mnt; in ovl_path_lowerdata()
204 path->dentry = oe->lowerstack[oe->numlower - 1].dentry; in ovl_path_lowerdata()
[all …]
Dsuper.c66 for (i = 0; i < oe->numlower; i++) in ovl_entry_stack_free()
160 for (i = 0; ret > 0 && i < oe->numlower; i++) { in ovl_dentry_revalidate_common()
1705 struct path *stack, unsigned int numlower, in ovl_get_layers() argument
1712 ofs->fs = kcalloc(numlower + 1, sizeof(struct ovl_sb), GFP_KERNEL); in ovl_get_layers()
1736 for (i = 0; i < numlower; i++) { in ovl_get_layers()
1825 const char *lower, unsigned int numlower, in ovl_get_lowerstack() argument
1833 if (!ofs->config.upperdir && numlower == 1) { in ovl_get_lowerstack()
1838 stack = kcalloc(numlower, sizeof(struct path), GFP_KERNEL); in ovl_get_lowerstack()
1843 for (i = 0; i < numlower; i++) { in ovl_get_lowerstack()
1858 err = ovl_get_layers(sb, ofs, stack, numlower, layers); in ovl_get_lowerstack()
[all …]
Dnamei.c791 return oe->numlower ? 1 : -1; in ovl_path_next()
794 BUG_ON(idx > oe->numlower); in ovl_path_next()
798 return (idx < oe->numlower) ? idx + 1 : -1; in ovl_path_next()
848 .last = ofs->config.redirect_follow ? false : !poe->numlower, in ovl_lookup()
898 if (!d.stop && poe->numlower) { in ovl_lookup()
906 for (i = 0; !d.stop && i < poe->numlower; i++) { in ovl_lookup()
910 d.last = i == poe->numlower - 1; in ovl_lookup()
912 d.last = lower.layer->idx == roe->numlower; in ovl_lookup()
1092 .numlower = ctr, in ovl_lookup()
1161 for (i = 0; !done && !positive && i < poe->numlower; i++) { in ovl_lower_positive()
Dovl_entry.h121 unsigned numlower; member
125 struct ovl_entry *ovl_alloc_entry(unsigned int numlower);
Dexport.c83 return oe->numlower; in ovl_connectable_layer()
293 .numlower = !!lower in ovl_obtain_alias()
350 for (i = 0; i < oe->numlower; i++) { in ovl_dentry_real_at()
Doverlayfs.h288 struct ovl_entry *ovl_alloc_entry(unsigned int numlower);
515 unsigned int numlower; member
Dinode.c1188 if (((upperdentry && lowerdentry) || oip->numlower > 1) || in ovl_get_inode()