Lines Matching refs:qlim
913 packet_size += sizeof(p->qlim[0]); in drbd_send_sizes()
927 p->qlim->physical_block_size = in drbd_send_sizes()
929 p->qlim->logical_block_size = in drbd_send_sizes()
931 p->qlim->alignment_offset = in drbd_send_sizes()
933 p->qlim->io_min = cpu_to_be32(bdev_io_min(bdev)); in drbd_send_sizes()
934 p->qlim->io_opt = cpu_to_be32(bdev_io_opt(bdev)); in drbd_send_sizes()
935 p->qlim->discard_enabled = !!bdev_max_discard_sectors(bdev); in drbd_send_sizes()
940 p->qlim->physical_block_size = in drbd_send_sizes()
942 p->qlim->logical_block_size = in drbd_send_sizes()
944 p->qlim->alignment_offset = 0; in drbd_send_sizes()
945 p->qlim->io_min = cpu_to_be32(queue_io_min(q)); in drbd_send_sizes()
946 p->qlim->io_opt = cpu_to_be32(queue_io_opt(q)); in drbd_send_sizes()
947 p->qlim->discard_enabled = 0; in drbd_send_sizes()