Lines Matching refs:apc2
88 struct apcommon *apc2 = (struct apcommon *)key2; in sad_hash_keycmp() local
91 ASSERT(sad_apc_verify(apc2) == 0); in sad_hash_keycmp()
94 if (apc1->apc_major != apc2->apc_major) in sad_hash_keycmp()
98 if ((apc1->apc_cmd == SAP_ALL) || (apc2->apc_cmd == SAP_ALL)) in sad_hash_keycmp()
102 if ((apc1->apc_cmd == SAP_ONE) && (apc2->apc_cmd == SAP_ONE)) { in sad_hash_keycmp()
104 return (apc1->apc_minor != apc2->apc_minor); in sad_hash_keycmp()
108 if ((apc1->apc_cmd == SAP_RANGE) && (apc2->apc_cmd == SAP_RANGE)) { in sad_hash_keycmp()
110 if ((apc1->apc_lastminor < apc2->apc_minor) || in sad_hash_keycmp()
111 (apc1->apc_minor > apc2->apc_lastminor)) in sad_hash_keycmp()
121 ASSERT(apc2->apc_cmd == SAP_ONE); in sad_hash_keycmp()
122 if ((apc1->apc_lastminor < apc2->apc_minor) || in sad_hash_keycmp()
123 (apc1->apc_minor > apc2->apc_minor)) in sad_hash_keycmp()
127 ASSERT(apc2->apc_cmd == SAP_RANGE); in sad_hash_keycmp()
128 if ((apc1->apc_minor < apc2->apc_minor) || in sad_hash_keycmp()
129 (apc1->apc_minor > apc2->apc_lastminor)) in sad_hash_keycmp()