Searched refs:hash_key (Results 1 – 2 of 2) sorted by relevance
/fs/crypto/ |
D | keysetup_v1.c | 184 unsigned long hash_key; in find_or_insert_direct_key() local 193 BUILD_BUG_ON(sizeof(hash_key) > FSCRYPT_KEY_DESCRIPTOR_SIZE); in find_or_insert_direct_key() 194 memcpy(&hash_key, ci->ci_policy.v1.master_key_descriptor, in find_or_insert_direct_key() 195 sizeof(hash_key)); in find_or_insert_direct_key() 198 hash_for_each_possible(fscrypt_direct_keys, dk, dk_node, hash_key) { in find_or_insert_direct_key() 215 hash_add(fscrypt_direct_keys, &to_insert->dk_node, hash_key); in find_or_insert_direct_key()
|
/fs/ntfs3/ |
D | fsntfs.c | 2063 struct SECURITY_KEY hash_key; in ntfs_insert_security() local 2073 hash_key.hash = security_hash(sd, size_sd); in ntfs_insert_security() 2074 hash_key.sec_id = SECURITY_ID_INVALID; in ntfs_insert_security() 2109 err = indx_find(indx_sdh, ni, root_sdh, &hash_key, sizeof(hash_key), in ntfs_insert_security() 2124 d_security->key.hash == hash_key.hash && in ntfs_insert_security() 2138 if (!e || e->key.hash != hash_key.hash) in ntfs_insert_security() 2166 d_security->key.hash = hash_key.hash; in ntfs_insert_security()
|