MCPcopy Create free account
hub / github.com/axboe/liburing / build_user_data

Function build_user_data

test/uring_cmd_ublk.c:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139static inline __u64 build_user_data(unsigned tag, unsigned op,
140 unsigned tgt_data, unsigned is_target_io)
141{
142 assert(!(tag >> 16) && !(op >> 8) && !(tgt_data >> 16));
143
144 return tag | (op << 16) | (tgt_data << 24) | (__u64)is_target_io << 63;
145}
146
147static inline unsigned int user_data_to_tag(__u64 user_data)
148{

Callers 1

ublk_queue_io_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected