* [PATCH liburing v1 0/6] Add uring_ptr_to_u64() helper to convert ptr to u64
@ 2025-06-18 7:49 Haiyue Wang
0 siblings, 0 replies; only message in thread
From: Haiyue Wang @ 2025-06-18 7:49 UTC (permalink / raw)
To: io-uring; +Cc: Haiyue Wang
Instead of '(__u64) (unsigned long) ptr' by hand, define a helper
function to do so.
Haiyue Wang (6):
Add uring_ptr_to_u64() helper
liburing: use uring_ptr_to_u64() helper to convert ptr to u64
examples/reg-wait: use uring_ptr_to_u64() helper to convert ptr to u64
examples/zcrx: use uring_ptr_to_u64() helper to convert ptr to u64
test/reg-wait: use uring_ptr_to_u64() helper to convert ptr to u64
test/zcrx: use uring_ptr_to_u64() helper to convert ptr to u64
examples/reg-wait.c | 4 ++--
examples/zcrx.c | 8 ++++----
src/include/liburing.h | 9 +++++++--
test/reg-wait.c | 24 +++++++++++------------
test/zcrx.c | 44 +++++++++++++++++++++---------------------
5 files changed, 47 insertions(+), 42 deletions(-)
--
2.49.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-18 7:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 7:49 [PATCH liburing v1 0/6] Add uring_ptr_to_u64() helper to convert ptr to u64 Haiyue Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox