Lines Matching defs:dir
52 * The overlay dentry /a is NOT "layer 2 connectable", because if dir /a is
53 * copied up and renamed, upper dir /a will be indexed by lower dir /a from
54 * layer 1. The dir /a from layer 2 will never be indexed, so the algorithm (*)
66 * entry /a in the lower layers above layer N and find the indexed dir /a from
69 * example above, /a will be "layer 2 connectable". However, if layer 2 dir /a
86 * If it's an unindexed merge dir, then it's not connectable with any
176 * (*) Connecting an overlay dir from real lower dentry is not always
178 * To mitigate those case, we may copy up the lower dir ancestor before encode
179 * a lower dir file handle.
202 * Decoding a merge dir, whose origin's ancestor is under a redirected
203 * lower dir or under a non-indexed upper is not always possible.
210 /* Lower file handle for indexed and non-upper dir/non-dir */
366 struct inode *dir = d_inode(connected);
372 * Lookup child overlay dentry by real name. The dir mutex protects us
375 * connected overlay dir, we return -ECHILD and restart the lookup of
378 inode_lock_nested(dir, I_MUTEX_PARENT);
408 inode_unlock(dir);
435 * Decoding upper dir from index is expensive, so first try to lookup
447 * For decoded lower dir file handle, lookup index by origin to check
448 * if lower dir was copied up and and/or removed.
456 /* Get connected upper overlay dir from index */
655 * Obtain a disconnected overlay dentry from a non-dir real dentry
732 /* Then try to get a connected upper dir by index */
759 /* Get a connected non-upper dir or disconnected non-dir */
846 * ovl_fh_to_dentry() returns connected dir overlay dentries and
856 * ovl_fh_to_dentry() returns connected dir overlay dentries, so we