Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-settings.c483 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 Dblk-merge.c165 ((lim->discard_alignment >> 9) % granularity); in bio_split_discard()
H A Dgenhd.c1080 static DEVICE_ATTR(discard_alignment, 0444, disk_discard_alignment_show, NULL);
/linux/drivers/block/rnbd/
H A Drnbd-proto.h151 __le32 discard_alignment; member
H A Drnbd-clt.c1372 .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 Drnbd-srv.c558 rsp->discard_alignment = cpu_to_le32(bdev_discard_alignment(bdev)); in rnbd_srv_fill_msg_open_rsp()
/linux/include/uapi/linux/
H A Dublk_cmd.h376 __u32 discard_alignment; member
/linux/drivers/block/
H A Dxen-blkfront.c222 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 Dublk_drv.c2266 lim.discard_alignment = pd->discard_alignment; in ublk_ctrl_start_dev()
/linux/block/partitions/
H A Dcore.c211 static DEVICE_ATTR(discard_alignment, 0444, part_discard_alignment_show, NULL);
/linux/drivers/md/
H A Ddm-zoned-target.c1002 limits->discard_alignment = 0; in dmz_io_hints()
H A Ddm-cache-target.c3403 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
/linux/drivers/scsi/
H A Dsd.c856 lim->discard_alignment = sdkp->unmap_alignment * logical_block_size; in sd_config_discard()