Searched refs:old_sqhd (Results 1 – 1 of 1) sorted by relevance
499 u32 old_sqhd, new_sqhd; in __nvmet_req_complete() local507 old_sqhd = req->sq->sqhd; in __nvmet_req_complete()508 new_sqhd = (old_sqhd + 1) % req->sq->size; in __nvmet_req_complete()509 } while (cmpxchg(&req->sq->sqhd, old_sqhd, new_sqhd) != in __nvmet_req_complete()510 old_sqhd); in __nvmet_req_complete()