Searched refs:to_alloc (Results 1 – 3 of 3) sorted by relevance
1519 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local1521 if (to_alloc > nr_highmem) in alloc_highmem_pages()1522 to_alloc = nr_highmem; in alloc_highmem_pages()1524 nr_highmem -= to_alloc; in alloc_highmem_pages()1525 while (to_alloc-- > 0) { in alloc_highmem_pages()1917 unsigned int to_alloc; in prepare_highmem_image() local1925 to_alloc = count_free_highmem_pages(); in prepare_highmem_image()1926 if (to_alloc > *nr_highmem_p) in prepare_highmem_image()1927 to_alloc = *nr_highmem_p; in prepare_highmem_image()1929 *nr_highmem_p = to_alloc; in prepare_highmem_image()[all …]
480 unsigned short allocated, to_alloc; in kiocb_batch_refill() local486 to_alloc = min(batch->count, KIOCB_BATCH_SIZE); in kiocb_batch_refill()487 for (allocated = 0; allocated < to_alloc; allocated++) { in kiocb_batch_refill()
378 u16 to_alloc, alloced, unmap_prod, wi_range; in bnad_alloc_n_post_rxbufs() local386 to_alloc = in bnad_alloc_n_post_rxbufs()394 while (to_alloc--) { in bnad_alloc_n_post_rxbufs()