summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-11-21 09:58:25 +0800
committerJens Axboe <axboe@kernel.dk>2025-11-28 09:20:13 -0700
commit8d61ece156bd4f2b9e7d3b2a374a26d42c7a4a06 (patch)
tree1c32e850b0609b4eefc65c8e4c4b505d4a562545 /tools/docs/parse-headers.py
parent3035b9b46b0611898babc0b96ede65790d3566f7 (diff)
ublk: add `union ublk_io_buf` with improved naming
Add `union ublk_io_buf` for naming the anonymous union of struct ublk_io's addr and buf fields, meantime apply it to `struct ublk_io` for storing either ublk auto buffer register data or ublk server io buffer address. The union uses clear field names: - `addr`: for regular ublk server io buffer addresses - `auto_reg`: for ublk auto buffer registration data This eliminates confusing access patterns and improves code readability. Reviewed-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions