Home
last modified time | relevance | path

Searched refs:alignment_offset (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/block/
H A Dblk-settings.c56 lim->alignment_offset = 0; in blk_set_default_limits()
385 q->limits.alignment_offset = in blk_queue_alignment_offset()
497 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()
588 if (t->alignment_offset != alignment) { in blk_stack_limits()
591 + t->alignment_offset; in blk_stack_limits()
648 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
652 if (t->alignment_offset & (t->logical_block_size - 1)) { in blk_stack_limits()
978 return q->limits.alignment_offset; in bdev_alignment_offset()
H A Dgenhd.c1052 static DEVICE_ATTR(alignment_offset, 0444, disk_alignment_offset_show, NULL);
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_blk.h56 __u8 alignment_offset; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_blk.h79 uint8_t alignment_offset; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_blk.h81 __u8 alignment_offset; member
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio.h167 uint8_t alignment_offset; /* alignment offset in logical blocks */ member
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_protocol.h338 u32 alignment_offset; member
H A Ddrbd_main.c945 p->qlim->alignment_offset = in drbd_send_sizes()
958 p->qlim->alignment_offset = 0; in drbd_send_sizes()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c1314 u8 physical_block_exp, alignment_offset; in virtblk_probe() local
1453 struct virtio_blk_config, alignment_offset, in virtblk_probe()
1454 &alignment_offset); in virtblk_probe()
1455 if (!err && alignment_offset) in virtblk_probe()
1456 blk_queue_alignment_offset(q, blk_size * alignment_offset); in virtblk_probe()
/openbmc/linux/drivers/md/
H A Ddm-ebs-target.c430 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
H A Ddm-table.c426 q->limits.alignment_offset, in dm_set_device_limits()
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c783 int alignment_offset, in srpt_alloc_ioctx_ring() argument
800 ring[i]->offset = alignment_offset; in srpt_alloc_ioctx_ring()
2326 u16 alignment_offset; in srpt_cm_req_recv() local
2338 alignment_offset = round_up(imm_data_offset, 512) - in srpt_cm_req_recv()
2340 req_sz = alignment_offset + imm_data_offset + srp_max_req_size; in srpt_cm_req_recv()
2349 alignment_offset, in srpt_cm_req_recv()
/openbmc/linux/block/partitions/
H A Dcore.c207 static DEVICE_ATTR(alignment_offset, 0444, part_alignment_offset_show, NULL);
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-block1 What: /sys/block/<disk>/alignment_offset
114 What: /sys/block/<disk>/<partition>/alignment_offset
/openbmc/linux/include/linux/
H A Dblkdev.h313 unsigned int alignment_offset; member
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c1172 blkcfg.alignment_offset = 0; in virtio_blk_update_config()