Home
last modified time | relevance | path

Searched refs:cb_size (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libcpc/common/
H A Dlibcpc.c373 buf->cb_size = set->cs_nreqs * sizeof (uint64_t); in cpc_buf_create()
374 if ((buf->cb_data = malloc(buf->cb_size)) == NULL) { in cpc_buf_create()
379 bzero(buf->cb_data, buf->cb_size); in cpc_buf_create()
640 buf->cb_size != set->cs_nreqs * sizeof (uint64_t)) { in cpc_set_sample()
657 buf->cb_size)); in cpc_set_sample()
670 if (a->cb_size != ds->cb_size || b->cb_size != ds->cb_size) in cpc_buf_sub()
677 for (i = 0; i < ds->cb_size / sizeof (uint64_t); i++) in cpc_buf_sub()
687 if (a->cb_size != ds->cb_size || b->cb_size != ds->cb_size) in cpc_buf_add()
694 for (i = 0; i < ds->cb_size / sizeof (uint64_t); i++) in cpc_buf_add()
702 if (ds->cb_size != src->cb_size) in cpc_buf_copy()
[all …]
H A Dlibcpc_impl.h65 size_t cb_size; /* Size of data store, bytes */ member
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_internal.c1516 if (size < cb->cb_size) in resize_char_buf()
1519 cb->cb_size = size; in resize_char_buf()
1571 if ((new_size = vsnprintf(cb->cb_buf, cb->cb_size, fmt, ap)) >= in set_char_buf()
1572 cb->cb_size) { in set_char_buf()
1577 (void) vsnprintf(cb->cb_buf, cb->cb_size, fmt, ap); in set_char_buf()
1602 if (new_len + old_len >= cb->cb_size) { in append_char_buf()
1612 (void) vsnprintf(&cb->cb_buf[old_len], cb->cb_size - old_len, fmt, ap); in append_char_buf()
H A Dpool_internal.h121 size_t cb_size; member
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_hlib.c2812 int i, cb_size, cb_keys; in hvio_cb_suspend() local
2816 cb_size = UBC_SIZE; in hvio_cb_suspend()
2821 cb_size = JBC_SIZE; in hvio_cb_suspend()
2831 config_state = kmem_zalloc(cb_size, KM_NOSLEEP); in hvio_cb_suspend()
2853 int i, cb_size, cb_keys; in hvio_cb_resume() local
2858 cb_size = UBC_SIZE; in hvio_cb_resume()
2868 cb_size = JBC_SIZE; in hvio_cb_resume()
2906 kmem_free(pxu_p->xcb_config_state, cb_size); in hvio_cb_resume()