Home
last modified time | relevance | path

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

/linux/fs/overlayfs/
H A Dovl_entry.h126 static inline unsigned int ovl_numlower(struct ovl_entry *oe) in ovl_numlower() function
133 return ovl_numlower(oe) ? oe->__lowerstack : NULL; in ovl_lowerstack()
H A Dutil.c159 ovl_stack_put(ovl_lowerstack(oe), ovl_numlower(oe)); in ovl_free_entry()
194 for (i = 0; i < ovl_numlower(oe) && lowerstack[i].dentry; i++) in ovl_dentry_init_flags()
225 if (ovl_numlower(oe)) { in ovl_path_type()
233 if (ovl_numlower(oe) > 1) in ovl_path_type()
252 if (ovl_numlower(oe)) { in ovl_path_lower()
315 return ovl_numlower(oe) ? ovl_lowerstack(oe)->dentry : NULL; in ovl_dentry_lower()
322 return ovl_numlower(oe) ? ovl_lowerstack(oe)->layer : NULL; in ovl_layer_lower()
342 if (WARN_ON_ONCE(ovl_numlower(oe) <= 1)) in ovl_dentry_set_lowerdata()
1327 return (ovl_numlower(oe) > 1); in ovl_is_metacopy_dentry()
H A Dnamei.c880 return ovl_numlower(oe) ? 1 : -1; in ovl_path_next()
884 BUG_ON(idx > ovl_numlower(oe)); in ovl_path_next()
889 return (idx < ovl_numlower(oe)) ? idx + 1 : -1; in ovl_path_next()
1054 .last = ovl_redirect_follow(ofs) ? false : !ovl_numlower(poe), in ovl_lookup()
1106 if (!d.stop && ovl_numlower(poe)) { in ovl_lookup()
1113 for (i = 0; !d.stop && i < ovl_numlower(poe); i++) { in ovl_lookup()
1117 d.last = i == ovl_numlower(poe) - 1; in ovl_lookup()
1119 d.last = lower.layer->idx == ovl_numlower(roe); in ovl_lookup()
1393 for (i = 0; !done && !positive && i < ovl_numlower(poe); i++) { in ovl_lower_positive()
H A Dexport.c78 return ovl_numlower(oe); in ovl_connectable_layer()
344 for (i = 0; i < ovl_numlower(oe); i++) { in ovl_dentry_real_at()
H A Dsuper.c141 for (i = 0; ret > 0 && i < ovl_numlower(oe); i++) in ovl_dentry_revalidate_common()
200 ovl_stack_put(ovl_lowerstack(oi->oe), ovl_numlower(oi->oe)); in ovl_destroy_inode()
1279 for (int i = 0; i < ovl_numlower(oe) - 1; i++, lowerpath++) { in ovl_get_root()