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()
202 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
156 compare_sids(const struct cifs_sid *ctsid, const struct cifs_sid *cwsid) in compare_sids() argument161 if ((!ctsid) || (!cwsid)) in compare_sids()165 if (ctsid->revision != cwsid->revision) { in compare_sids()166 if (ctsid->revision > cwsid->revision) in compare_sids()174 if (ctsid->authority[i] != cwsid->authority[i]) { in compare_sids()175 if (ctsid->authority[i] > cwsid->authority[i]) in compare_sids()184 num_saw = cwsid->num_subauth; in compare_sids()188 if (ctsid->sub_auth[i] != cwsid->sub_auth[i]) { in compare_sids()190 le32_to_cpu(cwsid->sub_auth[i])) in compare_sids()