Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cam/ctl/
H A Dctl_backend_ramdisk.c126 struct taskqueue *io_taskqueue; member
447 taskqueue_enqueue(be_lun->io_taskqueue, in ctl_backend_ramdisk_move_done()
959 taskqueue_drain_all(be_lun->io_taskqueue); in ctl_backend_ramdisk_rm()
960 taskqueue_free(be_lun->io_taskqueue); in ctl_backend_ramdisk_rm()
1142 be_lun->io_taskqueue = taskqueue_create(be_lun->lunname, M_WAITOK, in ctl_backend_ramdisk_create()
1143 taskqueue_thread_enqueue, /*context*/&be_lun->io_taskqueue); in ctl_backend_ramdisk_create()
1144 if (be_lun->io_taskqueue == NULL) { in ctl_backend_ramdisk_create()
1150 retval = taskqueue_start_threads(&be_lun->io_taskqueue, in ctl_backend_ramdisk_create()
1212 if (be_lun->io_taskqueue != NULL) in ctl_backend_ramdisk_create()
1213 taskqueue_free(be_lun->io_taskqueue); in ctl_backend_ramdisk_create()
H A Dctl_backend_block.c174 struct taskqueue *io_taskqueue; member
469 taskqueue_enqueue(be_lun->io_taskqueue, &be_lun->io_task); in ctl_be_block_move_done()
2362 if (be_lun->io_taskqueue == NULL) { in ctl_be_block_create()
2382 retval = taskqueue_start_threads(&be_lun->io_taskqueue, in ctl_be_block_create()
2454 if (be_lun->io_taskqueue != NULL) in ctl_be_block_create()
2455 taskqueue_free(be_lun->io_taskqueue); in ctl_be_block_create()
2504 taskqueue_drain_all(be_lun->io_taskqueue); in ctl_be_block_rm()
2537 taskqueue_drain_all(be_lun->io_taskqueue); in ctl_be_block_rm()
2538 taskqueue_free(be_lun->io_taskqueue); in ctl_be_block_rm()
2636 taskqueue_drain_all(be_lun->io_taskqueue); in ctl_be_block_modify()
[all …]
/freebsd-12.1/sys/dev/xen/blkback/
H A Dblkback.c552 struct taskqueue *io_taskqueue; member
1182 taskqueue_enqueue(xbb->io_taskqueue, &xbb->io_task); in xbb_release_reqlist()
1461 taskqueue_enqueue(xbb->io_taskqueue, &xbb->io_task); in xbb_complete_reqlist()
2046 taskqueue_enqueue(xbb->io_taskqueue, &xbb->io_task); in xbb_filter()
2808 taskqueue_drain(xbb->io_taskqueue, &xbb->io_task); in xbb_disconnect()
3673 xbb->io_taskqueue = taskqueue_create_fast(device_get_nameunit(dev), in xbb_attach_disk()
3676 /*contxt*/&xbb->io_taskqueue); in xbb_attach_disk()
3677 if (xbb->io_taskqueue == NULL) { in xbb_attach_disk()
3682 taskqueue_start_threads(&xbb->io_taskqueue, in xbb_attach_disk()
3822 if (xbb->io_taskqueue != NULL) in xbb_detach()
[all …]