Searched refs:page_cnt (Results 1 – 1 of 1) sorted by relevance
108 int page_cnt, sg_dma_len; in rds_ib_map_fmr() local119 page_cnt = 0; in rds_ib_map_fmr()131 ++page_cnt; in rds_ib_map_fmr()140 ++page_cnt; in rds_ib_map_fmr()147 page_cnt += len >> PAGE_SHIFT; in rds_ib_map_fmr()148 if (page_cnt > ibmr->pool->fmr_attr.max_pages) { in rds_ib_map_fmr()153 dma_pages = kmalloc_array_node(sizeof(u64), page_cnt, GFP_ATOMIC, in rds_ib_map_fmr()160 page_cnt = 0; in rds_ib_map_fmr()166 dma_pages[page_cnt++] = in rds_ib_map_fmr()170 ret = ib_map_phys_fmr(fmr->fmr, dma_pages, page_cnt, io_addr); in rds_ib_map_fmr()