Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ksmbd/
Dsmbacl.c71 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid) in compare_sids() argument
76 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()
Dsmbacl.h202 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
/Linux-v6.1/fs/cifs/
Dcifsacl.c156 compare_sids(const struct cifs_sid *ctsid, const struct cifs_sid *cwsid) in compare_sids() argument
161 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()