Searched refs:pref_weight (Results 1 – 1 of 1) sorted by relevance
607 unsigned int pref_weight) in zcrypt_card_compare() argument612 pref_weight += atomic_read(&pref_zc->load); in zcrypt_card_compare()613 if (weight == pref_weight) in zcrypt_card_compare()616 return weight < pref_weight; in zcrypt_card_compare()622 unsigned int pref_weight) in zcrypt_queue_compare() argument627 pref_weight += atomic_read(&pref_zq->load); in zcrypt_queue_compare()628 if (weight == pref_weight) in zcrypt_queue_compare()631 return weight < pref_weight; in zcrypt_queue_compare()