Home
last modified time | relevance | path

Searched refs:prev_pages (Results 1 – 16 of 16) sorted by relevance

/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/tests/all/
H A Dmemory_creator.rs69 let prev_pages = *self.used_wasm_pages.borrow(); in grow() localVariable
70 let prev_size = (prev_pages as usize).checked_mul(WASM_PAGE_SIZE as usize)?; in grow()
72 let new_pages = prev_pages.checked_add(delta)?; in grow()
88 Some(prev_pages) in grow()
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/runtime/src/
H A Dmemory.rs135 let prev_pages = mmap.size; in grow() localVariable
153 let prev_bytes = usize::try_from(prev_pages).unwrap() * WASM_PAGE_SIZE as usize; in grow()
175 Some(prev_pages) in grow()
/dports/devel/libunit/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/www/unit/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/www/unit-java/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/www/unit-php/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/www/unit-python/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/www/unit-perl/unit-1.26.1/src/
H A Dnxt_mem_zone.c661 uint32_t prev_pages, node_pages, next_pages; in nxt_mem_zone_alloc_pages() local
684 prev_pages = prev_size >>= zone->page_size_shift; in nxt_mem_zone_alloc_pages()
685 node_pages -= prev_pages; in nxt_mem_zone_alloc_pages()
687 block->size = prev_pages; in nxt_mem_zone_alloc_pages()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c731 int prev_pages = *pages; in mlx5_wait_for_pages() local
739 mlx5_core_dbg(dev, "Waiting for %d pages\n", prev_pages); in mlx5_wait_for_pages()
745 if (*pages < prev_pages) { in mlx5_wait_for_pages()
747 prev_pages = *pages; in mlx5_wait_for_pages()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c731 int prev_pages = *pages; in mlx5_wait_for_pages() local
739 mlx5_core_dbg(dev, "Waiting for %d pages\n", prev_pages); in mlx5_wait_for_pages()
745 if (*pages < prev_pages) { in mlx5_wait_for_pages()
747 prev_pages = *pages; in mlx5_wait_for_pages()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c731 int prev_pages = *pages; in mlx5_wait_for_pages() local
739 mlx5_core_dbg(dev, "Waiting for %d pages\n", prev_pages); in mlx5_wait_for_pages()
745 if (*pages < prev_pages) { in mlx5_wait_for_pages()
747 prev_pages = *pages; in mlx5_wait_for_pages()
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/innobase/buf/
H A Dbuf0flu.cc2271 static ulint prev_pages = 0; in page_cleaner_flush_pages_if_needed() local
2335 age_factor = static_cast<int>(prev_pages / last_pages); in page_cleaner_flush_pages_if_needed()
2340 prev_pages = n_pages; in page_cleaner_flush_pages_if_needed()
/dports/databases/mysql56-client/mysql-5.6.51/storage/innobase/buf/
H A Dbuf0flu.cc2271 static ulint prev_pages = 0; in page_cleaner_flush_pages_if_needed() local
2335 age_factor = static_cast<int>(prev_pages / last_pages); in page_cleaner_flush_pages_if_needed()
2340 prev_pages = n_pages; in page_cleaner_flush_pages_if_needed()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/innobase/buf/
H A Dbuf0flu.cc2479 static ulint prev_pages = 0; in page_cleaner_flush_pages_if_needed() local
2545 age_factor = static_cast<int>(prev_pages / last_pages); in page_cleaner_flush_pages_if_needed()
2550 prev_pages = n_pages; in page_cleaner_flush_pages_if_needed()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/innobase/buf/
H A Dbuf0flu.cc2479 static ulint prev_pages = 0; in page_cleaner_flush_pages_if_needed() local
2545 age_factor = static_cast<int>(prev_pages / last_pages); in page_cleaner_flush_pages_if_needed()
2550 prev_pages = n_pages; in page_cleaner_flush_pages_if_needed()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/innobase/buf/
H A Dbuf0flu.cc2479 static ulint prev_pages = 0; in page_cleaner_flush_pages_if_needed() local
2545 age_factor = static_cast<int>(prev_pages / last_pages); in page_cleaner_flush_pages_if_needed()
2550 prev_pages = n_pages; in page_cleaner_flush_pages_if_needed()