Home
last modified time | relevance | path

Searched refs:hashed_key (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_hashtab.c67 unsigned int hashed_key; in drm_ht_verbose_list() local
70 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
71 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key); in drm_ht_verbose_list()
72 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list()
82 unsigned int hashed_key; in drm_ht_find_key() local
84 hashed_key = hash_long(key, ht->order); in drm_ht_find_key()
85 h_list = &ht->table[hashed_key]; in drm_ht_find_key()
100 unsigned int hashed_key; in drm_ht_find_key_rcu() local
102 hashed_key = hash_long(key, ht->order); in drm_ht_find_key_rcu()
103 h_list = &ht->table[hashed_key]; in drm_ht_find_key_rcu()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c452 u8 *hashed_key = NULL; in ahash_setkey() local
457 hashed_key = kmemdup(key, keylen, GFP_KERNEL | GFP_DMA); in ahash_setkey()
458 if (!hashed_key) in ahash_setkey()
460 ret = hash_digest_key(ctx, &keylen, hashed_key, digestsize); in ahash_setkey()
463 key = hashed_key; in ahash_setkey()
499 kfree(hashed_key); in ahash_setkey()
502 kfree(hashed_key); in ahash_setkey()
Dcaamalg_qi2.c3266 u8 *hashed_key = NULL; in ahash_setkey() local
3271 hashed_key = kmemdup(key, keylen, GFP_KERNEL | GFP_DMA); in ahash_setkey()
3272 if (!hashed_key) in ahash_setkey()
3274 ret = hash_digest_key(ctx, &keylen, hashed_key, digestsize); in ahash_setkey()
3277 key = hashed_key; in ahash_setkey()
3303 kfree(hashed_key); in ahash_setkey()
3306 kfree(hashed_key); in ahash_setkey()