Searched refs:pref_weight (Results 1 – 1 of 1) sorted by relevance
603 unsigned int pref_weight) in zcrypt_card_compare() argument608 pref_weight += atomic_read(&pref_zc->load); in zcrypt_card_compare()609 if (weight == pref_weight) in zcrypt_card_compare()612 return weight < pref_weight; in zcrypt_card_compare()618 unsigned int pref_weight) in zcrypt_queue_compare() argument623 pref_weight += atomic_read(&pref_zq->load); in zcrypt_queue_compare()624 if (weight == pref_weight) in zcrypt_queue_compare()627 return weight < pref_weight; in zcrypt_queue_compare()