Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/dax/
H A Dbus.c944 resource_size_t avail = dax_region_avail_size(dax_region), to_alloc; in dev_dax_resize() local
961 to_alloc = size - dev_size; in dev_dax_resize()
962 if (dev_WARN_ONCE(dev, !alloc_is_aligned(dev_dax, to_alloc), in dev_dax_resize()
963 "resize of %pa misaligned\n", &to_alloc)) in dev_dax_resize()
974 return alloc_dev_dax_range(dev_dax, dax_region->res.start, to_alloc); in dev_dax_resize()
982 alloc = min(res->start - dax_region->res.start, to_alloc); in dev_dax_resize()
990 alloc = min(next->start - (res->end + 1), to_alloc); in dev_dax_resize()
994 alloc = min(region_res->end - res->end, to_alloc); in dev_dax_resize()
1008 to_alloc -= alloc; in dev_dax_resize()
1009 if (to_alloc) in dev_dax_resize()
[all …]
/OK3568_Linux_fs/kernel/kernel/power/
H A Dsnapshot.c1914 unsigned int to_alloc = count_free_highmem_pages(); in alloc_highmem_pages() local
1916 if (to_alloc > nr_highmem) in alloc_highmem_pages()
1917 to_alloc = nr_highmem; in alloc_highmem_pages()
1919 nr_highmem -= to_alloc; in alloc_highmem_pages()
1920 while (to_alloc-- > 0) { in alloc_highmem_pages()
2295 unsigned int to_alloc; in prepare_highmem_image() local
2303 to_alloc = count_free_highmem_pages(); in prepare_highmem_image()
2304 if (to_alloc > *nr_highmem_p) in prepare_highmem_image()
2305 to_alloc = *nr_highmem_p; in prepare_highmem_image()
2307 *nr_highmem_p = to_alloc; in prepare_highmem_image()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/container/
H A Dvector.hpp350 …from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propa… in is_propagable_from()
352 (void)propagate_allocator; (void)p; (void)to_alloc; (void)from_alloc; in is_propagable_from()
355 …_storage_propagable && (propagate_allocator || allocator_traits_type::equal(from_alloc, to_alloc)); in is_propagable_from()
730 …able_from(const Allocator &from_alloc, pointer_impl p, const Allocator &to_alloc, bool const propa… in is_propagable_from() argument
731 { return alloc_holder_t::is_propagable_from(from_alloc, p, to_alloc, propagate_allocator); } in is_propagable_from()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A 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()