Home
last modified time | relevance | path

Searched refs:request_queue (Results 1 – 25 of 172) sorted by relevance

1234567

/drivers/scsi/
Dscsi_lib.c89 struct request_queue *q = cmd->request->q; in scsi_mq_requeue_cmd()
111 struct request_queue *q = device->request_queue; in __scsi_queue_insert()
191 req = blk_get_request(sdev->request_queue, write, __GFP_RECLAIM); in scsi_execute()
196 if (bufflen && blk_rq_map_kern(sdev->request_queue, req, in scsi_execute()
295 static void scsi_kick_queue(struct request_queue *q) in scsi_kick_queue()
327 scsi_kick_queue(current_sdev->request_queue); in scsi_single_lun_run()
340 scsi_kick_queue(sdev->request_queue); in scsi_single_lun_run()
391 struct request_queue *slq; in scsi_starved_list_run()
425 slq = sdev->request_queue; in scsi_starved_list_run()
452 static void scsi_run_queue(struct request_queue *q) in scsi_run_queue()
[all …]
Dscsi_priv.h8 struct request_queue;
90 extern struct request_queue *scsi_alloc_queue(struct scsi_device *sdev);
91 extern struct request_queue *scsi_mq_alloc_queue(struct scsi_device *sdev);
97 struct request_queue;
Dscsi_pm.c150 blk_set_runtime_active(to_scsi_device(dev)->request_queue); in scsi_bus_resume_common()
232 err = blk_pre_runtime_suspend(sdev->request_queue); in sdev_runtime_suspend()
237 blk_post_runtime_suspend(sdev->request_queue, err); in sdev_runtime_suspend()
261 blk_pre_runtime_resume(sdev->request_queue); in sdev_runtime_resume()
264 blk_post_runtime_resume(sdev->request_queue, err); in sdev_runtime_resume()
Dscsi_dh.c238 int scsi_dh_activate(struct request_queue *q, activate_complete fn, void *data) in scsi_dh_activate()
285 int scsi_dh_set_params(struct request_queue *q, const char *params) in scsi_dh_set_params()
307 int scsi_dh_attach(struct request_queue *q, const char *name) in scsi_dh_attach()
346 const char *scsi_dh_attached_handler_name(struct request_queue *q, gfp_t gfp) in scsi_dh_attached_handler_name()
Dsg.c265 struct request_queue *q; in sg_open()
325 q = sdp->device->request_queue; in sg_open()
808 blk_execute_rq_nowait(sdp->device->request_queue, sdp->disk, in sg_common_write()
824 static int max_sectors_bytes(struct request_queue *q) in max_sectors_bytes()
997 max_sectors_bytes(sdp->device->request_queue)); in sg_ioctl()
1013 max_sectors_bytes(sdp->device->request_queue)); in sg_ioctl()
1080 return sg_scsi_ioctl(sdp->device->request_queue, NULL, filp->f_mode, p); in sg_ioctl()
1088 return put_user(max_sectors_bytes(sdp->device->request_queue), in sg_ioctl()
1091 return blk_trace_setup(sdp->device->request_queue, in sg_ioctl()
1097 return blk_trace_startstop(sdp->device->request_queue, 1); in sg_ioctl()
[all …]
Dscsi_sysfs.c453 blk_put_queue(sdev->request_queue); in scsi_device_dev_release_usercontext()
455 sdev->request_queue = NULL; in scsi_device_dev_release_usercontext()
654 return snprintf(buf, 20, "%d\n", sdev->request_queue->rq_timeout / HZ); in sdev_show_timeout()
665 blk_queue_rq_timeout(sdev->request_queue, timeout * HZ); in sdev_store_timeout()
982 err = scsi_dh_attach(sdev->request_queue, buf); in sdev_store_dh_state()
1204 struct request_queue *rq = sdev->request_queue; in scsi_sysfs_add_sdev()
1288 bsg_unregister_queue(sdev->request_queue); in __scsi_remove_device()
1302 blk_cleanup_queue(sdev->request_queue); in __scsi_remove_device()
Dscsi_scan.c268 sdev->request_queue = scsi_mq_alloc_queue(sdev); in scsi_alloc_sdev()
270 sdev->request_queue = scsi_alloc_queue(sdev); in scsi_alloc_sdev()
271 if (!sdev->request_queue) { in scsi_alloc_sdev()
278 WARN_ON_ONCE(!blk_get_queue(sdev->request_queue)); in scsi_alloc_sdev()
279 sdev->request_queue->queuedata = sdev; in scsi_alloc_sdev()
282 blk_queue_init_tags(sdev->request_queue, in scsi_alloc_sdev()
910 blk_queue_max_hw_sectors(sdev->request_queue, 512); in scsi_add_lun()
916 blk_queue_max_hw_sectors(sdev->request_queue, 1024); in scsi_add_lun()
Dsr.c691 blk_queue_rq_timeout(sdev->request_queue, SR_TIMEOUT); in sr_probe()
718 disk->queue = sdev->request_queue; in sr_probe()
728 blk_pm_runtime_init(sdev->request_queue, dev); in sr_probe()
756 struct request_queue *queue; in get_sectorsize()
825 queue = cd->device->request_queue; in get_sectorsize()
Dst.c543 req = blk_get_request(SRpnt->stp->device->request_queue, write, in st_scsi_execute()
742 STp->device->request_queue->rq_timeout, in cross_eof()
787 STp->device->request_queue->rq_timeout, in st_flush_write_buffer()
1112 STp->device->request_queue->rq_timeout, in check_tape()
1139 STp->device->request_queue->rq_timeout, in check_tape()
1386 STp->device->request_queue->rq_timeout, in st_flush()
1555 STp->device->request_queue)) == 0) { in setup_buffering()
1775 STp->device->request_queue->rq_timeout, in st_write()
1945 STp->device->request_queue->rq_timeout, in read_tape()
2377 blk_queue_rq_timeout(STp->device->request_queue,
[all …]
/drivers/nvme/host/
Dnvme.h102 struct request_queue *admin_q;
103 struct request_queue *connect_q;
155 struct request_queue *queue;
272 struct request *nvme_alloc_request(struct request_queue *q,
277 int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
279 int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd,
282 int nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
285 int __nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
/drivers/usb/storage/
Dscsiglue.c108 blk_queue_update_dma_alignment(sdev->request_queue, (512 - 1)); in slave_alloc()
131 if (queue_max_hw_sectors(sdev->request_queue) > max_sectors) in slave_configure()
132 blk_queue_max_hw_sectors(sdev->request_queue, in slave_configure()
140 blk_queue_max_hw_sectors(sdev->request_queue, 0x7FFFFF); in slave_configure()
146 blk_queue_max_hw_sectors(sdev->request_queue, 2048); in slave_configure()
156 blk_queue_bounce_limit(sdev->request_queue, BLK_BOUNCE_HIGH); in slave_configure()
573 return sprintf(buf, "%u\n", queue_max_hw_sectors(sdev->request_queue)); in max_sectors_show()
584 blk_queue_max_hw_sectors(sdev->request_queue, ms); in max_sectors_store()
/drivers/md/
Ddm-rq.c66 static void dm_old_start_queue(struct request_queue *q) in dm_old_start_queue()
76 static void dm_mq_start_queue(struct request_queue *q) in dm_mq_start_queue()
88 void dm_start_queue(struct request_queue *q) in dm_start_queue()
96 static void dm_old_stop_queue(struct request_queue *q) in dm_old_stop_queue()
106 static void dm_mq_stop_queue(struct request_queue *q) in dm_mq_stop_queue()
124 void dm_stop_queue(struct request_queue *q) in dm_stop_queue()
229 struct request_queue *q = md->queue; in rq_completed()
336 struct request_queue *q = rq->q; in dm_old_requeue_request()
345 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) in __dm_mq_kick_requeue_list()
627 static int dm_old_prep_fn(struct request_queue *q, struct request *rq) in dm_old_prep_fn()
[all …]
Ddm-rq.h55 void dm_start_queue(struct request_queue *q);
56 void dm_stop_queue(struct request_queue *q);
Ddm-table.c284 struct request_queue *q; in device_area_is_invalid()
440 struct request_queue *q = bdev_get_queue(bdev); in dm_set_device_limits()
846 struct request_queue *q = bdev_get_queue(dev->bdev); in device_supports_dax()
961 struct request_queue *q = bdev_get_queue(dd->dm_dev->bdev); in dm_table_determine_type()
1425 struct request_queue *q = bdev_get_queue(dev->bdev); in device_flush_capable()
1477 struct request_queue *q = bdev_get_queue(dev->bdev); in device_is_nonrot()
1485 struct request_queue *q = bdev_get_queue(dev->bdev); in device_is_not_random()
1493 struct request_queue *q = bdev_get_queue(dev->bdev); in queue_supports_sg_merge()
1518 struct request_queue *q = bdev_get_queue(dev->bdev); in device_not_write_same_capable()
1545 struct request_queue *q = bdev_get_queue(dev->bdev); in device_discard_capable()
[all …]
Ddm.h59 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
185 struct request_queue *dm_get_md_queue(struct mapped_device *md);
/drivers/mmc/card/
Dqueue.c32 static int mmc_prep_request(struct request_queue *q, struct request *req) in mmc_prep_request()
56 struct request_queue *q = mq->queue; in mmc_queue_thread()
120 static void mmc_request_fn(struct request_queue *q) in mmc_request_fn()
167 static void mmc_queue_setup_discard(struct request_queue *q, in mmc_queue_setup_discard()
332 struct request_queue *q = mq->queue; in mmc_cleanup_queue()
424 struct request_queue *q = mq->queue; in mmc_queue_suspend()
444 struct request_queue *q = mq->queue; in mmc_queue_resume()
/drivers/ide/
Dide-pm.c48 struct request_queue *q = rq->q; in ide_pm_execute_rq()
214 struct request_queue *q = drive->queue; in ide_complete_pm_rq()
259 struct request_queue *q = drive->queue; in ide_check_pm_state()
/drivers/scsi/device_handler/
Dscsi_dh_rdac.c269 struct request_queue *q = sdev->request_queue; in get_rdac_req()
407 struct request_queue *q = sdev->request_queue; in submit_inquiry()
608 struct request_queue *q = sdev->request_queue; in send_mode_select()
Dscsi_dh_emc.c273 rq = blk_get_request(sdev->request_queue, in get_req()
336 err = blk_execute_rq(sdev->request_queue, NULL, rq, 1); in send_inquiry_cmd()
384 err = blk_execute_rq(sdev->request_queue, NULL, rq, 1); in send_trespass_cmd()
/drivers/block/
Dnull_blk.c35 struct request_queue *q;
221 struct request_queue *q = NULL; in end_cmd()
312 static blk_qc_t null_queue_bio(struct request_queue *q, struct bio *bio) in null_queue_bio()
325 static int null_rq_prep_fn(struct request_queue *q, struct request *req) in null_rq_prep_fn()
342 static void null_request_fn(struct request_queue *q) in null_request_fn()
430 struct request_queue *q = dev->q; in null_lnvm_submit_io()
Dsx8.c282 struct request_queue *oob_q;
291 struct request_queue *wait_q[CARM_MAX_WAIT_Q];
761 static inline void carm_push_q (struct carm_host *host, struct request_queue *q) in carm_push_q()
773 static inline struct request_queue *carm_pop_q(struct carm_host *host) in carm_pop_q()
788 struct request_queue *q = carm_pop_q(host); in carm_round_robin()
807 static void carm_oob_rq_fn(struct request_queue *q) in carm_oob_rq_fn()
836 static void carm_rq_fn(struct request_queue *q) in carm_rq_fn()
1497 struct request_queue *q; in carm_init_disks()
1540 struct request_queue *q = disk->queue; in carm_free_disks()
1572 struct request_queue *q; in carm_init_one()
Dps3disk.c44 struct request_queue *queue;
192 struct request_queue *q) in ps3disk_do_request()
213 static void ps3disk_request(struct request_queue *q) in ps3disk_request()
409 struct request_queue *queue; in ps3disk_probe()
/drivers/cdrom/
Dgdrom.c103 static DECLARE_WAIT_QUEUE_HEAD(request_queue);
124 struct request_queue *gdrom_rq;
555 wake_up_interruptible(&request_queue); in gdrom_dma_interrupt()
642 wait_event_interruptible_timeout(request_queue, in gdrom_readdisk_dma()
657 static void gdrom_request(struct request_queue *rq) in gdrom_request()
/drivers/target/
Dtarget_core_iblock.c85 struct request_queue *q; in iblock_configure_device()
201 struct request_queue *q) in iblock_emulate_read_cap_with_block_size()
687 struct request_queue *q = bdev_get_queue(ib_dev->ibd_bd); in iblock_execute_rw()
776 struct request_queue *q = bdev_get_queue(bd); in iblock_get_blocks()
837 struct request_queue *q = bdev_get_queue(bd); in iblock_get_write_cache()
/drivers/s390/block/
Ddasd.c2643 struct request_queue *queue; in __dasd_process_request_queue()
2648 queue = block->request_queue; in __dasd_process_request_queue()
2662 while ((req = blk_fetch_request(block->request_queue))) in __dasd_process_request_queue()
2936 blk_requeue_request(block->request_queue, req); in _dasd_requeue_request()
3022 static void do_dasd_request(struct request_queue *queue) in do_dasd_request()
3116 block->request_queue = blk_init_queue(do_dasd_request, in dasd_alloc_queue()
3118 if (block->request_queue == NULL) in dasd_alloc_queue()
3121 block->request_queue->queuedata = block; in dasd_alloc_queue()
3145 queue_flag_set_unlocked(QUEUE_FLAG_NONROT, block->request_queue); in dasd_setup_queue()
3146 block->request_queue->limits.max_dev_sectors = max; in dasd_setup_queue()
[all …]

1234567