Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A 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()
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()
H A Dsmbacl.h202 int compare_sids(const struct smb_sid *ctsid, const struct smb_sid *cwsid);
/openbmc/linux/fs/smb/client/
H A Dcifsacl.c161 compare_sids(const struct cifs_sid *ctsid, const struct cifs_sid *cwsid) in compare_sids() argument
166 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()