Lines Matching defs:acb
4678 arc_callback_t *callback_list, *acb;
4738 for (acb = callback_list; acb; acb = acb->acb_next) {
4739 if (acb->acb_done != NULL) {
4750 acb->acb_buf = arc_buf_alloc_impl(hdr,
4751 acb->acb_private);
4754 arc_decompress(acb->acb_buf);
4756 abuf = acb->acb_buf;
4758 add_reference(hdr, acb->acb_private);
4759 acb->acb_buf = arc_buf_clone(abuf);
4810 while ((acb = callback_list) != NULL) {
4811 if (acb->acb_done)
4812 acb->acb_done(zio, acb->acb_buf, acb->acb_private);
4814 if (acb->acb_zio_dummy != NULL) {
4815 acb->acb_zio_dummy->io_error = zio->io_error;
4816 zio_nowait(acb->acb_zio_dummy);
4819 callback_list = acb->acb_next;
4820 kmem_free(acb, sizeof (arc_callback_t));
4912 arc_callback_t *acb = NULL;
4914 acb = kmem_zalloc(sizeof (arc_callback_t),
4916 acb->acb_done = done;
4917 acb->acb_private = private;
4919 acb->acb_zio_dummy = zio_null(pio,
4922 ASSERT3P(acb->acb_done, !=, NULL);
4923 acb->acb_next = hdr->b_l1hdr.b_acb;
4924 hdr->b_l1hdr.b_acb = acb;
4988 arc_callback_t *acb;
5065 acb = kmem_zalloc(sizeof (arc_callback_t), KM_SLEEP);
5066 acb->acb_done = done;
5067 acb->acb_private = private;
5070 hdr->b_l1hdr.b_acb = acb;