/ThreadX-v6.3.0/test/tx/regression/ |
D | threadx_byte_memory_suspension_test.c | 16 static TX_BYTE_POOL pool_0; variable 44 search_ptr = pool_0.tx_byte_pool_search; in abort_and_resume_byte_allocating_thread() 45 while (search_ptr >= pool_0.tx_byte_pool_search) in abort_and_resume_byte_allocating_thread() 50 pool_0.tx_byte_pool_search = search_ptr; in abort_and_resume_byte_allocating_thread() 124 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 154 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 193 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 238 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 295 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_1_entry() 327 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_2_entry() [all …]
|
D | threadx_block_memory_error_detection_test.c | 10 static TX_BLOCK_POOL pool_0; variable 52 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 58 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 90 status = tx_block_allocate(&pool_0, (VOID **) TX_NULL, TX_NO_WAIT); in test_application_define() 145 status = tx_block_allocate(&pool_0, (VOID **) TX_NULL, TX_NO_WAIT); in thread_0_entry() 186 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 201 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 216 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 232 status = tx_block_allocate(&pool_0, (VOID **) &pointer_4, TX_NO_WAIT); in thread_0_entry() 293 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_byte_memory_basic_test.c | 41 static TX_BYTE_POOL pool_0; variable 117 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in timer_entry() 128 status = tx_byte_pool_delete(&pool_0); in timer_entry() 166 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, 100); in test_isr() 177 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in test_isr() 200 status = tx_byte_pool_delete(&pool_0); in test_isr() 259 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 409 status = tx_byte_pool_create(&pool_0, "pool 0", pointer_1, 108); in thread_0_entry() 495 status = tx_byte_allocate(&pool_0, (VOID **) TX_NULL, 24, TX_NO_WAIT); in thread_0_entry() 507 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 240000, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_basic_test.c | 37 static TX_BLOCK_POOL pool_0; variable 100 status = tx_block_pool_delete(&pool_0); in timer_entry() 113 status = tx_block_allocate(&pool_0, (void **) &pointer, 10); in timer_entry() 138 status = tx_block_allocate(&pool_0, (VOID **) &pointer, TX_WAIT_FOREVER); in test_isr() 160 status = tx_block_pool_delete(&pool_0); in test_isr() 220 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 333 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 348 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 363 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 379 status = tx_block_allocate(&pool_0, (VOID **) &pointer_4, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_suspension_timeout_test.c | 14 static TX_BLOCK_POOL pool_0; variable 87 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 116 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 117 status += tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 118 status += tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 175 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 202 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_2_entry()
|
D | threadx_block_memory_suspension_test.c | 13 static TX_BLOCK_POOL pool_0; variable 86 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 118 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 132 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 147 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 191 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 258 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_1_entry() 291 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_2_entry()
|
D | threadx_byte_memory_thread_contention_test.c | 16 static TX_BYTE_POOL pool_0; variable 92 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 96 initial_pool_size = pool_0.tx_byte_pool_available; in test_application_define() 133 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_0_entry() 175 if (pool_0.tx_byte_pool_available != initial_pool_size) in thread_0_entry() 203 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 30, TX_WAIT_FOREVER); in thread_1_entry() 236 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 12, TX_WAIT_FOREVER); in thread_2_entry()
|
D | threadx_block_memory_thread_terminate_test.c | 13 static TX_BLOCK_POOL pool_0; variable 72 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 101 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 102 status += tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 103 status += tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 172 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry()
|
D | threadx_byte_memory_thread_terminate_test.c | 12 static TX_BYTE_POOL pool_0; variable 71 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 101 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 140 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 167 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_1_entry()
|
D | threadx_byte_memory_suspension_timeout_test.c | 14 static TX_BYTE_POOL pool_0; variable 88 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 118 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 161 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, 10); in thread_1_entry() 187 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, 10); in thread_2_entry()
|
/ThreadX-v6.3.0/test/smp/regression/ |
D | threadx_byte_memory_suspension_test.c | 16 static TX_BYTE_POOL pool_0; variable 44 search_ptr = pool_0.tx_byte_pool_search; in abort_and_resume_byte_allocating_thread() 45 while (search_ptr >= pool_0.tx_byte_pool_search) in abort_and_resume_byte_allocating_thread() 50 pool_0.tx_byte_pool_search = search_ptr; in abort_and_resume_byte_allocating_thread() 124 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 154 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 193 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 238 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 295 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_1_entry() 327 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_2_entry() [all …]
|
D | threadx_block_memory_error_detection_test.c | 10 static TX_BLOCK_POOL pool_0; variable 52 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 58 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 90 status = tx_block_allocate(&pool_0, (VOID **) TX_NULL, TX_NO_WAIT); in test_application_define() 145 status = tx_block_allocate(&pool_0, (VOID **) TX_NULL, TX_NO_WAIT); in thread_0_entry() 186 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 201 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 216 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 232 status = tx_block_allocate(&pool_0, (VOID **) &pointer_4, TX_NO_WAIT); in thread_0_entry() 293 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_byte_memory_basic_test.c | 41 static TX_BYTE_POOL pool_0; variable 117 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in timer_entry() 128 status = tx_byte_pool_delete(&pool_0); in timer_entry() 166 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, 100); in test_isr() 177 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 24, TX_NO_WAIT); in test_isr() 200 status = tx_byte_pool_delete(&pool_0); in test_isr() 259 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 409 status = tx_byte_pool_create(&pool_0, "pool 0", pointer_1, 108); in thread_0_entry() 495 status = tx_byte_allocate(&pool_0, (VOID **) TX_NULL, 24, TX_NO_WAIT); in thread_0_entry() 507 status = tx_byte_allocate(&pool_0, (VOID **) &pointer_1, 240000, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_basic_test.c | 37 static TX_BLOCK_POOL pool_0; variable 100 status = tx_block_pool_delete(&pool_0); in timer_entry() 113 status = tx_block_allocate(&pool_0, (void **) &pointer, 10); in timer_entry() 138 status = tx_block_allocate(&pool_0, (VOID **) &pointer, TX_WAIT_FOREVER); in test_isr() 160 status = tx_block_pool_delete(&pool_0); in test_isr() 220 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 333 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 348 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 363 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 379 status = tx_block_allocate(&pool_0, (VOID **) &pointer_4, TX_NO_WAIT); in thread_0_entry() [all …]
|
D | threadx_block_memory_suspension_timeout_test.c | 14 static TX_BLOCK_POOL pool_0; variable 87 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 116 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 117 status += tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 118 status += tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 175 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry() 202 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_2_entry()
|
D | threadx_block_memory_suspension_test.c | 13 static TX_BLOCK_POOL pool_0; variable 86 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 118 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 132 status = tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 147 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 191 status = tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 258 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_1_entry() 291 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_WAIT_FOREVER); in thread_2_entry()
|
D | threadx_byte_memory_thread_contention_test.c | 16 static TX_BYTE_POOL pool_0; variable 92 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 96 initial_pool_size = pool_0.tx_byte_pool_available; in test_application_define() 133 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_0_entry() 175 if (pool_0.tx_byte_pool_available != initial_pool_size) in thread_0_entry() 203 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 30, TX_WAIT_FOREVER); in thread_1_entry() 236 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 12, TX_WAIT_FOREVER); in thread_2_entry()
|
D | threadx_block_memory_thread_terminate_test.c | 13 static TX_BLOCK_POOL pool_0; variable 72 status = tx_block_pool_create(&pool_0, "pool 0", 100, pointer, 320); in test_application_define() 101 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, TX_NO_WAIT); in thread_0_entry() 102 status += tx_block_allocate(&pool_0, (VOID **) &pointer_2, TX_NO_WAIT); in thread_0_entry() 103 status += tx_block_allocate(&pool_0, (VOID **) &pointer_3, TX_NO_WAIT); in thread_0_entry() 172 status = tx_block_allocate(&pool_0, (VOID **) &pointer_1, 10); in thread_1_entry()
|
D | threadx_byte_memory_thread_terminate_test.c | 12 static TX_BYTE_POOL pool_0; variable 71 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 101 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 140 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 167 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_WAIT_FOREVER); in thread_1_entry()
|
D | threadx_byte_memory_suspension_timeout_test.c | 14 static TX_BYTE_POOL pool_0; variable 88 status = tx_byte_pool_create(&pool_0, "pool 0", pointer, 108); in test_application_define() 118 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, TX_NO_WAIT); in thread_0_entry() 161 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, 10); in thread_1_entry() 187 status = tx_byte_allocate(&pool_0, (VOID **) &pointer, 60, 10); in thread_2_entry()
|