Searched refs:calc_hash (Results 1 – 3 of 3) sorted by relevance
462 xfs_dahash_t calc_hash; in xchk_xattr_rec() local507 calc_hash = xfs_da_hashname(lentry->nameval, lentry->namelen); in xchk_xattr_rec()515 calc_hash = xfs_da_hashname(rentry->name, rentry->namelen); in xchk_xattr_rec()517 if (calc_hash != hash) in xchk_xattr_rec()
166 xfs_dahash_t calc_hash; in xchk_dir_rec() local252 calc_hash = xfs_dir2_hashname(mp, &dname); in xchk_dir_rec()253 if (calc_hash != hash) in xchk_dir_rec()
117 static int calc_hash(struct crypto_shash *alg,147 ret = calc_hash(alg, data, datalen, digest);