Searched refs:max_write_same_sectors (Results 1 – 17 of 17) sorted by relevance
170 unsigned int max_write_same_sectors; in __blkdev_issue_write_same() local188 max_write_same_sectors = bio_allowed_max_sectors(q); in __blkdev_issue_write_same()200 if (nr_sects > max_write_same_sectors) { in __blkdev_issue_write_same()201 bio->bi_iter.bi_size = max_write_same_sectors << 9; in __blkdev_issue_write_same()202 nr_sects -= max_write_same_sectors; in __blkdev_issue_write_same()203 sector += max_write_same_sectors; in __blkdev_issue_write_same()
49 lim->max_write_same_sectors = 0; in blk_set_default_limits()85 lim->max_write_same_sectors = UINT_MAX; in blk_set_stacking_limits()205 unsigned int max_write_same_sectors) in blk_queue_max_write_same_sectors() argument207 q->limits.max_write_same_sectors = max_write_same_sectors; in blk_queue_max_write_same_sectors()508 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits()509 b->max_write_same_sectors); in blk_stack_limits()
128 if (!q->limits.max_write_same_sectors) in blk_bio_write_same_split()131 if (bio_sectors(bio) <= q->limits.max_write_same_sectors) in blk_bio_write_same_split()134 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split()
213 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
864 if (!q->limits.max_write_same_sectors) in submit_bio_checks()
116 u32 max_write_same_sectors; member
133 __le32 max_write_same_sectors; member
85 dev->max_write_same_sectors = le32_to_cpu(rsp->max_write_same_sectors); in rnbd_clt_set_dev_attr()1290 dev->max_write_same_sectors); in setup_request_queue()1534 dev->max_write_same_sectors, dev->max_discard_sectors, in rnbd_clt_map_device()
551 rsp->max_write_same_sectors = in rnbd_srv_fill_msg_open_rsp()
343 unsigned int max_write_same_sectors; member1082 return q->limits.max_write_same_sectors; in blk_queue_get_max_sectors()1168 unsigned int max_write_same_sectors);1170 unsigned int max_write_same_sectors);1577 return q->limits.max_write_same_sectors; in bdev_write_same()
795 !bio->bi_disk->queue->limits.max_write_same_sectors) in mddev_check_writesame()796 mddev->queue->limits.max_write_same_sectors = 0; in mddev_check_writesame()
319 special_cmd_max_sectors = q->limits.max_write_same_sectors; in do_region()
222 !clone->q->limits.max_write_same_sectors) in dm_done()
1654 return q && !q->limits.max_write_same_sectors; in device_not_write_same_capable()1855 q->limits.max_write_same_sectors = 0; in dm_table_set_restrictions()
973 limits->max_write_same_sectors = 0; in disable_write_same()1003 !bio->bi_disk->queue->limits.max_write_same_sectors) in clone_endio()
931 p->qlim->write_same_capable = !!q->limits.max_write_same_sectors; in assign_p_sizes_qlim()
1275 bool can_do = b ? b->limits.max_write_same_sectors : true; in decide_on_write_same_support()