Lines Matching refs:hash
1130 __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext3_xattr_cache_insert() local
1139 error = mb_cache_entry_insert(ce, bh->b_bdev, bh->b_blocknr, &hash); in ext3_xattr_cache_insert()
1147 ea_bdebug(bh, "inserting [%x]", (int)hash); in ext3_xattr_cache_insert()
1204 __u32 hash = le32_to_cpu(header->h_hash); in ext3_xattr_cache_find() local
1209 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); in ext3_xattr_cache_find()
1212 inode->i_sb->s_bdev, hash); in ext3_xattr_cache_find()
1237 ce = mb_cache_entry_find_next(ce, 0, inode->i_sb->s_bdev, hash); in ext3_xattr_cache_find()
1253 __u32 hash = 0; in ext3_xattr_hash_entry() local
1258 hash = (hash << NAME_HASH_SHIFT) ^ in ext3_xattr_hash_entry()
1259 (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ in ext3_xattr_hash_entry()
1268 hash = (hash << VALUE_HASH_SHIFT) ^ in ext3_xattr_hash_entry()
1269 (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ in ext3_xattr_hash_entry()
1273 entry->e_hash = cpu_to_le32(hash); in ext3_xattr_hash_entry()
1290 __u32 hash = 0; in ext3_xattr_rehash() local
1297 hash = 0; in ext3_xattr_rehash()
1300 hash = (hash << BLOCK_HASH_SHIFT) ^ in ext3_xattr_rehash()
1301 (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ in ext3_xattr_rehash()
1305 header->h_hash = cpu_to_le32(hash); in ext3_xattr_rehash()