Lines Matching refs:psid
265 const struct cifs_sid *psid, __u64 nmode, umode_t bits)
278 pntace->sid.revision = psid->revision;
279 pntace->sid.num_subauth = psid->num_subauth;
281 pntace->sid.authority[i] = psid->authority[i];
282 for (i = 0; i < psid->num_subauth; i++)
283 pntace->sid.sub_auth[i] = psid->sub_auth[i];
285 size = 1 + 1 + 2 + 4 + 1 + 1 + 6 + (psid->num_subauth * 4);
433 static int parse_sid(struct cifs_sid *psid, char *end_of_acl)
439 if (end_of_acl < (char *)psid + 8) {
440 cERROR(1, "ACL too small to parse SID %p", psid);
444 if (psid->num_subauth) {
448 psid->revision, psid->num_subauth);
450 for (i = 0; i < psid->num_subauth; i++) {
452 le32_to_cpu(psid->sub_auth[i]));
458 le32_to_cpu(psid->sub_auth[psid->num_subauth-1]));