Searched refs:numlower (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/fs/overlayfs/
H A Dsuper.c39 unsigned numlower; member in struct:ovl_fs
60 unsigned numlower; member in struct:ovl_entry
68 return oe->numlower ? oe->lowerstack[0].dentry : NULL; __ovl_dentry_lower()
83 if (oe->numlower && S_ISDIR(dentry->d_inode->i_mode)) ovl_path_type()
88 if (oe->numlower > 1) ovl_path_type()
178 *path = oe->numlower ? oe->lowerstack[0] : (struct path) { NULL, NULL }; ovl_path_lower()
273 for (i = 0; i < oe->numlower; i++) ovl_dentry_release()
284 static struct ovl_entry *ovl_alloc_entry(unsigned int numlower) ovl_alloc_entry() argument
286 size_t size = offsetof(struct ovl_entry, lowerstack[numlower]); ovl_alloc_entry()
290 oe->numlower = numlower; ovl_alloc_entry()
326 return oe->numlower ? 1 : -1; ovl_path_next()
329 BUG_ON(idx > oe->numlower); ovl_path_next()
332 return (idx < oe->numlower) ? idx + 1 : -1; ovl_path_next()
361 } else if (poe->numlower && ovl_is_opaquedir(this)) { ovl_lookup()
368 if (!upperopaque && poe->numlower) { ovl_lookup()
370 stack = kcalloc(poe->numlower, sizeof(struct path), GFP_KERNEL); ovl_lookup()
375 for (i = 0; !upperopaque && i < poe->numlower; i++) { ovl_lookup()
399 if (i < poe->numlower - 1 && ovl_is_opaquedir(this)) ovl_lookup()
478 for (i = 0; i < ufs->numlower; i++) ovl_put_super()
832 unsigned int numlower; ovl_fill_super() local
907 for (numlower = 0; numlower < stacklen; numlower++) { ovl_fill_super()
908 err = ovl_lower_dir(lower, &stack[numlower], ovl_fill_super()
942 ufs->lower_mnt = kcalloc(numlower, sizeof(struct vfsmount *), GFP_KERNEL); ovl_fill_super()
945 for (i = 0; i < numlower; i++) { ovl_fill_super()
959 ufs->lower_mnt[ufs->numlower] = mnt; ovl_fill_super()
960 ufs->numlower++; ovl_fill_super()
970 oe = ovl_alloc_entry(numlower); ovl_fill_super()
979 for (i = 0; i < numlower; i++) ovl_fill_super()
985 for (i = 0; i < numlower; i++) { ovl_fill_super()
1006 for (i = 0; i < ufs->numlower; i++) ovl_fill_super()
1013 for (i = 0; i < numlower; i++) ovl_fill_super()
H A Ddir.c911 * or opaque directory - numlower is zero. Or upper non-dir ovl_rename2()

Completed in 136 milliseconds