Searched refs:to_alloc (Results 1 – 2 of 2) sorted by relevance
1906 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local1908 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() local2300 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 …]
472 u32 to_alloc; in bnad_rxq_post() local474 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()