Searched refs:need_pages (Results 1 – 3 of 3) sorted by relevance
222 ax88796c_check_free_pages(struct ax88796c_device *ax_local, u8 need_pages) in ax88796c_check_free_pages() argument230 if (free_pages < need_pages) { in ax88796c_check_free_pages()235 TFBFCR_SET_FREE_PAGE(need_pages), in ax88796c_check_free_pages()253 u8 need_pages; in ax88796c_tx_fixup() local262 need_pages = (pkt_len + TX_OVERHEAD + 127) >> 7; in ax88796c_tx_fixup()263 if (ax88796c_check_free_pages(ax_local, need_pages) != 0) in ax88796c_tx_fixup()
396 unsigned long need_pages; in find_and_map_user_pages() local419 need_pages = DIV_ROUND_UP(total, PAGE_SIZE); in find_and_map_user_pages()421 nr_pages = need_pages; in find_and_map_user_pages()465 return need_pages > nr_pages ? 1 : 0; in find_and_map_user_pages()
151 int need_pages; in r1buf_pool_alloc() local181 need_pages = pi->raid_disks; in r1buf_pool_alloc()183 need_pages = 1; in r1buf_pool_alloc()189 if (j < need_pages) { in r1buf_pool_alloc()