MCPcopy Create free account
hub / github.com/F-Stack/f-stack / find_request_by_id

Function find_request_by_id

dpdk/lib/eal/common/malloc_mp.c:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 */
124
125static struct mp_request *
126find_request_by_id(uint64_t id)
127{
128 struct mp_request *req;
129 TAILQ_FOREACH(req, &mp_request_list.list, next) {
130 if (req->user_req.id == id)
131 break;
132 }
133 return req;
134}
135
136/* this ID is, like, totally guaranteed to be absolutely unique. pinky swear. */
137static uint64_t

Callers 5

get_unique_idFunction · 0.85
handle_requestFunction · 0.85
handle_sync_responseFunction · 0.85
handle_rollback_responseFunction · 0.85
handle_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected