Lines Matching refs:dir
200 static int __ext4fs_dirhash(const struct inode *dir, const char *name, int len, in __ext4fs_dirhash() argument
267 if (fscrypt_has_encryption_key(dir)) { in __ext4fs_dirhash()
268 combined_hash = fscrypt_fname_siphash(dir, &qname); in __ext4fs_dirhash()
270 ext4_warning_inode(dir, "Siphash requires key"); in __ext4fs_dirhash()
281 ext4_warning(dir->i_sb, in __ext4fs_dirhash()
294 int ext4fs_dirhash(const struct inode *dir, const char *name, int len, in ext4fs_dirhash() argument
298 const struct unicode_map *um = dir->i_sb->s_encoding; in ext4fs_dirhash()
303 if (len && IS_CASEFOLDED(dir) && in ext4fs_dirhash()
304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
315 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
322 return __ext4fs_dirhash(dir, name, len, hinfo); in ext4fs_dirhash()