Lines Matching defs:hash
96 le32 hash;
115 le32 hash;
380 * ntfs_security_hash - calculate the hash of a security descriptor
381 * @sd: self-relative security descriptor whose hash to calculate
384 * Calculate the hash of the self-relative security descriptor @sd of length
387 * This hash is used in the $Secure system file as the primary key for the $SDH
393 * Return the calculated security hash in little endian.
399 u32 hash = 0;
402 hash = le32_to_cpup(pos) + ntfs_rol32(hash, 3);
405 return cpu_to_le32(hash);
479 le32 hash, le32 keyid, off_t offs, int gap)
504 phsds->hash = hash;
543 le32 hash, le32 keyid, off_t offs)
571 newsii.hash = hash;
594 newsdh.keyhash = hash;
596 newsdh.hash = hash;
622 le32 hash)
795 if (entersecurity_data(vol, attr, attrsz, hash, securid, offs, gap)
796 || entersecurity_indexes(vol, attrsz, hash, securid, offs))
841 le32 hash;
844 hash = ntfs_security_hash(attr,attrsz);
852 * find the nearest key as (hash,0)
857 key.hash = hash;
882 /* if hash is not the same, the key is not present */
884 && (psdh->keyhash == hash)) {
885 /* if hash is the same */
901 /* (hash collision), try next one */
923 attr, attrsz, hash);
5202 key.hash = const_cpu_to_le32(0);