Lines Matching refs:hash
489 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_set() local
497 hash, bh->b_blocknr); in ext2_xattr_set()
718 __u32 hash = le32_to_cpu(HDR(old_bh)->h_hash); in ext2_xattr_set2() local
725 hash, old_bh->b_blocknr); in ext2_xattr_set2()
792 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_delete_inode() local
799 hash, bh->b_blocknr); in ext2_xattr_delete_inode()
832 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert() local
835 error = mb_cache_entry_create(cache, GFP_NOFS, hash, bh->b_blocknr, 1); in ext2_xattr_cache_insert()
843 ea_bdebug(bh, "inserting [%x]", (int)hash); in ext2_xattr_cache_insert()
898 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_cache_find() local
904 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); in ext2_xattr_cache_find()
906 ce = mb_cache_entry_find_first(ext2_mb_cache, hash); in ext2_xattr_cache_find()
963 __u32 hash = 0; in ext2_xattr_hash_entry() local
968 hash = (hash << NAME_HASH_SHIFT) ^ in ext2_xattr_hash_entry()
969 (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ in ext2_xattr_hash_entry()
978 hash = (hash << VALUE_HASH_SHIFT) ^ in ext2_xattr_hash_entry()
979 (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ in ext2_xattr_hash_entry()
983 entry->e_hash = cpu_to_le32(hash); in ext2_xattr_hash_entry()
1000 __u32 hash = 0; in ext2_xattr_rehash() local
1007 hash = 0; in ext2_xattr_rehash()
1010 hash = (hash << BLOCK_HASH_SHIFT) ^ in ext2_xattr_rehash()
1011 (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ in ext2_xattr_rehash()
1015 header->h_hash = cpu_to_le32(hash); in ext2_xattr_rehash()