Searched refs:max_hw_sectors (Results 1 – 5 of 5) sorted by relevance
2284 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() local2657 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 …]
72 u32 max_hw_sectors; member
1130 unsigned int max_hw_sectors = max_bio_size >> 9; in drbd_setup_queue_param() local1137 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()
806 q->limits.max_hw_sectors = UINT_MAX; in bcache_device_init()
2933 q->limits.max_sectors > q->limits.max_hw_sectors) in sd_revalidate_disk()