Searched refs:curr_pg (Results 1 – 1 of 1) sorted by relevance
745 int curr_pg, end_pg, num_wqebbs; in hinic_get_wqe() local766 curr_pg = WQE_PAGE_NUM(wq, curr_prod_idx); in hinic_get_wqe()774 if (curr_pg != end_pg || end_prod_idx < *prod_idx) { in hinic_get_wqe()775 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()779 wq->shadow_idx[curr_pg] = *prod_idx; in hinic_get_wqe()829 int curr_pg, end_pg; in hinic_read_wqe() local839 curr_pg = WQE_PAGE_NUM(wq, curr_cons_idx); in hinic_read_wqe()847 if (curr_pg != end_pg || end_cons_idx < curr_cons_idx) { in hinic_read_wqe()848 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()893 int curr_pg, num_wqebbs; in hinic_write_wqe() local[all …]