Lines Matching refs:lcb
113 vdev_disk_ldi_cb_t *lcb; in vdev_disk_free() local
122 while ((lcb = list_head(&dvd->vd_ldi_cbs)) != NULL) { in vdev_disk_free()
123 list_remove(&dvd->vd_ldi_cbs, lcb); in vdev_disk_free()
124 (void) ldi_ev_remove_callbacks(lcb->lcb_id); in vdev_disk_free()
125 kmem_free(lcb, sizeof (vdev_disk_ldi_cb_t)); in vdev_disk_free()
292 vdev_disk_ldi_cb_t *lcb; in vdev_disk_open() local
655 lcb = kmem_zalloc(sizeof (vdev_disk_ldi_cb_t), KM_SLEEP); in vdev_disk_open()
656 list_insert_tail(&dvd->vd_ldi_cbs, lcb); in vdev_disk_open()
658 &vdev_disk_off_callb, (void *) vd, &lcb->lcb_id); in vdev_disk_open()
666 lcb = kmem_zalloc(sizeof (vdev_disk_ldi_cb_t), KM_SLEEP); in vdev_disk_open()
667 list_insert_tail(&dvd->vd_ldi_cbs, lcb); in vdev_disk_open()
669 &vdev_disk_dgrd_callb, (void *) vd, &lcb->lcb_id); in vdev_disk_open()