Lines Matching refs:pref_weight

186 				       unsigned int pref_weight)  in zcrypt_card_compare()  argument
191 pref_weight += atomic_read(&pref_zc->load); in zcrypt_card_compare()
192 if (weight == pref_weight) in zcrypt_card_compare()
195 return weight > pref_weight; in zcrypt_card_compare()
201 unsigned int pref_weight) in zcrypt_queue_compare() argument
206 pref_weight += atomic_read(&pref_zq->load); in zcrypt_queue_compare()
207 if (weight == pref_weight) in zcrypt_queue_compare()
210 return weight > pref_weight; in zcrypt_queue_compare()
220 unsigned int weight, pref_weight; in zcrypt_rsa_modexpo() local
255 if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) in zcrypt_rsa_modexpo()
262 weight, pref_weight)) in zcrypt_rsa_modexpo()
266 pref_weight = weight; in zcrypt_rsa_modexpo()
294 unsigned int weight, pref_weight; in zcrypt_rsa_crt() local
329 if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) in zcrypt_rsa_crt()
336 weight, pref_weight)) in zcrypt_rsa_crt()
340 pref_weight = weight; in zcrypt_rsa_crt()
369 unsigned int weight, pref_weight; in zcrypt_send_cprb() local
394 if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) in zcrypt_send_cprb()
404 weight, pref_weight)) in zcrypt_send_cprb()
408 pref_weight = weight; in zcrypt_send_cprb()
468 unsigned int weight, pref_weight; in zcrypt_send_ep11_cprb() local
515 if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) in zcrypt_send_ep11_cprb()
526 weight, pref_weight)) in zcrypt_send_ep11_cprb()
530 pref_weight = weight; in zcrypt_send_ep11_cprb()
561 unsigned int weight, pref_weight; in zcrypt_rng() local
583 if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) in zcrypt_rng()
590 weight, pref_weight)) in zcrypt_rng()
594 pref_weight = weight; in zcrypt_rng()