Lines Matching defs:rc
67 int rc = 0;
73 rc = smbsr_decode_vwv(sr, "b.wwwwlww4.l", &sr->andx_com,
78 if (rc != 0)
84 rc = smbsr_decode_data(sr, "%#c#cuuu",
91 if (rc != 0)
100 rc = smbsr_decode_data(sr, "%,u", sr, &native_lm);
102 rc = smbsr_decode_data(sr, "%u", sr, &native_lm);
104 if (rc != 0 || native_lm == NULL)
109 rc = smbsr_decode_vwv(sr, "b.wwwwlw4.", &sr->andx_com,
113 if (rc != 0)
117 rc = smbsr_decode_data(sr, "%#c", sr, sinfo->ssi_cipwlen,
119 if (rc != 0)
141 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
181 int rc;
217 rc = smbsr_encode_result(sr, 3, VAR_BCC, "bb.www%uuu",
228 return ((rc == 0) ? SDRC_SUCCESS : SDRC_ERROR);
235 int rc;
243 rc = smb_authenticate_core(sr, sinfo, session_key);
245 return (rc);
455 int rc;
462 rc = smb_sid_splitstr(sidstr, &ksid->ks_rid);
463 ASSERT(rc == 0);