Searched refs:ctsid (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()98 num_sat = ctsid->num_subauth; in compare_sids()103 if (ctsid->sub_auth[i] != cwsid->sub_auth[i]) { in compare_sids()104 if (le32_to_cpu(ctsid->sub_auth[i]) > in compare_sids()
202 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
161 compare_sids(const struct cifs_sid *ctsid, const struct cifs_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()188 num_sat = ctsid->num_subauth; in compare_sids()193 if (ctsid->sub_auth[i] != cwsid->sub_auth[i]) { in compare_sids()194 if (le32_to_cpu(ctsid->sub_auth[i]) > in compare_sids()