Lines Matching refs:hash
562 u32 hash, ref; in ext4_xattr_release_block() local
571 hash = le32_to_cpu(BHDR(bh)->h_hash); in ext4_xattr_release_block()
579 mb_cache_entry_delete_block(ext4_mb_cache, hash, bh->b_blocknr); in ext4_xattr_release_block()
591 ce = mb_cache_entry_get(ext4_mb_cache, hash, in ext4_xattr_release_block()
825 __u32 hash = le32_to_cpu(BHDR(bs->bh)->h_hash); in ext4_xattr_block_set() local
832 mb_cache_entry_delete_block(ext4_mb_cache, hash, in ext4_xattr_block_set()
1625 __u32 hash = le32_to_cpu(header->h_hash); in ext4_xattr_cache_insert() local
1630 error = mb_cache_entry_create(ext4_mb_cache, GFP_NOFS, hash, in ext4_xattr_cache_insert()
1636 ea_bdebug(bh, "inserting [%x]", (int)hash); in ext4_xattr_cache_insert()
1691 __u32 hash = le32_to_cpu(header->h_hash); in ext4_xattr_cache_find() local
1697 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); in ext4_xattr_cache_find()
1698 ce = mb_cache_entry_find_first(ext4_mb_cache, hash); in ext4_xattr_cache_find()
1727 __u32 hash = 0; in ext4_xattr_hash_entry() local
1732 hash = (hash << NAME_HASH_SHIFT) ^ in ext4_xattr_hash_entry()
1733 (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ in ext4_xattr_hash_entry()
1742 hash = (hash << VALUE_HASH_SHIFT) ^ in ext4_xattr_hash_entry()
1743 (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ in ext4_xattr_hash_entry()
1747 entry->e_hash = cpu_to_le32(hash); in ext4_xattr_hash_entry()
1764 __u32 hash = 0; in ext4_xattr_rehash() local
1771 hash = 0; in ext4_xattr_rehash()
1774 hash = (hash << BLOCK_HASH_SHIFT) ^ in ext4_xattr_rehash()
1775 (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ in ext4_xattr_rehash()
1779 header->h_hash = cpu_to_le32(hash); in ext4_xattr_rehash()