Searched refs:old_sqhd (Results 1 – 1 of 1) sorted by relevance
691 u32 old_sqhd, new_sqhd; in nvmet_update_sq_head() local694 old_sqhd = req->sq->sqhd; in nvmet_update_sq_head()695 new_sqhd = (old_sqhd + 1) % req->sq->size; in nvmet_update_sq_head()696 } while (cmpxchg(&req->sq->sqhd, old_sqhd, new_sqhd) != in nvmet_update_sq_head()697 old_sqhd); in nvmet_update_sq_head()