Lines Matching refs:hash
523 __u32 hash = le32_to_cpu(header->h_hash);
527 hash, bh->b_blocknr);
661 __u32 hash = le32_to_cpu(HDR(bh)->h_hash);
668 oe = mb_cache_entry_delete_or_get(ea_block_cache, hash,
874 __u32 hash = le32_to_cpu(HDR(bh)->h_hash);
877 error = mb_cache_entry_create(cache, GFP_NOFS, hash, bh->b_blocknr,
885 ea_bdebug(bh, "inserting [%x]", (int)hash);
940 __u32 hash = le32_to_cpu(header->h_hash);
946 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash);
948 ce = mb_cache_entry_find_first(ea_block_cache, hash);
986 * Compute the hash of an extended attribute.
991 __u32 hash = 0;
996 hash = (hash << NAME_HASH_SHIFT) ^
997 (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^
1006 hash = (hash << VALUE_HASH_SHIFT) ^
1007 (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^
1011 entry->e_hash = cpu_to_le32(hash);
1022 * Re-compute the extended attribute hash value after an entry has changed.
1028 __u32 hash = 0;
1034 /* Block is not shared if an entry's hash value == 0 */
1035 hash = 0;
1038 hash = (hash << BLOCK_HASH_SHIFT) ^
1039 (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^
1043 header->h_hash = cpu_to_le32(hash);