Searched refs:COOKIE_TO_INDEX (Results 1 – 1 of 1) sorted by relevance
52 #define COOKIE_TO_INDEX(cookie) ((cookie) - 1) macro423 uint64_t ind = COOKIE_TO_INDEX(cookie), ind2; in nbd_receive_replies()438 ind2 = COOKIE_TO_INDEX(s->reply.cookie); in nbd_receive_replies()476 ind2 = COOKIE_TO_INDEX(s->reply.cookie); in nbd_receive_replies()856 int i = COOKIE_TO_INDEX(cookie); in nbd_co_do_receive_one_chunk()1062 s->requests[COOKIE_TO_INDEX(cookie)].coroutine = NULL; in nbd_reply_chunk_iter_receive()