Home
last modified time | relevance | path

Searched refs:ovl_numlower (Results 1 – 4 of 4) sorted by relevance

/linux/fs/overlayfs/
H A Dovl_entry.h128 static inline unsigned int ovl_numlower(struct ovl_entry *oe) in ovl_numlower() function
135 return ovl_numlower(oe) ? oe->__lowerstack : NULL; in ovl_lowerstack()
H A Dnamei.c914 return ovl_numlower(oe) ? 1 : -1; in ovl_path_next()
918 BUG_ON(idx > ovl_numlower(oe)); in ovl_path_next()
923 return (idx < ovl_numlower(oe)) ? idx + 1 : -1; in ovl_path_next()
1147 if (!d->stop && ovl_numlower(poe)) { in ovl_lookup_layers()
1154 for (i = 0; !d->stop && i < ovl_numlower(poe); i++) { in ovl_lookup_layers()
1163 d->last = i == ovl_numlower(poe) - 1; in ovl_lookup_layers()
1165 d->last = lower.layer->idx == ovl_numlower(roe); in ovl_lookup_layers()
1396 .last = check_redirect ? false : !ovl_numlower(poe), in ovl_lookup()
1444 for (i = 0; !done && !positive && i < ovl_numlower(poe); i++) { in ovl_lower_positive()
H A Dutil.c155 ovl_stack_put(ovl_lowerstack(oe), ovl_numlower(oe)); in ovl_free_entry()
190 for (i = 0; i < ovl_numlower(oe) && lowerstack[i].dentry; i++) in ovl_dentry_init_flags()
228 if (ovl_numlower(oe)) { in ovl_path_type()
236 if (ovl_numlower(oe) > 1) in ovl_path_type()
255 if (ovl_numlower(oe)) { in ovl_path_lower()
320 return ovl_numlower(oe) ? ovl_lowerstack(oe)->dentry : NULL; in ovl_dentry_lower()
327 return ovl_numlower(oe) ? ovl_lowerstack(oe)->layer : NULL; in ovl_layer_lower()
347 if (WARN_ON_ONCE(ovl_numlower(oe) <= 1)) in ovl_dentry_set_lowerdata()
1324 return (ovl_numlower(oe) > 1); in ovl_is_metacopy_dentry()
H A Dsuper.c149 for (i = 0; ret > 0 && i < ovl_numlower(oe); i++) in ovl_dentry_revalidate_common()
218 ovl_stack_put(ovl_lowerstack(oi->oe), ovl_numlower(oi->oe)); in ovl_destroy_inode()
1336 for (int i = 0; i < ovl_numlower(oe) - 1; i++, lowerpath++) { in ovl_get_root()