/drivers/scsi/ |
D | scsi_lib.c | 117 struct request_queue *q = device->request_queue; in __scsi_queue_insert() 217 req = blk_get_request(sdev->request_queue, write, __GFP_WAIT); in scsi_execute() 221 if (bufflen && blk_rq_map_kern(sdev->request_queue, req, in scsi_execute() 315 spin_lock(sdev->request_queue->queue_lock); in scsi_device_unbusy() 317 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in scsi_device_unbusy() 344 blk_run_queue(current_sdev->request_queue); in scsi_single_lun_run() 357 blk_run_queue(sdev->request_queue); in scsi_single_lun_run() 402 static void scsi_run_queue(struct request_queue *q) in scsi_run_queue() 440 spin_lock(sdev->request_queue->queue_lock); in scsi_run_queue() 441 __blk_run_queue(sdev->request_queue); in scsi_run_queue() [all …]
|
D | scsi_priv.h | 6 struct request_queue; 86 extern struct request_queue *scsi_alloc_queue(struct scsi_device *sdev); 89 struct request_queue;
|
D | scsi_tgt_lib.c | 147 struct request_queue *q = shost->uspace_req_q; in scsi_host_put_command() 164 struct request_queue *q = cmd->request->q; in cmd_hashlist_del() 219 struct request_queue *q; in scsi_tgt_alloc_queue() 268 struct request_queue *q = shost->uspace_req_q; in scsi_tgt_free_queue() 360 struct request_queue *q = cmd->request->q; in scsi_map_user_pages() 426 static struct request *tgt_cmd_hash_lookup(struct request_queue *q, u64 tag) in tgt_cmd_hash_lookup()
|
D | sr.c | 367 static int sr_prep_fn(struct request_queue *q, struct request *rq) in sr_prep_fn() 680 blk_queue_rq_timeout(sdev->request_queue, SR_TIMEOUT); in sr_probe() 703 blk_queue_prep_rq(sdev->request_queue, sr_prep_fn); in sr_probe() 709 disk->queue = sdev->request_queue; in sr_probe() 738 struct request_queue *queue; in get_sectorsize() 807 queue = cd->device->request_queue; in get_sectorsize() 968 blk_queue_prep_rq(cd->device->request_queue, scsi_prep_fn); in sr_remove()
|
D | scsi_sysfs.c | 360 blk_put_queue(sdev->request_queue); in scsi_device_dev_release_usercontext() 362 sdev->request_queue = NULL; in scsi_device_dev_release_usercontext() 545 return snprintf(buf, 20, "%d\n", sdev->request_queue->rq_timeout / HZ); in sdev_show_timeout() 556 blk_queue_rq_timeout(sdev->request_queue, timeout * HZ); in sdev_store_timeout() 869 struct request_queue *rq = sdev->request_queue; in scsi_sysfs_add_sdev() 960 bsg_unregister_queue(sdev->request_queue); in __scsi_remove_device() 972 blk_cleanup_queue(sdev->request_queue); in __scsi_remove_device()
|
D | sd.c | 534 struct request_queue *q = sdkp->disk->queue; in sd_config_discard() 673 static void sd_unprep_fn(struct request_queue *q, struct request *rq) in sd_unprep_fn() 696 static int sd_prep_fn(struct request_queue *q, struct request *rq) in sd_prep_fn() 1818 blk_queue_alignment_offset(sdp->request_queue, alignment); in read_capacity_16() 2006 blk_queue_logical_block_size(sdp->request_queue, sector_size); in sd_read_capacity() 2040 blk_queue_physical_block_size(sdp->request_queue, in sd_read_capacity() 2609 gd->queue = sdkp->device->request_queue; in sd_probe_async() 2625 blk_queue_prep_rq(sdp->request_queue, sd_prep_fn); in sd_probe_async() 2626 blk_queue_unprep_rq(sdp->request_queue, sd_unprep_fn); in sd_probe_async() 2714 if (!sdp->request_queue->rq_timeout) { in sd_probe() [all …]
|
D | sg.c | 229 struct request_queue *q; in sg_open() 297 q = sdp->device->request_queue; in sg_open() 769 blk_execute_rq_nowait(sdp->device->request_queue, sdp->disk, in sg_common_write() 923 queue_max_sectors(sdp->device->request_queue) * 512); in sg_ioctl() 933 queue_max_sectors(sdp->device->request_queue) * 512); in sg_ioctl() 1058 return sg_scsi_ioctl(sdp->device->request_queue, NULL, filp->f_mode, p); in sg_ioctl() 1073 return put_user(queue_max_sectors(sdp->device->request_queue) * 512, in sg_ioctl() 1076 return blk_trace_setup(sdp->device->request_queue, in sg_ioctl() 1082 return blk_trace_startstop(sdp->device->request_queue, 1); in sg_ioctl() 1084 return blk_trace_startstop(sdp->device->request_queue, 0); in sg_ioctl() [all …]
|
D | st.c | 486 req = blk_get_request(SRpnt->stp->device->request_queue, write, in st_scsi_execute() 673 STp->device->request_queue->rq_timeout, in cross_eof() 718 STp->device->request_queue->rq_timeout, in st_flush_write_buffer() 1049 STp->device->request_queue->rq_timeout, in check_tape() 1077 STp->device->request_queue->rq_timeout, in check_tape() 1327 STp->device->request_queue->rq_timeout, in st_flush() 1495 STp->device->request_queue)) == 0) { in setup_buffering() 1715 STp->device->request_queue->rq_timeout, in st_write() 1886 STp->device->request_queue->rq_timeout, in read_tape() 2300 blk_queue_rq_timeout(STp->device->request_queue, [all …]
|
/drivers/usb/storage/ |
D | scsiglue.c | 103 blk_queue_update_dma_alignment(sdev->request_queue, (512 - 1)); in slave_alloc() 121 if (queue_max_hw_sectors(sdev->request_queue) > max_sectors) in slave_configure() 122 blk_queue_max_hw_sectors(sdev->request_queue, in slave_configure() 129 blk_queue_max_hw_sectors(sdev->request_queue, 0x7FFFFF); in slave_configure() 138 blk_queue_bounce_limit(sdev->request_queue, BLK_BOUNCE_HIGH); in slave_configure() 508 return sprintf(buf, "%u\n", queue_max_hw_sectors(sdev->request_queue)); in show_max_sectors() 519 blk_queue_max_hw_sectors(sdev->request_queue, ms); in store_max_sectors()
|
/drivers/mmc/card/ |
D | queue.c | 30 static int mmc_prep_request(struct request_queue *q, struct request *req) in mmc_prep_request() 53 struct request_queue *q = mq->queue; in mmc_queue_thread() 99 static void mmc_request(struct request_queue *q) in mmc_request() 131 static void mmc_queue_setup_discard(struct request_queue *q, in mmc_queue_setup_discard() 297 struct request_queue *q = mq->queue; in mmc_cleanup_queue() 346 struct request_queue *q = mq->queue; in mmc_queue_suspend() 366 struct request_queue *q = mq->queue; in mmc_queue_resume()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_hp_sw.c | 119 req = blk_get_request(sdev->request_queue, WRITE, GFP_NOIO); in hp_sw_tur() 249 req = blk_get_request(h->sdev->request_queue, WRITE, GFP_ATOMIC); in hp_sw_start_stop() 383 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in hp_sw_bus_attach() 385 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in hp_sw_bus_attach() 405 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in hp_sw_bus_detach() 408 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in hp_sw_bus_detach()
|
D | scsi_dh_rdac.c | 273 struct request_queue *q = sdev->request_queue; in get_rdac_req() 410 struct request_queue *q = sdev->request_queue; in submit_inquiry() 594 struct request_queue *q = sdev->request_queue; in send_mode_select() 893 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in rdac_bus_attach() 895 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in rdac_bus_attach() 927 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in rdac_bus_detach() 929 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in rdac_bus_detach()
|
D | scsi_dh_emc.c | 276 rq = blk_get_request(sdev->request_queue, in get_req() 339 err = blk_execute_rq(sdev->request_queue, NULL, rq, 1); in send_inquiry_cmd() 387 err = blk_execute_rq(sdev->request_queue, NULL, rq, 1); in send_trespass_cmd() 698 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in clariion_bus_attach() 700 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in clariion_bus_attach() 722 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in clariion_bus_detach() 725 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in clariion_bus_detach()
|
D | scsi_dh_alua.c | 105 struct request_queue *q = sdev->request_queue; in get_alua_req() 739 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in alua_bus_attach() 741 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in alua_bus_attach() 762 spin_lock_irqsave(sdev->request_queue->queue_lock, flags); in alua_bus_detach() 765 spin_unlock_irqrestore(sdev->request_queue->queue_lock, flags); in alua_bus_detach()
|
D | scsi_dh.c | 382 int scsi_dh_activate(struct request_queue *q, activate_complete fn, void *data) in scsi_dh_activate() 435 int scsi_dh_set_params(struct request_queue *q, const char *params) in scsi_dh_set_params() 474 int scsi_dh_attach(struct request_queue *q, const char *name) in scsi_dh_attach() 507 void scsi_dh_detach(struct request_queue *q) in scsi_dh_detach()
|
/drivers/staging/keucr/ |
D | scsiglue.c | 37 blk_queue_update_dma_alignment(sdev->request_queue, (512 - 1)); in slave_alloc() 58 if (queue_max_sectors(sdev->request_queue) > max_sectors) in slave_configure() 59 blk_queue_max_hw_sectors(sdev->request_queue, in slave_configure() 315 return sprintf(buf, "%u\n", queue_max_sectors(sdev->request_queue)); in show_max_sectors() 331 blk_queue_max_hw_sectors(sdev->request_queue, ms); in store_max_sectors()
|
/drivers/md/ |
D | dm.h | 54 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 70 int dm_queue_merge_is_compulsory(struct request_queue *q);
|
D | dm.c | 137 struct request_queue *queue; 828 struct request_queue *q = rq->q; in dm_requeue_unmapped_request() 841 static void __stop_queue(struct request_queue *q) in __stop_queue() 846 static void stop_queue(struct request_queue *q) in stop_queue() 855 static void __start_queue(struct request_queue *q) in __start_queue() 861 static void start_queue(struct request_queue *q) in start_queue() 1352 static int dm_merge_bvec(struct request_queue *q, in dm_merge_bvec() 1413 static void _dm_request(struct request_queue *q, struct bio *bio) in _dm_request() 1447 static void dm_request(struct request_queue *q, struct bio *bio) in dm_request() 1548 static int dm_prep_fn(struct request_queue *q, struct request *rq) in dm_prep_fn() [all …]
|
D | linear.c | 63 static int linear_mergeable_bvec(struct request_queue *q, in linear_mergeable_bvec() 72 struct request_queue *subq; in linear_mergeable_bvec() 113 struct request_queue *q = bdev_get_queue(conf->disks[i].rdev->bdev); in linear_congested()
|
D | dm-table.c | 365 struct request_queue *q; in device_area_is_invalid() 521 struct request_queue *q = bdev_get_queue(bdev); in dm_set_device_limits() 1300 struct request_queue *q = bdev_get_queue(dev->bdev); in device_flush_capable() 1349 struct request_queue *q = bdev_get_queue(dev->bdev); in device_is_nonrot() 1357 struct request_queue *q = bdev_get_queue(dev->bdev); in device_is_not_random() 1379 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, in dm_table_set_restrictions() 1522 struct request_queue *q = bdev_get_queue(dd->dm_dev.bdev); in dm_table_any_congested() 1563 struct request_queue *q = bdev_get_queue(dev->bdev); in device_discard_capable()
|
/drivers/s390/block/ |
D | dasd.c | 2397 struct request_queue *queue; in __dasd_process_request_queue() 2402 queue = block->request_queue; in __dasd_process_request_queue() 2416 while ((req = blk_fetch_request(block->request_queue))) in __dasd_process_request_queue() 2722 static void do_dasd_request(struct request_queue *queue) in do_dasd_request() 2742 block->request_queue = blk_init_queue(do_dasd_request, in dasd_alloc_queue() 2744 if (block->request_queue == NULL) in dasd_alloc_queue() 2747 block->request_queue->queuedata = block; in dasd_alloc_queue() 2749 elevator_exit(block->request_queue->elevator); in dasd_alloc_queue() 2750 block->request_queue->elevator = NULL; in dasd_alloc_queue() 2751 rc = elevator_init(block->request_queue, "deadline"); in dasd_alloc_queue() [all …]
|
/drivers/message/i2o/ |
D | i2o_block.c | 364 static int i2o_block_prep_req_fn(struct request_queue *q, struct request *req) in i2o_block_prep_req_fn() 406 struct request_queue *q = dreq->queue; in i2o_block_delayed_request_fn() 429 struct request_queue *q = req->q; in i2o_block_end_request() 896 static void i2o_block_request_fn(struct request_queue *q) in i2o_block_request_fn() 967 struct request_queue *queue; in i2o_block_device_alloc() 1034 struct request_queue *queue; in i2o_block_probe()
|
/drivers/cdrom/ |
D | gdrom.c | 103 static DECLARE_WAIT_QUEUE_HEAD(request_queue); 124 struct request_queue *gdrom_rq; 556 wake_up_interruptible(&request_queue); in gdrom_dma_interrupt() 643 wait_event_interruptible_timeout(request_queue, in gdrom_readdisk_dma() 658 static void gdrom_request(struct request_queue *rq) in gdrom_request()
|
/drivers/block/ |
D | sx8.c | 282 struct request_queue *oob_q; 291 struct request_queue *wait_q[CARM_MAX_WAIT_Q]; 762 static inline void carm_push_q (struct carm_host *host, struct request_queue *q) in carm_push_q() 774 static inline struct request_queue *carm_pop_q(struct carm_host *host) in carm_pop_q() 789 struct request_queue *q = carm_pop_q(host); in carm_round_robin() 808 static void carm_oob_rq_fn(struct request_queue *q) in carm_oob_rq_fn() 837 static void carm_rq_fn(struct request_queue *q) in carm_rq_fn() 1498 struct request_queue *q; in carm_init_disks() 1541 struct request_queue *q = disk->queue; in carm_free_disks() 1573 struct request_queue *q; in carm_init_one()
|
D | ps3disk.c | 44 struct request_queue *queue; 193 struct request_queue *q) in ps3disk_do_request() 214 static void ps3disk_request(struct request_queue *q) in ps3disk_request() 410 struct request_queue *queue; in ps3disk_probe()
|