diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-02 10:06:56 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-02 19:21:12 -0600 |
commit | df3a7762ee24ba6a33d4215244e329ca300f4819 (patch) | |
tree | 50b3ac9026e4c7279ecfbd24fc4edbd4eb0aceb8 /rust/helpers/cpu.c | |
parent | 8b9c9a2e7da11e50a1109a1f38bca0aecf25b185 (diff) |
io_uring/uring_cmd: add io_uring_cmd_tw_t type alias
Introduce a function pointer type alias io_uring_cmd_tw_t for the
uring_cmd task work callback. This avoids repeating the signature in
several places. Also name both arguments to the callback to clarify what
they represent.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250902160657.1726828-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/cpu.c')
0 files changed, 0 insertions, 0 deletions