Lines Matching refs:ents
1544 uint_t index, first, ents; in mlxcx_sq_add_buffer() local
1565 ents = 1; in mlxcx_sq_add_buffer()
1622 if ((ents + wqebb_used) >= mlwq->mlwq_nents) in mlxcx_sq_add_buffer()
1625 index = (mlwq->mlwq_pc + ents) & in mlxcx_sq_add_buffer()
1628 ++ents; in mlxcx_sq_add_buffer()
1660 b0->mlb_wqebbs = ents; in mlxcx_sq_add_buffer()
1661 mlwq->mlwq_pc += ents; in mlxcx_sq_add_buffer()
1662 atomic_add_64(&mlwq->mlwq_wqebb_used, ents); in mlxcx_sq_add_buffer()
1675 if ((first + ents) > mlwq->mlwq_nents) { in mlxcx_sq_add_buffer()
1684 ents -= sync_cnt; in mlxcx_sq_add_buffer()
1689 ents * sizeof (mlxcx_sendq_ent_t), DDI_DMA_SYNC_FORDEV)); in mlxcx_sq_add_buffer()