Home
last modified time | relevance | path

Searched refs:apc2 (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dsad_conf.c88 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()
[all …]