Lines Matching refs:rc
39 ilb_status_t rc;
54 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz);
55 if (rc != ILB_STATUS_OK)
59 rc = *(ilb_status_t *)&ic->ic_data;
62 return (rc);
81 ilb_status_t rc = ILB_STATUS_OK;
119 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz);
120 if (rc != ILB_STATUS_OK)
124 rc = *(ilb_status_t *)&ic->ic_data;
128 return (rc);
150 ilb_status_t rc;
158 rc = i_ilb_do_comm(h, &ic, sizeof (ic), tmp_rbuf, rbufsz);
159 if (rc != ILB_STATUS_OK)
164 return (rc);
166 rc = *(ilb_status_t *)&tmp_rbuf->ic_data;
170 return (rc);
177 ilb_status_t rc;
191 rc = i_ilb_do_comm(h, ic, ic_sz, tmp_rbuf, rbufsz);
192 if (rc != ILB_STATUS_OK)
198 return (rc);
200 rc = *(ilb_status_t *)&tmp_rbuf->ic_data;
205 return (rc);
223 ilb_status_t rc = ILB_STATUS_OK;
230 rc = i_ilb_retrieve_sg_hosts(h, sgname, &rbuf, &rbufsz);
231 if (rc != ILB_STATUS_OK)
232 return (rc);
243 rc = sg_func(h, &sgd, arg);
259 rc = srv_func(h, &sd, sg_info->sg_name, arg);
260 if (rc != ILB_STATUS_OK)
266 return (rc);
277 ilb_status_t rc;
284 rc = i_ilb_walk_one_sg(h, f, sgname, arg, walktype);
285 return (rc);
288 rc = i_ilb_retrieve_sg_names(h, &rbuf, &rbufsz);
289 if (rc != ILB_STATUS_OK)
290 return (rc);
294 rc = i_ilb_walk_one_sg(h, f, sgl->ilbl_name[i], arg, walktype);
299 if (rc == ILB_STATUS_SGUNAVAIL) {
300 rc = ILB_STATUS_OK;
303 if (rc != ILB_STATUS_OK)
307 return (rc);
328 ilb_status_t rc;
368 rc = i_ilb_do_comm(h, ic, ic_sz, ic, &ic_sz);
369 if (rc != ILB_STATUS_OK)
373 rc = *(ilb_status_t *)&ic->ic_data;
376 return (rc);
395 ilb_status_t rc;
432 rc = i_ilb_do_comm(h, ic, ic_sz, rbuf, &rbufsz);
433 if (rc != ILB_STATUS_OK)
444 return (rc);
447 rc = *(ilb_status_t *)&rbuf->ic_data;
450 return (rc);