Searched refs:to_alloc (Results 1 – 2 of 2) sorted by relevance
1898 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local1900 if (to_alloc > nr_highmem) in alloc_highmem_pages()1901 to_alloc = nr_highmem; in alloc_highmem_pages()1903 nr_highmem -= to_alloc; in alloc_highmem_pages()1904 while (to_alloc-- > 0) { in alloc_highmem_pages()2284 unsigned int to_alloc; in prepare_highmem_image() local2292 to_alloc = count_free_highmem_pages(); in prepare_highmem_image()2293 if (to_alloc > *nr_highmem_p) in prepare_highmem_image()2294 to_alloc = *nr_highmem_p; in prepare_highmem_image()2296 *nr_highmem_p = to_alloc; in prepare_highmem_image()[all …]
480 u32 to_alloc; in bnad_rxq_post() local482 to_alloc = BNA_QE_FREE_CNT(rcb, rcb->q_depth); in bnad_rxq_post()483 if (!(to_alloc >> BNAD_RXQ_REFILL_THRESHOLD_SHIFT)) in bnad_rxq_post()487 bnad_rxq_refill_skb(bnad, rcb, to_alloc); in bnad_rxq_post()489 bnad_rxq_refill_page(bnad, rcb, to_alloc); in bnad_rxq_post()