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