Searched refs:queue_max_hw_sectors (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/drivers/usb/storage/ |
D | scsiglue.c | 107 if (queue_max_hw_sectors(sdev->request_queue) > max_sectors) in slave_configure() 130 min_t(size_t, queue_max_hw_sectors(sdev->request_queue), in slave_configure() 572 return sprintf(buf, "%u\n", queue_max_hw_sectors(sdev->request_queue)); in max_sectors_show()
|
/linux-6.1.9/block/ |
D | blk-map.c | 268 unsigned int max_sectors = queue_max_hw_sectors(rq->q); in bio_map_user_iov() 563 if (!nr_iter || (nr_iter >> SECTOR_SHIFT) > queue_max_hw_sectors(q)) in blk_rq_map_user_bvec() 781 if (len > (queue_max_hw_sectors(q) << 9)) in blk_rq_map_kern()
|
D | blk-sysfs.c | 243 max_hw_sectors_kb = queue_max_hw_sectors(q) >> 1, in queue_max_sectors_store() 267 int max_hw_sectors_kb = queue_max_hw_sectors(q) >> 1; in queue_max_hw_sectors_show() 576 QUEUE_RO_ENTRY(queue_max_hw_sectors, "max_hw_sectors_kb");
|
D | bio.c | 1007 queue_max_hw_sectors(q), &same_page); in bio_add_pc_page()
|
/linux-6.1.9/drivers/scsi/ |
D | sd_zbc.c | 215 queue_max_hw_sectors(q) << SECTOR_SHIFT); in sd_zbc_alloc_report_buffer() 885 max_append = min_t(u32, max_append, queue_max_hw_sectors(q)); in sd_zbc_revalidate_zones()
|
D | scsi_ioctl.c | 420 if (hdr->dxfer_len > (queue_max_hw_sectors(sdev->request_queue) << 9)) in sg_io()
|
D | sd.c | 3307 rw_max = min(rw_max, queue_max_hw_sectors(q)); in sd_revalidate_disk()
|
/linux-6.1.9/drivers/nvme/host/ |
D | zns.c | 137 queue_max_hw_sectors(q) << SECTOR_SHIFT); in nvme_zns_alloc_report_buffer()
|
/linux-6.1.9/drivers/block/rnbd/ |
D | rnbd-srv.c | 548 cpu_to_le32(queue_max_hw_sectors(bdev_get_queue(bdev))); in rnbd_srv_fill_msg_open_rsp()
|
/linux-6.1.9/drivers/target/ |
D | target_core_iblock.c | 127 dev->dev_attrib.hw_max_sectors = queue_max_hw_sectors(q); in iblock_configure_device()
|
D | target_core_pscsi.c | 303 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); in pscsi_add_device_to_list()
|
/linux-6.1.9/include/linux/ |
D | blkdev.h | 1136 static inline unsigned int queue_max_hw_sectors(const struct request_queue *q) in queue_max_hw_sectors() function
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_nl.c | 1271 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); in drbd_setup_queue_param() 1297 now = queue_max_hw_sectors(device->rq_queue) << 9; in drbd_reconsider_queue_parameters() 1302 local = queue_max_hw_sectors(bdev->backing_bdev->bd_disk->queue) << 9; in drbd_reconsider_queue_parameters()
|
D | drbd_worker.c | 620 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; in make_resync_request()
|
D | drbd_main.c | 935 max_bio_size = queue_max_hw_sectors(q) << 9; in drbd_send_sizes()
|
/linux-6.1.9/drivers/block/null_blk/ |
D | main.c | 2105 dev->max_sectors = queue_max_hw_sectors(nullb->q); in null_add_dev()
|
/linux-6.1.9/drivers/block/ |
D | rbd.c | 4937 q->limits.max_sectors = queue_max_hw_sectors(q); in rbd_init_disk()
|