Lines Matching defs:lasterr
168 int lasterr; /* last error for curr config */
358 int lasterr = 0;
370 nmd->lasterr = nmd->ops->nmd_finalize(nmd);
372 if (!nmd->lasterr && na->pdev) {
373 nmd->lasterr = netmap_mem_map(&nmd->pools[NETMAP_BUF_POOL], na);
377 lasterr = nmd->lasterr;
380 if (lasterr)
383 return lasterr;
492 nmd->lasterr = 0;
744 nmd->lasterr = err = ENOMEM;
1629 nmd->lasterr = 0;
1632 nmd->lasterr = netmap_finalize_obj_allocator(&nmd->pools[i]);
1633 if (nmd->lasterr)
1637 nmd->lasterr = netmap_mem_init_bitmaps(nmd);
1638 if (nmd->lasterr)
1656 return nmd->lasterr;
1791 nmd->lasterr = netmap_config_obj_allocator(&nmd->pools[i],
1793 if (nmd->lasterr)
1799 return nmd->lasterr;
1811 nmd->lasterr = 0;
1814 return nmd->lasterr;