Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-map.c276 unsigned int max_sectors = queue_max_hw_sectors(rq->q); in bio_map_user_iov()
769 if (len > (queue_max_hw_sectors(q) << 9)) in blk_rq_map_kern()
H A Dbio-integrity.c318 if (bytes >> SECTOR_SHIFT > queue_max_hw_sectors(q)) in bio_integrity_map_user()
H A Dblk-sysfs.c445 QUEUE_RO_ENTRY(queue_max_hw_sectors, "max_hw_sectors_kb");
H A Dbio.c1063 queue_max_hw_sectors(q), &same_page); in bio_add_pc_page()
/linux/drivers/usb/storage/
H A Dscsiglue.c580 return sprintf(buf, "%u\n", queue_max_hw_sectors(sdev->request_queue)); in max_sectors_show()
/linux/drivers/scsi/
H A Dscsi_ioctl.c424 if (hdr->dxfer_len > (queue_max_hw_sectors(sdev->request_queue) << 9)) in sg_io()
/linux/drivers/block/rnbd/
H A Drnbd-srv.c553 cpu_to_le32(queue_max_hw_sectors(bdev_get_queue(bdev))); in rnbd_srv_fill_msg_open_rsp()
/linux/drivers/target/
H A Dtarget_core_iblock.c132 dev->dev_attrib.hw_max_sectors = mult_frac(queue_max_hw_sectors(q), in iblock_configure_device()
/linux/include/linux/
H A Dblkdev.h1200 static inline unsigned int queue_max_hw_sectors(const struct request_queue *q) in queue_max_hw_sectors() function
/linux/drivers/block/
H A Dvirtio_blk.c542 queue_max_hw_sectors(q) << SECTOR_SHIFT); in virtblk_alloc_report_buffer()
H A Dublk_drv.c299 min_t(size_t, bufsize, queue_max_hw_sectors(q) << SECTOR_SHIFT); in ublk_alloc_report_buffer()
/linux/drivers/block/drbd/
H A Ddrbd_worker.c622 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; in make_resync_request()
H A Ddrbd_nl.c1265 unsigned int now = queue_max_hw_sectors(q) << 9; in drbd_reconsider_queue_parameters()
1274 queue_max_hw_sectors(b) << SECTOR_SHIFT; in drbd_reconsider_queue_parameters()
H A Ddrbd_main.c925 max_bio_size = queue_max_hw_sectors(q) << 9; in drbd_send_sizes()