Lines Matching defs:child
616 * @child: inode for file being looked up, opened, or linked into @parent
630 int fscrypt_has_permitted_context(struct inode *parent, struct inode *child)
636 if (!S_ISREG(child->i_mode) && !S_ISDIR(child->i_mode) &&
637 !S_ISLNK(child->i_mode))
645 if (!IS_ENCRYPTED(child))
649 * Both parent and child are encrypted, so verify they use the same
666 err = fscrypt_get_encryption_info(child, true);
671 err2 = fscrypt_get_policy(child, &child_policy);
674 * Allow the case where the parent and child both have an unrecognized