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