Lines Matching defs:npages
81 int npages)
87 if (npages > mhp->attr.pbl_size)
109 int iwch_alloc_pbl(struct iwch_mr *mhp, int npages)
112 npages << 3);
117 mhp->attr.pbl_size = npages;
128 int iwch_write_pbl(struct iwch_mr *mhp, __be64 *pages, int npages, int offset)
131 mhp->attr.pbl_addr + (offset << 3), npages);
138 int *npages,
176 *npages = 0;
178 *npages += (buffer_list[i].size +
181 if (!*npages)
184 *page_list = kmalloc(sizeof(u64) * *npages, GFP_KERNEL);
199 *npages);