Lines Matching defs:allocated
643 /* copy fallback allocated niovs */
1128 unsigned allocated = 0;
1156 netmems[allocated] = netmem;
1157 allocated++;
1161 return allocated;
1168 unsigned allocated = 0;
1172 for (allocated = 0; allocated < to_alloc; allocated++) {
1178 netmems[allocated] = net_iov_to_netmem(niov);
1180 return allocated;
1235 unsigned allocated;
1241 allocated = io_zcrx_ring_refill(pp, ifq, netmems, to_alloc);
1242 if (likely(allocated))
1245 allocated = io_zcrx_refill_slow(pp, ifq, netmems, to_alloc);
1246 if (!allocated) {
1251 zcrx_sync_for_device(pp, ifq, netmems, allocated);
1252 allocated--;
1253 pp->alloc.count += allocated;
1254 return netmems[allocated];