Searched refs:img_hash (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/crypto/
H A Dimg-hash.c142 static struct img_hash_drv img_hash = { variable in typeref:struct:img_hash_drv
143 .dev_list = LIST_HEAD_INIT(img_hash.dev_list),
144 .lock = __SPIN_LOCK_UNLOCKED(img_hash.lock),
599 spin_lock(&img_hash.lock); img_hash_digest()
601 list_for_each_entry(tmp, &img_hash.dev_list, list) { img_hash_digest()
611 spin_unlock(&img_hash.lock); img_hash_digest()
655 pr_err("img_hash: Could not load fallback driver.\n"); img_hash_cra_init()
967 spin_lock(&img_hash.lock); img_hash_probe()
968 list_add_tail(&hdev->list, &img_hash.dev_list); img_hash_probe()
969 spin_unlock(&img_hash.lock); img_hash_probe()
979 spin_lock(&img_hash.lock); img_hash_probe()
981 spin_unlock(&img_hash.lock); img_hash_probe()
999 spin_lock(&img_hash.lock); img_hash_remove()
1001 spin_unlock(&img_hash.lock); img_hash_remove()

Completed in 43 milliseconds