Home
last modified time | relevance | path

Searched refs:tmp_rbuf (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libilb/common/
H A Dilb_sg.c151 ilb_comm_t ic, *tmp_rbuf; in i_ilb_retrieve_sg_names() local
154 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) in i_ilb_retrieve_sg_names()
158 rc = i_ilb_do_comm(h, &ic, sizeof (ic), tmp_rbuf, rbufsz); in i_ilb_retrieve_sg_names()
162 if (tmp_rbuf->ic_cmd == ILBD_CMD_OK) { in i_ilb_retrieve_sg_names()
163 *rbuf = tmp_rbuf; in i_ilb_retrieve_sg_names()
166 rc = *(ilb_status_t *)&tmp_rbuf->ic_data; in i_ilb_retrieve_sg_names()
168 free(tmp_rbuf); in i_ilb_retrieve_sg_names()
178 ilb_comm_t *ic, *tmp_rbuf; in i_ilb_retrieve_sg_hosts() local
184 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) { in i_ilb_retrieve_sg_hosts()
191 rc = i_ilb_do_comm(h, ic, ic_sz, tmp_rbuf, rbufsz); in i_ilb_retrieve_sg_hosts()
[all …]
H A Dilb_hc.c192 ilb_comm_t *ic, *tmp_rbuf; in ilb_get_hc_srvs() local
198 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) { in ilb_get_hc_srvs()
206 rc = i_ilb_do_comm(h, ic, ic_sz, tmp_rbuf, rbufsz); in ilb_get_hc_srvs()
210 if (tmp_rbuf->ic_cmd == ILBD_CMD_OK) { in ilb_get_hc_srvs()
211 *rbuf = tmp_rbuf; in ilb_get_hc_srvs()
214 rc = *(ilb_status_t *)&tmp_rbuf->ic_data; in ilb_get_hc_srvs()
217 free(tmp_rbuf); in ilb_get_hc_srvs()
H A Dilb_rules.c204 ilb_comm_t ic, *tmp_rbuf; in i_ilb_retrieve_rule_names() local
207 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) in i_ilb_retrieve_rule_names()
212 rc = i_ilb_do_comm(h, &ic, sizeof (ic), tmp_rbuf, rbufsz); in i_ilb_retrieve_rule_names()
216 if (tmp_rbuf->ic_cmd == ILBD_CMD_OK) { in i_ilb_retrieve_rule_names()
217 *rbuf = tmp_rbuf; in i_ilb_retrieve_rule_names()
220 rc = *(ilb_status_t *)&tmp_rbuf->ic_data; in i_ilb_retrieve_rule_names()
222 free(tmp_rbuf); in i_ilb_retrieve_rule_names()