Lines Matching refs:rc
514 int rc = 0;
524 rc = smb_fsop_rmdir(0, node->delete_on_close_cred,
527 rc = smb_fsop_remove(0, node->delete_on_close_cred,
531 if (rc != 0)
532 cmn_err(CE_WARN, "File %s could not be removed, rc=%d\n",
533 node->od_name, rc);
534 DTRACE_PROBE2(smb_node_delete_on_close, int, rc, smb_node_t *, node);
654 int rc = 0;
663 rc = smb_fsop_getattr(NULL, zone_kcred(), node, &attr);
664 if ((rc != 0) || (attr.sa_dosattr & FILE_ATTRIBUTE_READONLY)) {
1070 int rc;
1076 rc = smb_node_getpath(node, tree->t_snode->vp, buf, buflen);
1078 return (rc);
1098 int rc;
1111 rc = vnodetopath(rootvp, vp, buf, buflen, kcr);
1114 rc = vnodetopath(NULL, vp, buf, buflen, kcr);
1118 if (rc != 0)
1119 return (rc);
1132 return (rc);
1459 int rc;
1488 rc = smb_fsop_getattr(NULL, zone_kcred(), node, &tmp_attr);
1489 if (rc != 0)
1490 return (rc);
1601 rc = smb_fsop_setattr(sr, cr, node, &tmp_attr);
1602 if (rc != 0)
1603 return (rc);
1630 int rc;
1642 rc = smb_fsop_getattr(sr, cr, node, attr);
1643 if (rc != 0)
1644 return (rc);