Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/
H A Dvirtio_block.cpp57 IOScheduler* io_scheduler; member
250 info->io_scheduler->OperationCompleted(operation, status, in do_io()
320 delete info->io_scheduler; in virtio_block_uninit_device()
370 return handle->info->io_scheduler->ScheduleRequest(request); in virtio_block_io()
484 info->io_scheduler = new(std::nothrow) IOSchedulerSimple( in virtio_block_set_capacity()
486 if (info->io_scheduler == NULL) in virtio_block_set_capacity()
490 status = info->io_scheduler->Init("virtio"); in virtio_block_set_capacity()
494 info->io_scheduler->SetCallback(do_io, info); in virtio_block_set_capacity()
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/
H A Dscsi_cd.cpp670 info->io_scheduler->OperationCompleted(operation, status, bytesTransferred); in do_io()
697 delete info->io_scheduler; in cd_uninit_device()
699 info->io_scheduler = NULL; in cd_uninit_device()
755 if (handle->info->capacity == 0 || handle->info->io_scheduler == NULL) { in cd_io()
760 return handle->info->io_scheduler->ScheduleRequest(request); in cd_io()
929 info->io_scheduler = new(std::nothrow) IOCache(info->dma_resource, in cd_set_capacity()
934 info->io_scheduler = new(std::nothrow) IOSchedulerSimple( in cd_set_capacity()
938 if (info->io_scheduler == NULL) in cd_set_capacity()
942 status = info->io_scheduler->Init("scsi"); in cd_set_capacity()
946 info->io_scheduler->SetCallback(do_io, info); in cd_set_capacity()
[all …]
H A Dscsi_cd.h31 IOScheduler* io_scheduler; member
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp233 info->io_scheduler->OperationCompleted(operation, status, bytesTransferred); in do_io()
264 delete info->io_scheduler; in das_uninit_device()
319 return handle->info->io_scheduler->ScheduleRequest(request); in das_io()
429 info->io_scheduler = new(std::nothrow) IOSchedulerSimple( in das_set_capacity()
431 if (info->io_scheduler == NULL) in das_set_capacity()
435 status = info->io_scheduler->Init("scsi"); in das_set_capacity()
439 info->io_scheduler->SetCallback(do_io, info); in das_set_capacity()
H A Dscsi_disk.h28 IOScheduler* io_scheduler; member