Home
last modified time | relevance | path

Searched refs:queue_max_hw_sectors (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/usb/storage/
Dscsiglue.c107 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/
Dblk-map.c268 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()
Dblk-sysfs.c243 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");
Dbio.c1007 queue_max_hw_sectors(q), &same_page); in bio_add_pc_page()
/linux-6.1.9/drivers/scsi/
Dsd_zbc.c215 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()
Dscsi_ioctl.c420 if (hdr->dxfer_len > (queue_max_hw_sectors(sdev->request_queue) << 9)) in sg_io()
Dsd.c3307 rw_max = min(rw_max, queue_max_hw_sectors(q)); in sd_revalidate_disk()
/linux-6.1.9/drivers/nvme/host/
Dzns.c137 queue_max_hw_sectors(q) << SECTOR_SHIFT); in nvme_zns_alloc_report_buffer()
/linux-6.1.9/drivers/block/rnbd/
Drnbd-srv.c548 cpu_to_le32(queue_max_hw_sectors(bdev_get_queue(bdev))); in rnbd_srv_fill_msg_open_rsp()
/linux-6.1.9/drivers/target/
Dtarget_core_iblock.c127 dev->dev_attrib.hw_max_sectors = queue_max_hw_sectors(q); in iblock_configure_device()
Dtarget_core_pscsi.c303 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); in pscsi_add_device_to_list()
/linux-6.1.9/include/linux/
Dblkdev.h1136 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/
Ddrbd_nl.c1271 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()
Ddrbd_worker.c620 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; in make_resync_request()
Ddrbd_main.c935 max_bio_size = queue_max_hw_sectors(q) << 9; in drbd_send_sizes()
/linux-6.1.9/drivers/block/null_blk/
Dmain.c2105 dev->max_sectors = queue_max_hw_sectors(nullb->q); in null_add_dev()
/linux-6.1.9/drivers/block/
Drbd.c4937 q->limits.max_sectors = queue_max_hw_sectors(q); in rbd_init_disk()