Searched refs:discard_alignment (Results 1 – 17 of 17) sorted by relevance
51 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()
139 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
1054 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
207 __u32 discard_alignment; member
142 __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()
552 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
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; member956 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()
222 q->limits.discard_alignment = p->discard_alignment; in ublk_dev_param_discard_apply()
216 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
2065 limits->discard_alignment = dest_limits->discard_alignment; in set_discard_limits()
1003 limits->discard_alignment = 0; in dmz_io_hints()
3379 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
1956 q->limits.discard_alignment = 0; in dm_table_set_restrictions()
303 unsigned int discard_alignment; member
788 q->limits.discard_alignment = in sd_config_discard()