• Home
  • Raw
  • Download

Lines Matching refs:npods

88 		       unsigned int idx, unsigned int npods,  in set_ddp_map()  argument
94 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in set_ddp_map()
117 unsigned int npods) in clear_ddp_map() argument
122 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in clear_ddp_map()
372 unsigned int npods; in cxgb3i_ddp_tag_reserve() local
385 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in cxgb3i_ddp_tag_reserve()
386 idx_max = ddp->nppods - npods + 1; in cxgb3i_ddp_tag_reserve()
389 idx = ddp_find_unused_entries(ddp, 0, idx_max, npods, gl); in cxgb3i_ddp_tag_reserve()
392 idx_max, npods, gl); in cxgb3i_ddp_tag_reserve()
393 if (idx < 0 && ddp->idx_last >= npods) in cxgb3i_ddp_tag_reserve()
395 ddp->idx_last - npods + 1, in cxgb3i_ddp_tag_reserve()
396 npods, gl); in cxgb3i_ddp_tag_reserve()
400 gl->length, gl->nelem, npods); in cxgb3i_ddp_tag_reserve()
404 err = ddp_alloc_gl_skb(ddp, idx, npods, gfp); in cxgb3i_ddp_tag_reserve()
417 err = set_ddp_map(ddp, &hdr, idx, npods, gl); in cxgb3i_ddp_tag_reserve()
424 idx, npods); in cxgb3i_ddp_tag_reserve()
429 ddp_free_gl_skb(ddp, idx, npods); in cxgb3i_ddp_tag_reserve()
431 ddp_unmark_entries(ddp, idx, npods); in cxgb3i_ddp_tag_reserve()
455 unsigned int npods; in cxgb3i_ddp_tag_release() local
462 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in cxgb3i_ddp_tag_release()
464 tag, idx, npods); in cxgb3i_ddp_tag_release()
465 clear_ddp_map(ddp, idx, npods); in cxgb3i_ddp_tag_release()
466 ddp_unmark_entries(ddp, idx, npods); in cxgb3i_ddp_tag_release()
708 int npods = (gl->nelem + PPOD_PAGES_MAX - 1) in ddp_release() local
712 ddp_free_gl_skb(ddp, i, npods); in ddp_release()