Lines Matching refs:scenario_data
66 ZTEST_BMEM struct scenario_data { struct
92 } scenario_data; argument
97 size_t obj_size = scenario_data.object_size; in stack_buffer_scenarios()
109 stack_obj = scenario_data.stack_mapped; in stack_buffer_scenarios()
111 stack_obj = scenario_data.stack; in stack_buffer_scenarios()
127 if (scenario_data.is_user) { in stack_buffer_scenarios()
243 if (!scenario_data.is_array) { in stack_buffer_scenarios()
257 if (scenario_data.is_user) { in stack_buffer_scenarios()
258 adjusted = K_THREAD_STACK_LEN(scenario_data.declared_size); in stack_buffer_scenarios()
262 adjusted = K_KERNEL_STACK_LEN(scenario_data.declared_size); in stack_buffer_scenarios()
285 if (scenario_data.is_user) { in stack_buffer_scenarios()
286 adjusted = K_THREAD_STACK_LEN(scenario_data.declared_size); in stack_buffer_scenarios()
288 adjusted = K_KERNEL_STACK_LEN(scenario_data.declared_size); in stack_buffer_scenarios()
298 zassert_true(adjusted == scenario_data.reported_size, in stack_buffer_scenarios()
300 adjusted, scenario_data.reported_size); in stack_buffer_scenarios()
332 k_thread_create(&test_thread, scenario_data.stack, STEST_STACKSIZE, in stest_thread_launch()
338 scenario_data.stack_mapped = test_thread.stack_info.mapped.addr; in stest_thread_launch()
340 printk(" - Memory mapped stack object %p\n", scenario_data.stack_mapped); in stest_thread_launch()
385 scenario_data.stack = stack_obj; in scenario_entry()
386 scenario_data.object_size = obj_size; in scenario_entry()
387 scenario_data.is_user = is_user; in scenario_entry()
388 scenario_data.metadata_size = metadata_size; in scenario_entry()
389 scenario_data.reported_size = reported_size; in scenario_entry()
390 scenario_data.declared_size = declared_size; in scenario_entry()
391 scenario_data.is_array = is_array; in scenario_entry()