Home
last modified time | relevance | path

Searched refs:to_alloc (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/kernel/power/
Dsnapshot.c1906 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local
1908 if (to_alloc > nr_highmem) in alloc_highmem_pages()
1909 to_alloc = nr_highmem; in alloc_highmem_pages()
1911 nr_highmem -= to_alloc; in alloc_highmem_pages()
1912 while (to_alloc-- > 0) { in alloc_highmem_pages()
2292 unsigned int to_alloc; in prepare_highmem_image() local
2300 to_alloc = count_free_highmem_pages(); in prepare_highmem_image()
2301 if (to_alloc > *nr_highmem_p) in prepare_highmem_image()
2302 to_alloc = *nr_highmem_p; in prepare_highmem_image()
2304 *nr_highmem_p = to_alloc; in prepare_highmem_image()
[all …]
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbnad.c472 u32 to_alloc; in bnad_rxq_post() local
474 to_alloc = BNA_QE_FREE_CNT(rcb, rcb->q_depth); in bnad_rxq_post()
475 if (!(to_alloc >> BNAD_RXQ_REFILL_THRESHOLD_SHIFT)) in bnad_rxq_post()
479 bnad_rxq_refill_skb(bnad, rcb, to_alloc); in bnad_rxq_post()
481 bnad_rxq_refill_page(bnad, rcb, to_alloc); in bnad_rxq_post()