Searched refs:dk1 (Results 1 – 1 of 1) sorted by relevance
1226 di_dkey_cmp(struct di_dkey *dk1, struct di_dkey *dk2) in di_dkey_cmp() argument1228 if (dk1->dk_dip != dk2->dk_dip) in di_dkey_cmp()1229 return (dk1->dk_dip > dk2->dk_dip ? 1 : -1); in di_dkey_cmp()1231 if (dk1->dk_major != DDI_MAJOR_T_NONE && in di_dkey_cmp()1233 if (dk1->dk_major != dk2->dk_major) in di_dkey_cmp()1234 return (dk1->dk_major > dk2->dk_major ? 1 : -1); in di_dkey_cmp()1236 if (dk1->dk_inst != dk2->dk_inst) in di_dkey_cmp()1237 return (dk1->dk_inst > dk2->dk_inst ? 1 : -1); in di_dkey_cmp()1240 if (dk1->dk_nodeid != dk2->dk_nodeid) in di_dkey_cmp()1241 return (dk1->dk_nodeid > dk2->dk_nodeid ? 1 : -1); in di_dkey_cmp()