Searched refs:pref_weight (Results 1 – 1 of 1) sorted by relevance
609 unsigned int pref_weight) in zcrypt_card_compare() argument614 pref_weight += atomic_read(&pref_zc->load); in zcrypt_card_compare()615 if (weight == pref_weight) in zcrypt_card_compare()618 return weight < pref_weight; in zcrypt_card_compare()624 unsigned int pref_weight) in zcrypt_queue_compare() argument629 pref_weight += atomic_read(&pref_zq->load); in zcrypt_queue_compare()630 if (weight == pref_weight) in zcrypt_queue_compare()633 return weight < pref_weight; in zcrypt_queue_compare()