Lines Matching refs:rc
166 int rc;
172 rc = smb_kmod_ioctl(SMB_IOC_NUMOPEN, &ioc.hdr, sizeof (ioc));
173 if (rc == 0) {
179 return (rc);
299 int rc;
303 rc = smb_kmod_ioctl(SMB_IOC_SVCENUM, &ioc->hdr, ioclen);
304 if (rc != 0)
305 return (rc);
321 rc = smb_netuserinfo_decode(user, data, len, &nbytes);
325 rc = smb_netconnectinfo_decode(tree, data, len,
330 rc = smb_netfileinfo_decode(ofile, data, len, &nbytes);
334 rc = smb_share_decode(share, data, len, &nbytes);
337 rc = -1;
341 if (rc != 0)
362 int rc;
371 rc = smb_kmod_ioctl(SMB_IOC_SESSION_CLOSE, &ioc.hdr, sizeof (ioc));
372 return (rc);
379 int rc;
384 rc = smb_kmod_ioctl(SMB_IOC_FILE_CLOSE, &ioc.hdr, sizeof (ioc));
385 return (rc);
412 int rc;
432 rc = smb_kmod_ioctl(cmd, &ioc->hdr, ioclen);
433 if ((rc == 0) && (si != NULL))
434 rc = smb_share_decode(si, (uint8_t *)ioc->shr,
438 return (rc);
445 int rc;
449 rc = smb_kmod_ioctl(SMB_IOC_NUMSHARE, &ioc.hdr, sizeof (ioc));
450 return ((rc == 0) ? ioc.num : 0);
456 int rc = EINVAL;
466 rc = errno;
468 rc = 0;
470 return (rc);