Searched refs:queue_max_hw_sectors (Results 1 – 19 of 19) sorted by relevance
/openbmc/linux/drivers/usb/storage/ |
H A 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() 593 return sprintf(buf, "%u\n", queue_max_hw_sectors(sdev->request_queue)); in max_sectors_show()
|
/openbmc/linux/block/ |
H A D | blk-map.c | 276 unsigned int max_sectors = queue_max_hw_sectors(rq->q); in bio_map_user_iov() 573 if (!nr_iter || (nr_iter >> SECTOR_SHIFT) > queue_max_hw_sectors(q)) in blk_rq_map_user_bvec() 788 if (len > (queue_max_hw_sectors(q) << 9)) in blk_rq_map_kern()
|
H A D | blk-sysfs.c | 231 max_hw_sectors_kb = queue_max_hw_sectors(q) >> 1, in queue_max_sectors_store() 263 int max_hw_sectors_kb = queue_max_hw_sectors(q) >> 1; in queue_max_hw_sectors_show() 492 QUEUE_RO_ENTRY(queue_max_hw_sectors, "max_hw_sectors_kb");
|
H A D | bio-integrity.c | 130 queue_max_hw_sectors(q)) in bio_integrity_add_page()
|
H A D | bio.c | 1022 queue_max_hw_sectors(q), &same_page); in bio_add_pc_page()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | zns.c | 136 queue_max_hw_sectors(q) << SECTOR_SHIFT); in nvme_zns_alloc_report_buffer()
|
/openbmc/linux/drivers/scsi/ |
H A D | sd_zbc.c | 220 queue_max_hw_sectors(q) << SECTOR_SHIFT); in sd_zbc_alloc_report_buffer()
|
H A D | scsi_ioctl.c | 424 if (hdr->dxfer_len > (queue_max_hw_sectors(sdev->request_queue) << 9)) in sg_io()
|
H A D | sd.c | 3543 rw_max = min(rw_max, queue_max_hw_sectors(q)); in sd_revalidate_disk()
|
/openbmc/linux/drivers/block/rnbd/ |
H A D | rnbd-srv.c | 546 cpu_to_le32(queue_max_hw_sectors(bdev_get_queue(bdev))); in rnbd_srv_fill_msg_open_rsp()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_pscsi.c | 301 min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); in pscsi_add_device_to_list()
|
H A D | target_core_iblock.c | 129 dev->dev_attrib.hw_max_sectors = mult_frac(queue_max_hw_sectors(q), in iblock_configure_device()
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | 1118 static inline unsigned int queue_max_hw_sectors(const struct request_queue *q) in queue_max_hw_sectors() function
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_nl.c | 1283 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); in drbd_setup_queue_param() 1310 now = queue_max_hw_sectors(device->rq_queue) << 9; in drbd_reconsider_queue_parameters() 1315 local = queue_max_hw_sectors(bdev->backing_bdev->bd_disk->queue) << 9; in drbd_reconsider_queue_parameters()
|
H A D | drbd_worker.c | 622 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; in make_resync_request()
|
H A D | drbd_main.c | 939 max_bio_size = queue_max_hw_sectors(q) << 9; in drbd_send_sizes()
|
/openbmc/linux/drivers/block/ |
H A D | virtio_blk.c | 547 queue_max_hw_sectors(q) << SECTOR_SHIFT); in virtblk_alloc_report_buffer()
|
H A D | ublk_drv.c | 307 min_t(size_t, bufsize, queue_max_hw_sectors(q) << SECTOR_SHIFT); in ublk_alloc_report_buffer()
|
H A D | rbd.c | 4991 q->limits.max_sectors = queue_max_hw_sectors(q); in rbd_init_disk()
|