Lines Matching refs:pool

6     let pool = crate::small_pool_config();  in successful_instantiation()  localVariable
8 config.allocation_strategy(pool); in successful_instantiation()
25 let mut pool = crate::small_pool_config(); in memory_limit() localVariable
26 pool.max_memory_size(3 << 16); in memory_limit()
28 config.allocation_strategy(pool); in memory_limit()
102 let mut pool = crate::small_pool_config(); in memory_init() localVariable
103 pool.max_memory_size(2 << 16).table_elements(0); in memory_init()
105 config.allocation_strategy(pool); in memory_init()
136 let mut pool = crate::small_pool_config(); in memory_guard_page_trap() localVariable
137 pool.max_memory_size(2 << 16).table_elements(0); in memory_guard_page_trap()
139 config.allocation_strategy(pool); in memory_guard_page_trap()
203 let mut pool = crate::small_pool_config(); in memory_zeroed() localVariable
204 pool.max_memory_size(1 << 16).table_elements(0); in memory_zeroed()
206 config.allocation_strategy(pool); in memory_zeroed()
240 let mut pool = crate::small_pool_config(); in table_limit() localVariable
241 pool.table_elements(TABLE_ELEMENTS); in table_limit()
243 config.allocation_strategy(pool); in table_limit()
319 let mut pool = crate::small_pool_config(); in table_init() localVariable
320 pool.max_memory_size(0).table_elements(6); in table_init()
322 config.allocation_strategy(pool); in table_init()
374 let pool = crate::small_pool_config(); in table_zeroed() localVariable
376 config.allocation_strategy(pool); in table_zeroed()
408 let mut pool = crate::small_pool_config(); in total_core_instances_limit() localVariable
409 pool.total_core_instances(INSTANCE_LIMIT); in total_core_instances_limit()
411 config.allocation_strategy(pool); in total_core_instances_limit()
445 let mut pool = crate::small_pool_config(); in preserve_data_segments() localVariable
446 pool.total_memories(2); in preserve_data_segments()
448 config.allocation_strategy(pool); in preserve_data_segments()
493 let mut pool = crate::small_pool_config(); in multi_memory_with_imported_memories() localVariable
494 pool.total_memories(2).max_memories_per_module(2); in multi_memory_with_imported_memories()
496 config.allocation_strategy(pool); in multi_memory_with_imported_memories()
532 let pool = crate::small_pool_config(); in drop_externref_global_during_module_init() localVariable
535 config.allocation_strategy(pool); in drop_externref_global_during_module_init()
576 let pool = crate::small_pool_config(); in switch_image_and_non_image() localVariable
578 c.allocation_strategy(pool); in switch_image_and_non_image()
634 let mut pool = crate::small_pool_config(); in instance_too_large() localVariable
635 pool.max_core_instance_size(16); in instance_too_large()
637 config.allocation_strategy(pool); in instance_too_large()
675 let mut pool = crate::small_pool_config(); in dynamic_memory_pooling_allocator() localVariable
676 pool.max_memory_size(max_size as usize); in dynamic_memory_pooling_allocator()
680 config.allocation_strategy(pool); in dynamic_memory_pooling_allocator()
788 let mut pool = crate::small_pool_config(); in zero_memory_pages_disallows_oob() localVariable
789 pool.max_memory_size(0); in zero_memory_pages_disallows_oob()
791 config.allocation_strategy(pool); in zero_memory_pages_disallows_oob()
827 let mut pool = crate::small_pool_config(); in total_component_instances_limit() localVariable
828 pool.total_component_instances(TOTAL_COMPONENT_INSTANCES); in total_component_instances_limit()
831 config.allocation_strategy(pool); in total_component_instances_limit()
860 let mut pool = crate::small_pool_config(); in component_instance_size_limit() localVariable
861 pool.max_component_instance_size(1); in component_instance_size_limit()
864 config.allocation_strategy(pool); in component_instance_size_limit()
884 let mut pool = crate::small_pool_config(); in total_tables_limit() localVariable
885 pool.total_tables(TOTAL_TABLES) in total_tables_limit()
888 config.allocation_strategy(pool); in total_tables_limit()
920 let mut pool = crate::small_pool_config(); in total_stacks_limit() localVariable
921 pool.total_stacks(TOTAL_STACKS) in total_stacks_limit()
924 config.allocation_strategy(pool); in total_stacks_limit()
1009 let mut pool = crate::small_pool_config(); in component_core_instances_limit() localVariable
1010 pool.max_core_instances_per_component(1); in component_core_instances_limit()
1013 config.allocation_strategy(pool); in component_core_instances_limit()
1051 let mut pool = crate::small_pool_config(); in component_memories_limit() localVariable
1052 pool.max_memories_per_component(1).total_memories(2); in component_memories_limit()
1055 config.allocation_strategy(pool); in component_memories_limit()
1093 let mut pool = crate::small_pool_config(); in component_tables_limit() localVariable
1094 pool.max_tables_per_component(1).total_tables(2); in component_tables_limit()
1097 config.allocation_strategy(pool); in component_tables_limit()
1136 let mut pool = crate::small_pool_config(); in component_core_instances_aggregate_size() localVariable
1137 pool.max_core_instances_per_component(100) in component_core_instances_aggregate_size()
1144 config.allocation_strategy(pool); in component_core_instances_aggregate_size()
1182 let mut pool = crate::small_pool_config(); in total_memories_limit() localVariable
1183 pool.total_memories(TOTAL_MEMORIES) in total_memories_limit()
1187 config.allocation_strategy(pool); in total_memories_limit()
1225 let mut pool = crate::small_pool_config(); in decommit_batching() localVariable
1226 pool.total_memories(capacity) in decommit_batching()
1231 config.allocation_strategy(pool); in decommit_batching()
1474 let pool = crate::small_pool_config(); in memory_reset_if_instantiation_fails() localVariable
1476 config.allocation_strategy(pool); in memory_reset_if_instantiation_fails()
1518 let mut pool = crate::small_pool_config(); in purge_module_with_mpk() localVariable
1519 pool.total_memories(2) in purge_module_with_mpk()
1523 config.allocation_strategy(InstanceAllocationStrategy::Pooling(pool)); in purge_module_with_mpk()