Lines Matching defs:parent
575 * @parent: inode for parent directory
576 * @child: inode for file being looked up, opened, or linked into @parent
579 * situation where the parent directory is encrypted (either before allowing
590 int fscrypt_has_permitted_context(struct inode *parent, struct inode *child)
600 /* No restrictions if the parent directory is unencrypted */
601 if (!IS_ENCRYPTED(parent))
609 * Both parent and child are encrypted, so verify they use the same
623 err = fscrypt_get_encryption_info(parent);
630 err = fscrypt_get_policy(parent, &parent_policy);