Home
last modified time | relevance | path

Searched refs:max_write_zeroes_sectors (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/block/
Dblk-lib.c123 unsigned int max_write_zeroes_sectors; in __blkdev_issue_write_zeroes() local
129 max_write_zeroes_sectors = bdev_write_zeroes_sectors(bdev); in __blkdev_issue_write_zeroes()
131 if (max_write_zeroes_sectors == 0) in __blkdev_issue_write_zeroes()
140 if (nr_sects > max_write_zeroes_sectors) { in __blkdev_issue_write_zeroes()
141 bio->bi_iter.bi_size = max_write_zeroes_sectors << 9; in __blkdev_issue_write_zeroes()
142 nr_sects -= max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()
143 sector += max_write_zeroes_sectors; in __blkdev_issue_write_zeroes()
Dblk-settings.c45 lim->max_write_zeroes_sectors = 0; in blk_set_default_limits()
82 lim->max_write_zeroes_sectors = UINT_MAX; in blk_set_stacking_limits()
199 unsigned int max_write_zeroes_sectors) in blk_queue_max_write_zeroes_sectors() argument
201 q->limits.max_write_zeroes_sectors = max_write_zeroes_sectors; in blk_queue_max_write_zeroes_sectors()
555 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits()
556 b->max_write_zeroes_sectors); in blk_stack_limits()
Dblk-merge.c152 if (!lim->max_write_zeroes_sectors) in bio_split_write_zeroes()
154 if (bio_sectors(bio) <= lim->max_write_zeroes_sectors) in bio_split_write_zeroes()
156 return bio_split(bio, lim->max_write_zeroes_sectors, GFP_NOIO, bs); in bio_split_write_zeroes()
Dblk.h172 return q->limits.max_write_zeroes_sectors; in blk_queue_get_max_sectors()
Dblk-core.c770 if (!q->limits.max_write_zeroes_sectors) in submit_bio_noacct()
Dblk-sysfs.c223 (unsigned long long)q->limits.max_write_zeroes_sectors << 9); in queue_write_zeroes_max_show()
/linux-6.1.9/include/uapi/linux/
Dvirtio_blk.h112 __virtio32 max_write_zeroes_sectors; member
Dublk_cmd.h212 __u32 max_write_zeroes_sectors; member
/linux-6.1.9/drivers/target/
Dtarget_core_iblock.c94 unsigned int max_write_zeroes_sectors; in iblock_configure_device() local
134 max_write_zeroes_sectors = bdev_write_zeroes_sectors(bd); in iblock_configure_device()
135 if (max_write_zeroes_sectors) in iblock_configure_device()
136 dev->dev_attrib.max_write_same_len = max_write_zeroes_sectors; in iblock_configure_device()
/linux-6.1.9/drivers/md/
Dmd.h829 !bio->bi_bdev->bd_disk->queue->limits.max_write_zeroes_sectors) in mddev_check_write_zeroes()
830 mddev->queue->limits.max_write_zeroes_sectors = 0; in mddev_check_write_zeroes()
Ddm-io.c317 special_cmd_max_sectors = q->limits.max_write_zeroes_sectors; in do_region()
Ddm-rq.c220 !clone->q->limits.max_write_zeroes_sectors) in dm_done()
Ddm-table.c1837 return !q->limits.max_write_zeroes_sectors; in device_not_write_zeroes_capable()
1988 q->limits.max_write_zeroes_sectors = 0; in dm_table_set_restrictions()
Ddm-zoned-target.c1007 limits->max_write_zeroes_sectors = chunk_sectors; in dmz_io_hints()
Ddm.c1099 limits->max_write_zeroes_sectors = 0; in disable_write_zeroes()
/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim_blk.c352 blk_config->max_write_zeroes_sectors = in vdpasim_blk_get_config()
/linux-6.1.9/include/linux/
Dblkdev.h300 unsigned int max_write_zeroes_sectors; member
1256 return q->limits.max_write_zeroes_sectors; in bdev_write_zeroes_sectors()
/linux-6.1.9/drivers/scsi/cxlflash/
Dvlun.c434 sdev->request_queue->limits.max_write_zeroes_sectors >> s; in write_same16()
/linux-6.1.9/drivers/block/
Dvirtio_blk.c1069 max_write_zeroes_sectors, &v); in virtblk_probe()
Dublk_drv.c226 p->max_write_zeroes_sectors); in ublk_dev_param_discard_apply()
Dloop.c774 max_discard_sectors = backingq->limits.max_write_zeroes_sectors; in loop_config_discard()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c1254 q->limits.max_write_zeroes_sectors = DRBD_MAX_BBIO_SECTORS; in fixup_write_zeroes()
1256 q->limits.max_write_zeroes_sectors = 0; in fixup_write_zeroes()