Home
last modified time | relevance | path

Searched refs:need_pages (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/asix/
Dax88796c_main.c222 ax88796c_check_free_pages(struct ax88796c_device *ax_local, u8 need_pages) in ax88796c_check_free_pages() argument
230 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() local
262 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()
/Linux-v6.6/drivers/accel/qaic/
Dqaic_control.c396 unsigned long need_pages; in find_and_map_user_pages() local
419 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()
/Linux-v6.6/drivers/md/
Draid1.c151 int need_pages; in r1buf_pool_alloc() local
181 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()