Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c1228 di_dkey_cmp(struct di_dkey *dk1, struct di_dkey *dk2) in di_dkey_cmp() argument
1230 if (dk1->dk_dip != dk2->dk_dip) in di_dkey_cmp()
1231 return (dk1->dk_dip > dk2->dk_dip ? 1 : -1); in di_dkey_cmp()
1233 if (dk1->dk_major != DDI_MAJOR_T_NONE && in di_dkey_cmp()
1235 if (dk1->dk_major != dk2->dk_major) in di_dkey_cmp()
1236 return (dk1->dk_major > dk2->dk_major ? 1 : -1); in di_dkey_cmp()
1238 if (dk1->dk_inst != dk2->dk_inst) in di_dkey_cmp()
1239 return (dk1->dk_inst > dk2->dk_inst ? 1 : -1); in di_dkey_cmp()
1242 if (dk1->dk_nodeid != dk2->dk_nodeid) in di_dkey_cmp()
1243 return (dk1->dk_nodeid > dk2->dk_nodeid ? 1 : -1); in di_dkey_cmp()