Lines Matching defs:index
1332 * hand back the same page index while it's being processed.
1334 static inline cas_page_t *cas_page_spare(struct cas *cp, const int index)
1336 cas_page_t *page = cp->rx_pages[1][index];
1353 const int index)
1359 if (page_count(page0[index]->buffer) > 1) {
1360 cas_page_t *new = cas_page_spare(cp, index);
1362 page1[index] = page0[index];
1363 page0[index] = new;
1366 RX_USED_SET(page0[index], 0);
1367 return page0[index];
1389 rxd[i].index = cpu_to_le64(CAS_BASE(RX_INDEX_NUM, i) |
2137 static void cas_post_page(struct cas *cp, const int ring, const int index)
2144 new = cas_page_swap(cp, ring, index);
2146 cp->init_rxds[ring][entry].index =
2147 cpu_to_le64(CAS_BASE(RX_INDEX_NUM, index) |