Home
last modified time | relevance | path

Searched refs:old_sqhd (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/nvme/target/
Dcore.c499 u32 old_sqhd, new_sqhd; in __nvmet_req_complete() local
507 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()