Searched refs:cwsid (Results 1 – 3 of 3) sorted by relevance
71 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids() argument76 if (!ctsid || !cwsid) in compare_sids()80 if (ctsid->revision != cwsid->revision) { in compare_sids()81 if (ctsid->revision > cwsid->revision) in compare_sids()89 if (ctsid->authority[i] != cwsid->authority[i]) { in compare_sids()90 if (ctsid->authority[i] > cwsid->authority[i]) in compare_sids()99 num_saw = cwsid->num_subauth; in compare_sids()103 if (ctsid->sub_auth[i] != cwsid->sub_auth[i]) { in compare_sids()105 le32_to_cpu(cwsid->sub_auth[i])) in compare_sids()
93 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
161 compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids() argument166 if ((!ctsid) || (!cwsid)) in compare_sids()170 if (ctsid->revision != cwsid->revision) { in compare_sids()171 if (ctsid->revision > cwsid->revision) in compare_sids()179 if (ctsid->authority[i] != cwsid->authority[i]) { in compare_sids()180 if (ctsid->authority[i] > cwsid->authority[i]) in compare_sids()189 num_saw = cwsid->num_subauth; in compare_sids()193 if (ctsid->sub_auth[i] != cwsid->sub_auth[i]) { in compare_sids()195 le32_to_cpu(cwsid->sub_auth[i])) in compare_sids()