Searched refs:curr_pg (Results 1 – 1 of 1) sorted by relevance
743 int curr_pg, end_pg, num_wqebbs; in hinic_get_wqe() local764 curr_pg = WQE_PAGE_NUM(wq, curr_prod_idx); in hinic_get_wqe()772 if (curr_pg != end_pg || end_prod_idx < *prod_idx) { in hinic_get_wqe()773 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()777 wq->shadow_idx[curr_pg] = *prod_idx; in hinic_get_wqe()827 int curr_pg, end_pg; in hinic_read_wqe() local837 curr_pg = WQE_PAGE_NUM(wq, curr_cons_idx); in hinic_read_wqe()845 if (curr_pg != end_pg || end_cons_idx < curr_cons_idx) { in hinic_read_wqe()846 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()891 int curr_pg, num_wqebbs; in hinic_write_wqe() local[all …]