Home
last modified time | relevance | path

Searched refs:discard_alignment (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/block/
Dblk-settings.c51 lim->discard_alignment = 0; in blk_set_default_limits()
503 alignment = lim->discard_alignment >> SECTOR_SHIFT; in queue_limit_discard_alignment()
660 t->discard_alignment != alignment) { in blk_stack_limits()
661 top = t->discard_granularity + t->discard_alignment; in blk_stack_limits()
675 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
975 return q->limits.discard_alignment; in bdev_discard_alignment()
Dblk-merge.c139 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
Dgenhd.c1054 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
/linux-6.1.9/include/uapi/linux/
Dublk_cmd.h207 __u32 discard_alignment; member
/linux-6.1.9/drivers/block/rnbd/
Drnbd-proto.h142 __le32 discard_alignment; member
Drnbd-clt.c1352 dev->queue->limits.discard_alignment = in setup_request_queue()
1353 le32_to_cpu(rsp->discard_alignment); in setup_request_queue()
1635 le32_to_cpu(rsp->discard_alignment), in rnbd_clt_map_device()
Drnbd-srv.c552 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-block13 What: /sys/block/<disk>/discard_alignment
19 the exported logical block size. The discard_alignment
116 What: /sys/block/<disk>/<partition>/discard_alignment
122 the exported logical block size. The discard_alignment
/linux-6.1.9/drivers/block/
Dxen-blkfront.c222 unsigned int discard_alignment; member
956 rq->limits.discard_alignment = info->discard_alignment; in blkif_set_queue_limits()
2152 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
Dublk_drv.c222 q->limits.discard_alignment = p->discard_alignment; in ublk_dev_param_discard_apply()
/linux-6.1.9/block/partitions/
Dcore.c216 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
/linux-6.1.9/drivers/md/
Ddm-clone-target.c2065 limits->discard_alignment = dest_limits->discard_alignment; in set_discard_limits()
Ddm-zoned-target.c1003 limits->discard_alignment = 0; in dmz_io_hints()
Ddm-cache-target.c3379 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
Ddm-table.c1956 q->limits.discard_alignment = 0; in dm_table_set_restrictions()
/linux-6.1.9/include/linux/
Dblkdev.h303 unsigned int discard_alignment; member
/linux-6.1.9/drivers/scsi/
Dsd.c788 q->limits.discard_alignment = in sd_config_discard()