Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dblk-settings.c52 lim->discard_alignment = 0; in blk_set_default_limits()
509 alignment = lim->discard_alignment >> SECTOR_SHIFT; in queue_limit_discard_alignment()
666 t->discard_alignment != alignment) { in blk_stack_limits()
667 top = t->discard_granularity + t->discard_alignment; in blk_stack_limits()
681 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
985 return q->limits.discard_alignment; in bdev_discard_alignment()
Dblk-merge.c140 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
Dgenhd.c1050 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
/linux-6.6.21/drivers/block/rnbd/
Drnbd-proto.h151 __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.c550 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux-6.6.21/include/uapi/linux/
Dublk_cmd.h350 __u32 discard_alignment; member
/linux-6.6.21/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.6.21/drivers/block/
Dxen-blkfront.c222 unsigned int discard_alignment; member
957 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.c531 q->limits.discard_alignment = p->discard_alignment; in ublk_dev_param_discard_apply()
/linux-6.6.21/block/partitions/
Dcore.c208 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
/linux-6.6.21/drivers/md/
Ddm-clone-target.c2065 limits->discard_alignment = dest_limits->discard_alignment; in set_discard_limits()
Ddm-zoned-target.c1002 limits->discard_alignment = 0; in dmz_io_hints()
Ddm-cache-target.c3410 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
Ddm-table.c1964 q->limits.discard_alignment = 0; in dm_table_set_restrictions()
/linux-6.6.21/include/linux/
Dblkdev.h309 unsigned int discard_alignment; member
/linux-6.6.21/drivers/scsi/
Dsd.c829 q->limits.discard_alignment = in sd_config_discard()