Searched refs:discard_alignment (Results 1 – 17 of 17) sorted by relevance
52 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()
140 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
1050 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
151 __le32 discard_alignment; member
1352 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()
550 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
350 __u32 discard_alignment; member
13 What: /sys/block/<disk>/discard_alignment19 the exported logical block size. The discard_alignment116 What: /sys/block/<disk>/<partition>/discard_alignment122 the exported logical block size. The discard_alignment
222 unsigned int discard_alignment; member957 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()
531 q->limits.discard_alignment = p->discard_alignment; in ublk_dev_param_discard_apply()
208 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
2065 limits->discard_alignment = dest_limits->discard_alignment; in set_discard_limits()
1002 limits->discard_alignment = 0; in dmz_io_hints()
3410 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
1964 q->limits.discard_alignment = 0; in dm_table_set_restrictions()
309 unsigned int discard_alignment; member
829 q->limits.discard_alignment = in sd_config_discard()