Lines Matching defs:rc

182 	int			rc;
220 if ((rc = smb_netbios_process_response(tid, addr,
222 return (rc);
326 int rc = 0;
364 rc = 1;
366 rc = -1;
374 rc = -RCODE(info);
401 rc = -RCODE(info);
424 rc = 1;
428 rc = 1;
441 rc = smb_end_node_challenge(reply);
445 rc = 0;
454 return (rc); /* retry */
674 int rc, i, n, nn, ns;
771 rc = smb_first_level_name_decode((unsigned char *)name_buf,
773 if (rc < 0) {
798 rc = 2;
806 rc = name_len;
808 scan += rc;
821 if ((rc = smb_first_level_name_decode((unsigned char *)name_buf,
928 int rc;
937 rc = smb_netbios_process_response(tid, destination,
940 if ((rc > 0) || (bcast == BROADCAST))
943 if (rc != 0)
968 int i, addr_num, rc;
1018 rc = smb_netbios_send_rcv(bcast, &destination[i], &packet,
1020 if (rc == 1)
1035 int rc = 0;
1106 rc = smb_netbios_send_rcv(bcast, &destination[i], &packet,
1108 if (rc == 1)
1117 rc = smb_netbios_send_rcv(bcast, addr, &packet,
1119 if (rc == 1)
1171 int i, rc;
1206 rc = smb_netbios_send_rcv(bcast, &destination[i], &packet,
1208 if (rc == 1)
1257 int rc = 0;
1301 if ((rc = smb_netbios_process_response(tid,
1312 return (rc);
1529 int rc = 0;
1556 rc |= smb_send_name_registration_request(BROADCAST, &question,
1562 return (rc);
1627 int rc = 0;
1649 rc |= smb_send_name_registration_request(UNICAST, &question,
1656 return (rc);
1667 int rc = 0;
1689 rc |= smb_send_name_refresh_request(UNICAST, &question,
1695 return (rc);
2103 int rc = 1;
2109 rc = smb_name_Bnode_add_name(name);
2112 rc = smb_name_Pnode_add_name(name);
2115 rc = smb_name_Mnode_add_name(name);
2119 rc = smb_name_Hnode_add_name(name);
2123 if (rc >= 0)
2126 return (rc);
2132 int rc;
2147 rc = smb_name_Bnode_delete_name(name);
2150 rc = smb_name_Pnode_delete_name(name);
2153 rc = smb_name_Mnode_delete_name(name);
2157 rc = smb_name_Hnode_delete_name(name);
2161 if (rc > 0)
2266 int rc;
2268 rc = smb_netbios_cache_getfirst(&nbc_iter);
2269 while (rc == 0) {
2290 rc = smb_netbios_cache_getnext(&nbc_iter);
2314 int rc;
2320 rc = smb_config_getnum(SMB_CI_NBNS_BCAST_MAX, &citem);
2321 if (rc != SMBD_SMF_OK)
2334 rc = smb_nic_getfirst(&ni);
2335 while (rc == SMB_NIC_SUCCESS) {
2338 rc = smb_nic_getnext(&ni);
2365 rc = smb_nic_getnext(&ni);
2411 int rc;
2498 rc = pthread_create(&worker, &tattr,
2501 if (rc != 0) {