Lines Matching refs:ref_cnt
374 int err, ref, ref_cnt = 0; in map_data_for_request() local
425 shadow->gref[ref_cnt] = ref; in map_data_for_request()
426 ring_req->seg[ref_cnt].gref = ref; in map_data_for_request()
427 ring_req->seg[ref_cnt].offset = (uint16_t)off; in map_data_for_request()
428 ring_req->seg[ref_cnt].length = (uint16_t)bytes; in map_data_for_request()
433 ref_cnt++; in map_data_for_request()
435 BUG_ON(seg_grants < ref_cnt); in map_data_for_request()
436 seg_grants = ref_cnt; in map_data_for_request()
461 shadow->gref[ref_cnt] = ref; in map_data_for_request()
471 ref_cnt++; in map_data_for_request()
478 ring_req->nr_segments = (uint8_t)ref_cnt; in map_data_for_request()
479 shadow->nr_grants = ref_cnt; in map_data_for_request()