Searched refs:cb_buf (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c243 cbp->cb_buf = kmem_zalloc(cbp->cb_len * 4, KM_SLEEP);
247 SBP2_CFGROM_RQ(tp, cmd, addr, &cbp->cb_buf[i]);
260 if ((cbp->cb_buf != NULL) && (cbp->cb_len > 0)) {
261 kmem_free(cbp->cb_buf, cbp->cb_len * 4);
262 cbp->cb_buf = NULL;
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_internal.c1188 if (pool_value_set_name(props[0], cb->cb_buf) != PO_SUCCESS) {
1322 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) {
1510 if ((re_cb = realloc(cb->cb_buf, size)) == NULL) {
1515 if (cb->cb_buf == NULL)
1520 cb->cb_buf = re_cb;
1555 free((void *)cb->cb_buf);
1573 if ((new_size = vsnprintf(cb->cb_buf, cb->cb_size, fmt, ap)) >=
1579 (void) vsnprintf(cb->cb_buf, cb->cb_size, fmt, ap);
1600 if (cb->cb_buf != NULL)
1601 old_len = strlen(cb->cb_buf);
[all...]
H A Dpool_internal.h124 char *cb_buf; member in struct:char_buf
H A Dpool.c351 if (cb->cb_buf)
352 ret = strdup(cb->cb_buf);
489 return (cb->cb_buf);
904 ret = pool_get_property(TO_CONF(pe), pe, cb->cb_buf, val);
1036 ret = pool_put_property(TO_CONF(pe), pe, cb->cb_buf, val);
1085 ret = pool_put_any_property(pe, cb->cb_buf, val);
1936 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) {
H A Dpool_xml.c1010 if (pool_value_set_name(result[i], cb->cb_buf) !=
1442 if (pool_value_set_name(props[1], cb->cb_buf) != PO_SUCCESS) {
2215 buf = strdup(cb->cb_buf);
2284 if (cb->cb_buf != NULL && strlen(cb->cb_buf) > 0)
2411 char *where = strrchr(cb->cb_buf, '[');
H A Dpool_kernel.c1058 BAD_CAST cb->cb_buf);
1069 BAD_CAST cb->cb_buf);
1113 BAD_CAST cb->cb_buf);
1161 BAD_CAST cb->cb_buf);
1712 (void) nvlist_add_int64(elem->pke_properties, cb->cb_buf, id--);
1719 (void) nvlist_add_string(elem->pke_properties, cb->cb_buf, "");
1731 (void) nvlist_add_uint64(elem->pke_properties, cb->cb_buf, 0);
2834 cb->cb_buf, create->pcu_ioctl.pc_i_id) == 0);
3184 cb->cb_buf, u_create.pc_i_id);
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Ddriver.h52 uint32_t *cb_buf; /* data buffer */ member in struct:sbp2_cfgrom_bib

Completed in 68 milliseconds