Lines Matching refs:hash

493 			__u32 hash = le32_to_cpu(header->h_hash);  in ext2_xattr_set()  local
500 mb_cache_entry_delete(EA_BLOCK_CACHE(inode), hash, in ext2_xattr_set()
722 __u32 hash = le32_to_cpu(HDR(old_bh)->h_hash); in ext2_xattr_set2() local
728 mb_cache_entry_delete(ea_block_cache, hash, in ext2_xattr_set2()
796 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_delete_inode() local
802 mb_cache_entry_delete(EA_BLOCK_CACHE(inode), hash, in ext2_xattr_delete_inode()
836 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert() local
839 error = mb_cache_entry_create(cache, GFP_NOFS, hash, bh->b_blocknr, 1); in ext2_xattr_cache_insert()
846 ea_bdebug(bh, "inserting [%x]", (int)hash); in ext2_xattr_cache_insert()
901 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_cache_find() local
907 ea_idebug(inode, "looking for cached blocks [%x]", (int)hash); in ext2_xattr_cache_find()
909 ce = mb_cache_entry_find_first(ea_block_cache, hash); in ext2_xattr_cache_find()
966 __u32 hash = 0; in ext2_xattr_hash_entry() local
971 hash = (hash << NAME_HASH_SHIFT) ^ in ext2_xattr_hash_entry()
972 (hash >> (8*sizeof(hash) - NAME_HASH_SHIFT)) ^ in ext2_xattr_hash_entry()
981 hash = (hash << VALUE_HASH_SHIFT) ^ in ext2_xattr_hash_entry()
982 (hash >> (8*sizeof(hash) - VALUE_HASH_SHIFT)) ^ in ext2_xattr_hash_entry()
986 entry->e_hash = cpu_to_le32(hash); in ext2_xattr_hash_entry()
1003 __u32 hash = 0; in ext2_xattr_rehash() local
1010 hash = 0; in ext2_xattr_rehash()
1013 hash = (hash << BLOCK_HASH_SHIFT) ^ in ext2_xattr_rehash()
1014 (hash >> (8*sizeof(hash) - BLOCK_HASH_SHIFT)) ^ in ext2_xattr_rehash()
1018 header->h_hash = cpu_to_le32(hash); in ext2_xattr_rehash()