Lines Matching defs:rc

450 	int rc = 0;
477 rc = smb_getnetbiosname(hostname, sizeof (hostname));
478 if (rc == 0) {
491 if (rc != 0) {
948 uint32_t rc;
971 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
972 if (rc != SMB_LGRP_SUCCESS) {
974 status = smb_lgrp_err_to_ntstatus(rc);
979 rc = smb_lgrp_add_member(grp.sg_name,
981 if (rc != SMB_LGRP_SUCCESS) {
983 status = smb_lgrp_err_to_ntstatus(rc);
1007 uint32_t rc;
1029 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
1030 if (rc != SMB_LGRP_SUCCESS) {
1032 status = smb_lgrp_err_to_ntstatus(rc);
1037 rc = smb_lgrp_del_member(grp.sg_name,
1039 if (rc != SMB_LGRP_SUCCESS) {
1041 status = smb_lgrp_err_to_ntstatus(rc);
1070 uint32_t rc;
1081 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
1082 if (rc != SMB_LGRP_SUCCESS) {
1084 status = smb_lgrp_err_to_ntstatus(rc);
1438 int rc;
1473 rc = smb_lgrp_getbyrid(rid, gd_type, NULL);
1474 if (rc != SMB_LGRP_SUCCESS) {
1517 uint32_t rc;
1540 rc = smb_lgrp_add(gname, "");
1541 if (rc != SMB_LGRP_SUCCESS) {
1543 status = smb_lgrp_err_to_ntstatus(rc);
1548 rc = smb_lgrp_getbyname((char *)gname, &grp);
1549 if (rc != SMB_LGRP_SUCCESS) {
1551 status = smb_lgrp_err_to_ntstatus(rc);
1611 int rc;
1644 rc = smb_lgrp_getbyrid(rid, gd_type, &grp);
1645 if (rc != SMB_LGRP_SUCCESS) {
1713 uint32_t rc;
1739 rc = smb_lgrp_getbyrid(rid, gd_type, &grp);
1740 if (rc != SMB_LGRP_SUCCESS) {
1742 status = smb_lgrp_err_to_ntstatus(rc);
1747 rc = smb_lgrp_delete(grp.sg_name);
1748 if (rc != SMB_LGRP_SUCCESS) {
1750 status = smb_lgrp_err_to_ntstatus(rc);