Searched refs:discard_alignment (Results 1 – 13 of 13) sorted by relevance
/linux/block/ |
H A D | blk-settings.c | 483 alignment = lim->discard_alignment >> SECTOR_SHIFT; in queue_limit_discard_alignment() 766 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits() 902 return q->limits.discard_alignment; in bdev_discard_alignment()
|
H A D | blk-merge.c | 165 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
|
H A D | genhd.c | 1080 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
|
/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 151 __le32 discard_alignment; member
|
H A D | rnbd-clt.c | 1372 .discard_alignment = le32_to_cpu(rsp->discard_alignment), in rnbd_client_setup_device() 1620 le32_to_cpu(rsp->discard_alignment), in rnbd_clt_map_device()
|
H A D | rnbd-srv.c | 558 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
|
/linux/include/uapi/linux/ |
H A D | ublk_cmd.h | 376 __u32 discard_alignment; member
|
/linux/drivers/block/ |
H A D | xen-blkfront.c | 222 unsigned int discard_alignment; member 957 lim->discard_alignment = info->discard_alignment; in blkif_set_queue_limits() 2155 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
|
H A D | ublk_drv.c | 2266 lim.discard_alignment = pd->discard_alignment; in ublk_ctrl_start_dev()
|
/linux/block/partitions/ |
H A D | core.c | 211 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
|
/linux/drivers/md/ |
H A D | dm-zoned-target.c | 1002 limits->discard_alignment = 0; in dmz_io_hints()
|
H A D | dm-cache-target.c | 3403 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
|
/linux/drivers/scsi/ |
H A D | sd.c | 856 lim->discard_alignment = sdkp->unmap_alignment * logical_block_size; in sd_config_discard()
|