Home
last modified time | relevance | path

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

/openbmc/linux/fs/overlayfs/
H A Dovl_entry.h127 static inline unsigned int ovl_numlower(struct ovl_entry *oe) in ovl_numlower() function
134 return ovl_numlower(oe) ? oe->__lowerstack : NULL; in ovl_lowerstack()
H A Dutil.c128 ovl_stack_put(ovl_lowerstack(oe), ovl_numlower(oe)); in ovl_free_entry()
163 for (i = 0; i < ovl_numlower(oe) && lowerstack[i].dentry; i++) in ovl_dentry_init_flags()
194 if (ovl_numlower(oe)) { in ovl_path_type()
202 if (ovl_numlower(oe) > 1) in ovl_path_type()
221 if (ovl_numlower(oe)) { in ovl_path_lower()
284 return ovl_numlower(oe) ? ovl_lowerstack(oe)->dentry : NULL; in ovl_dentry_lower()
291 return ovl_numlower(oe) ? ovl_lowerstack(oe)->layer : NULL; in ovl_layer_lower()
311 if (WARN_ON_ONCE(ovl_numlower(oe) <= 1)) in ovl_dentry_set_lowerdata()
1205 return (ovl_numlower(oe) > 1); in ovl_is_metacopy_dentry()
H A Dnamei.c862 return ovl_numlower(oe) ? 1 : -1; in ovl_path_next()
865 BUG_ON(idx > ovl_numlower(oe)); in ovl_path_next()
869 return (idx < ovl_numlower(oe)) ? idx + 1 : -1; in ovl_path_next()
1027 .last = ovl_redirect_follow(ofs) ? false : !ovl_numlower(poe), in ovl_lookup()
1079 if (!d.stop && ovl_numlower(poe)) { in ovl_lookup()
1086 for (i = 0; !d.stop && i < ovl_numlower(poe); i++) { in ovl_lookup()
1090 d.last = i == ovl_numlower(poe) - 1; in ovl_lookup()
1092 d.last = lower.layer->idx == ovl_numlower(roe); in ovl_lookup()
1364 for (i = 0; !done && !positive && i < ovl_numlower(poe); i++) { in ovl_lower_positive()
H A Dexport.c83 return ovl_numlower(oe); in ovl_connectable_layer()
370 for (i = 0; i < ovl_numlower(oe); i++) { in ovl_dentry_real_at()
H A Dsuper.c124 for (i = 0; ret > 0 && i < ovl_numlower(oe); i++) in ovl_dentry_revalidate_common()
182 ovl_stack_put(ovl_lowerstack(oi->oe), ovl_numlower(oi->oe)); in ovl_destroy_inode()
H A Dinode.c1420 if (((upperdentry && lowerdentry) || ovl_numlower(oip->oe) > 1) || in ovl_get_inode()