Lines Matching defs:hash

546 	/* Get hash value of uuid from super block */
547 u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash;
550 /* hash extended attribute name */
552 hash = (hash << OCFS2_HASH_SHIFT) ^
553 (hash >> (8*sizeof(hash) - OCFS2_HASH_SHIFT)) ^
557 return hash;
1947 * bucket's hash value. It doesn't hurt empty block storage.
3682 * e_cpos will be the first name hash of the xattr rec.
3764 * may be multiple entries with the same name hash.
3810 * hash is in the gap of 2 buckets, return the lower bucket.
3864 * Check whether the hash of the last entry in our
3892 * When the xattr's hash value is in the gap of 2 buckets, we will
4575 * We have to make sure the xattrs with the same hash value exist
4578 * If this ocfs2_xattr_header covers more than one hash value, find a
4579 * place where the hash value changes. Try to find the most even split.
4580 * The most common case is that all entries have different hash values,
4591 * directions. We therefore hit the change in hash value
4611 /* Every entry had the same hash */
4617 * first_hash will record the 1st hash of the new bucket.
4620 * sure that the xattrs with the same hash value are stored in the
4621 * same bucket. If all the xattrs in this bucket have the same hash
4696 * The hash value is set as one larger than
5006 * prev_blk to it. v_start will be set as the first name hash value in this
5513 * check whether the xattr bucket is filled up with the same hash value.
5514 * If we want to insert the xattr with the same hash, return -ENOSPC.
5515 * If we want to insert a xattr with different hash value, go ahead
5530 mlog(ML_ERROR, "Too much hash collision in xattr bucket %llu, "
5531 "hash = %u\n",