Lines Matching refs:sid_subauthcnt
53 (sid->sid_subauthcnt < NT_SID_SUBAUTH_MAX));
68 + (sid->sid_subauthcnt * sizeof (uint32_t)));
118 sid->sid_subauth[domain_sid->sid_subauthcnt] = rid;
119 ++sid->sid_subauthcnt;
135 (sid->sid_subauthcnt == 0))
138 *rid = sid->sid_subauth[sid->sid_subauthcnt - 1];
156 if (!smb_sid_isvalid(sid) || (sid->sid_subauthcnt == 0))
160 * We will reduce sid_subauthcnt by one, because
168 domsid->sid_subauthcnt = sid->sid_subauthcnt - 1;
171 *rid = sid->sid_subauth[sid->sid_subauthcnt - 1];
213 * sid_subauthcnt, we check the sub-authorities in reverse order because
225 if (sid1->sid_subauthcnt != sid2->sid_subauthcnt ||
229 for (i = sid1->sid_subauthcnt - 1; i >= 0; --i)
253 sid->sid_subauthcnt < domain_sid->sid_subauthcnt)
256 for (i = domain_sid->sid_subauthcnt - 1; i >= 0; --i)
294 for (i = 0; i < sid->sid_subauthcnt && i < NT_SID_SUBAUTH_MAX; ++i) {
357 sid->sid_subauthcnt = i;
402 sid->sid_subauthcnt = i;