Home
last modified time | relevance | path

Searched refs:max_hw_sectors (Results 1 – 5 of 5) sorted by relevance

/drivers/nvme/host/
Dpci.c2284 if (dev->max_hw_sectors) { in nvme_alloc_ns()
2285 blk_queue_max_hw_sectors(ns->queue, dev->max_hw_sectors); in nvme_alloc_ns()
2287 (dev->max_hw_sectors / (dev->page_size >> 9)) + 1); in nvme_alloc_ns()
2649 dev->max_hw_sectors = 1 << (ctrl->mdts + shift - 9); in nvme_dev_add()
2651 dev->max_hw_sectors = UINT_MAX; in nvme_dev_add()
2654 unsigned int max_hw_sectors; in nvme_dev_add() local
2657 max_hw_sectors = dev->stripe_size >> (shift - 9); in nvme_dev_add()
2658 if (dev->max_hw_sectors) { in nvme_dev_add()
2659 dev->max_hw_sectors = min(max_hw_sectors, in nvme_dev_add()
2660 dev->max_hw_sectors); in nvme_dev_add()
[all …]
Dnvme.h72 u32 max_hw_sectors; member
/drivers/block/drbd/
Ddrbd_nl.c1130 unsigned int max_hw_sectors = max_bio_size >> 9; in drbd_setup_queue_param() local
1137 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); in drbd_setup_queue_param()
1147 blk_queue_max_hw_sectors(q, max_hw_sectors); in drbd_setup_queue_param()
/drivers/md/bcache/
Dsuper.c806 q->limits.max_hw_sectors = UINT_MAX; in bcache_device_init()
/drivers/scsi/
Dsd.c2933 q->limits.max_sectors > q->limits.max_hw_sectors) in sd_revalidate_disk()