Home
last modified time | relevance | path

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

/linux-6.1.9/block/ !
Dblk-settings.c55 lim->alignment_offset = 0; in blk_set_default_limits()
379 q->limits.alignment_offset = in blk_queue_alignment_offset()
491 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()
582 if (t->alignment_offset != alignment) { in blk_stack_limits()
585 + t->alignment_offset; in blk_stack_limits()
642 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
646 if (t->alignment_offset & (t->logical_block_size - 1)) { in blk_stack_limits()
964 return q->limits.alignment_offset; in bdev_alignment_offset()
Dgenhd.c1053 static DEVICE_ATTR(alignment_offset, 0444, disk_alignment_offset_show, NULL);
/linux-6.1.9/include/uapi/linux/ !
Dvirtio_blk.h80 __u8 alignment_offset; member
/linux-6.1.9/drivers/block/ !
Dvirtio_blk.c901 u8 physical_block_exp, alignment_offset; in virtblk_probe() local
1038 struct virtio_blk_config, alignment_offset, in virtblk_probe()
1039 &alignment_offset); in virtblk_probe()
1040 if (!err && alignment_offset) in virtblk_probe()
1041 blk_queue_alignment_offset(q, blk_size * alignment_offset); in virtblk_probe()
/linux-6.1.9/drivers/block/drbd/ !
Ddrbd_protocol.h338 u32 alignment_offset; member
Ddrbd_main.c941 p->qlim->alignment_offset = in drbd_send_sizes()
954 p->qlim->alignment_offset = 0; in drbd_send_sizes()
/linux-6.1.9/drivers/infiniband/ulp/srpt/ !
Dib_srpt.c715 int alignment_offset, in srpt_alloc_ioctx_ring() argument
732 ring[i]->offset = alignment_offset; in srpt_alloc_ioctx_ring()
2260 u16 alignment_offset; in srpt_cm_req_recv() local
2272 alignment_offset = round_up(imm_data_offset, 512) - in srpt_cm_req_recv()
2274 req_sz = alignment_offset + imm_data_offset + srp_max_req_size; in srpt_cm_req_recv()
2284 alignment_offset, in srpt_cm_req_recv()
/linux-6.1.9/drivers/md/ !
Ddm-ebs-target.c429 limits->alignment_offset = limits->physical_block_size; in ebs_io_hints()
Ddm-table.c416 q->limits.alignment_offset, in dm_set_device_limits()
/linux-6.1.9/block/partitions/ !
Dcore.c215 static DEVICE_ATTR(alignment_offset, 0444, part_alignment_offset_show, NULL);
/linux-6.1.9/Documentation/ABI/stable/ !
Dsysfs-block1 What: /sys/block/<disk>/alignment_offset
104 What: /sys/block/<disk>/<partition>/alignment_offset
/linux-6.1.9/include/linux/ !
Dblkdev.h294 unsigned int alignment_offset; member