Lines Matching refs:oe
59 static void ovl_entry_stack_free(struct ovl_entry *oe) in ovl_entry_stack_free() argument
63 for (i = 0; i < oe->numlower; i++) in ovl_entry_stack_free()
64 dput(oe->lowerstack[i].dentry); in ovl_entry_stack_free()
74 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_release() local
76 if (oe) { in ovl_dentry_release()
77 ovl_entry_stack_free(oe); in ovl_dentry_release()
78 kfree_rcu(oe, rcu); in ovl_dentry_release()
121 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_revalidate() local
125 for (i = 0; i < oe->numlower; i++) { in ovl_dentry_revalidate()
126 struct dentry *d = oe->lowerstack[i].dentry; in ovl_dentry_revalidate()
144 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_weak_revalidate() local
148 for (i = 0; i < oe->numlower; i++) { in ovl_dentry_weak_revalidate()
149 struct dentry *d = oe->lowerstack[i].dentry; in ovl_dentry_weak_revalidate()
1128 static int ovl_get_indexdir(struct ovl_fs *ofs, struct ovl_entry *oe, in ovl_get_indexdir() argument
1139 err = ovl_verify_origin(upperpath->dentry, oe->lowerstack[0].dentry, in ovl_get_indexdir()
1294 struct ovl_entry *oe; in ovl_get_lowerstack() local
1344 oe = ovl_alloc_entry(numlower); in ovl_get_lowerstack()
1345 if (!oe) in ovl_get_lowerstack()
1349 oe->lowerstack[i].dentry = dget(stack[i].dentry); in ovl_get_lowerstack()
1350 oe->lowerstack[i].layer = &ofs->lower_layers[i]; in ovl_get_lowerstack()
1364 return oe; in ovl_get_lowerstack()
1367 oe = ERR_PTR(err); in ovl_get_lowerstack()
1375 struct ovl_entry *oe; in ovl_fill_super() local
1431 oe = ovl_get_lowerstack(sb, ofs); in ovl_fill_super()
1432 err = PTR_ERR(oe); in ovl_fill_super()
1433 if (IS_ERR(oe)) in ovl_fill_super()
1441 err = ovl_get_indexdir(ofs, oe, &upperpath); in ovl_fill_super()
1485 root_dentry->d_fsdata = oe; in ovl_fill_super()
1506 ovl_entry_stack_free(oe); in ovl_fill_super()
1507 kfree(oe); in ovl_fill_super()