Lines Matching defs:hash

540 	/* Get hash value of uuid from super block */
541 u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash;
544 /* hash extended attribute name */
546 hash = (hash << OCFS2_HASH_SHIFT) ^
547 (hash >> (8*sizeof(hash) - OCFS2_HASH_SHIFT)) ^
551 return hash;
1941 * bucket's hash value. It doesn't hurt empty block storage.
3676 * e_cpos will be the first name hash of the xattr rec.
3758 * may be multiple entries with the same name hash.
3804 * hash is in the gap of 2 buckets, return the lower bucket.
3858 * Check whether the hash of the last entry in our
3886 * When the xattr's hash value is in the gap of 2 buckets, we will
4569 * We have to make sure the xattrs with the same hash value exist
4572 * If this ocfs2_xattr_header covers more than one hash value, find a
4573 * place where the hash value changes. Try to find the most even split.
4574 * The most common case is that all entries have different hash values,
4585 * directions. We therefore hit the change in hash value
4605 /* Every entry had the same hash */
4611 * first_hash will record the 1st hash of the new bucket.
4614 * sure that the xattrs with the same hash value are stored in the
4615 * same bucket. If all the xattrs in this bucket have the same hash
4690 * The hash value is set as one larger than
5000 * prev_blk to it. v_start will be set as the first name hash value in this
5507 * check whether the xattr bucket is filled up with the same hash value.
5508 * If we want to insert the xattr with the same hash, return -ENOSPC.
5509 * If we want to insert a xattr with different hash value, go ahead
5524 mlog(ML_ERROR, "Too much hash collision in xattr bucket %llu, "
5525 "hash = %u\n",