Lines Matching refs:first_n
1080 * Based on the value of resize we may only need to transmit first_n
1082 * Note that first_n could be 0.
1093 u32 first_n;
1117 first_n = i;
1120 if (avail < (first_n + 1))
1123 if (first_n) {
1124 if (tail + first_n > dbc->nelem) {
1126 avail = min_t(u32, avail, first_n);
1130 avail = first_n - avail;
1135 sizeof(*reqs) * first_n);
1142 last_req = dbc->req_q_base + (tail + first_n) % dbc->nelem * get_dbc_req_elem_size();
1151 last_req->src_addr = reqs[first_n].src_addr;
1152 last_req->dest_addr = reqs[first_n].dest_addr;
1154 *ptail = (tail + first_n + 1) % dbc->nelem;