| /ThreadX-v6.2.1/ports_module/cortex_a35/ac6/example_build/sample_threadx_module/ |
| D | sample_threadx_module.c | 101 UINT status; in demo_module_start() local 108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start() 109 while (status != TX_SUCCESS); in demo_module_start() 110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start() 111 while (status != TX_SUCCESS); in demo_module_start() 112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start() 113 while (status != TX_SUCCESS); in demo_module_start() 114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start() 115 while (status != TX_SUCCESS); in demo_module_start() 116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start() [all …]
|
| /ThreadX-v6.2.1/ports_module/cortex_a35/gnu/example_build/sample_threadx_module/ |
| D | sample_threadx_module.c | 101 UINT status; in demo_module_start() local 108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start() 109 while (status != TX_SUCCESS); in demo_module_start() 110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start() 111 while (status != TX_SUCCESS); in demo_module_start() 112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start() 113 while (status != TX_SUCCESS); in demo_module_start() 114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start() 115 while (status != TX_SUCCESS); in demo_module_start() 116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start() [all …]
|
| /ThreadX-v6.2.1/ports_module/cortex_a35_smp/ac6/example_build/sample_threadx_module/ |
| D | sample_threadx_module.c | 101 UINT status; in demo_module_start() local 108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start() 109 while (status != TX_SUCCESS); in demo_module_start() 110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start() 111 while (status != TX_SUCCESS); in demo_module_start() 112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start() 113 while (status != TX_SUCCESS); in demo_module_start() 114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start() 115 while (status != TX_SUCCESS); in demo_module_start() 116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start() [all …]
|
| /ThreadX-v6.2.1/ports_module/cortex_a35_smp/gnu/example_build/sample_threadx_module/ |
| D | sample_threadx_module.c | 101 UINT status; in demo_module_start() local 108 status = txm_module_object_allocate((void*)&thread_0, sizeof(TX_THREAD)); in demo_module_start() 109 while (status != TX_SUCCESS); in demo_module_start() 110 status = txm_module_object_allocate((void*)&thread_1, sizeof(TX_THREAD)); in demo_module_start() 111 while (status != TX_SUCCESS); in demo_module_start() 112 status = txm_module_object_allocate((void*)&thread_2, sizeof(TX_THREAD)); in demo_module_start() 113 while (status != TX_SUCCESS); in demo_module_start() 114 status = txm_module_object_allocate((void*)&thread_3, sizeof(TX_THREAD)); in demo_module_start() 115 while (status != TX_SUCCESS); in demo_module_start() 116 status = txm_module_object_allocate((void*)&thread_4, sizeof(TX_THREAD)); in demo_module_start() [all …]
|
| /ThreadX-v6.2.1/ports/c667x/ccs/example_build/sample_threadx_c6678evm/ |
| D | sample_threadx.c | 90 UINT status; in tx_application_define() local 94 …if ((status = tx_trace_enable(tx_trace_buffer, TRACE_BUFFER_SIZE, TRACE_OBJECTS_COUNT)) != TX_SUCC… in tx_application_define() 100 if ((status = tx_thread_stack_error_notify(my_stack_error_handler)) != TX_SUCCESS) in tx_application_define() 106 …status = tx_byte_pool_create(&byte_pool_0, "byte pool 0", first_unused_memory, DEMO_BYTE_POOL_SIZE… in tx_application_define() 107 if (status != TX_SUCCESS) in tx_application_define() 116 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define() 117 if (status != TX_SUCCESS) in tx_application_define() 123 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in tx_application_define() 126 if (status != TX_SUCCESS) in tx_application_define() 132 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define() [all …]
|
| /ThreadX-v6.2.1/ports/c667x/ccs/example_build/sample_threadx_ta6678fmc/ |
| D | sample_threadx.c | 90 UINT status; in tx_application_define() local 94 …if ((status = tx_trace_enable(tx_trace_buffer, TRACE_BUFFER_SIZE, TRACE_OBJECTS_COUNT)) != TX_SUCC… in tx_application_define() 100 if ((status = tx_thread_stack_error_notify(my_stack_error_handler)) != TX_SUCCESS) in tx_application_define() 106 …status = tx_byte_pool_create(&byte_pool_0, "byte pool 0", first_unused_memory, DEMO_BYTE_POOL_SIZE… in tx_application_define() 107 if (status != TX_SUCCESS) in tx_application_define() 116 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define() 117 if (status != TX_SUCCESS) in tx_application_define() 123 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 0, in tx_application_define() 126 if (status != TX_SUCCESS) in tx_application_define() 132 status = tx_byte_allocate(&byte_pool_0, (VOID **) &pointer, DEMO_STACK_SIZE, TX_NO_WAIT); in tx_application_define() [all …]
|
| /ThreadX-v6.2.1/utility/benchmarks/thread_metric/threadx_example/ |
| D | tm_porting_layer_threadx.c | 134 UINT status; in tm_thread_create() local 140 …status = tx_thread_create(&tm_thread_array[thread_id], "Thread-Metric test", tm_thread_entry, (UL… in tm_thread_create() 145 if (status == TX_SUCCESS) in tm_thread_create() 157 UINT status; in tm_thread_resume() local 161 status = tx_thread_resume(&tm_thread_array[thread_id]); in tm_thread_resume() 164 if (status == TX_SUCCESS) in tm_thread_resume() 176 UINT status; in tm_thread_suspend() local 180 status = tx_thread_suspend(&tm_thread_array[thread_id]); in tm_thread_suspend() 183 if (status == TX_SUCCESS) in tm_thread_suspend() 216 UINT status; in tm_queue_create() local [all …]
|
| /ThreadX-v6.2.1/common/src/ |
| D | txe_byte_allocate.c | 87 UINT status; in _txe_byte_allocate() local 94 status = TX_SUCCESS; in _txe_byte_allocate() 101 status = TX_POOL_ERROR; in _txe_byte_allocate() 109 status = TX_POOL_ERROR; in _txe_byte_allocate() 117 status = TX_PTR_ERROR; in _txe_byte_allocate() 125 status = TX_SIZE_ERROR; in _txe_byte_allocate() 133 status = TX_SIZE_ERROR; in _txe_byte_allocate() 149 status = TX_WAIT_ERROR; in _txe_byte_allocate() 156 if (status == TX_SUCCESS) in _txe_byte_allocate() 167 status = TX_CALLER_ERROR; in _txe_byte_allocate() [all …]
|
| D | txe_event_flags_get.c | 88 UINT status; in _txe_event_flags_get() local 96 status = TX_SUCCESS; in _txe_event_flags_get() 103 status = TX_GROUP_ERROR; in _txe_event_flags_get() 111 status = TX_GROUP_ERROR; in _txe_event_flags_get() 119 status = TX_PTR_ERROR; in _txe_event_flags_get() 134 status = TX_WAIT_ERROR; in _txe_event_flags_get() 148 status = TX_WAIT_ERROR; in _txe_event_flags_get() 156 if (status == TX_SUCCESS) in _txe_event_flags_get() 164 status = TX_OPTION_ERROR; in _txe_event_flags_get() 169 if (status == TX_SUCCESS) in _txe_event_flags_get() [all …]
|
| D | tx_byte_pool_performance_info_get.c | 99 UINT status; in _tx_byte_pool_performance_info_get() local 107 status = TX_PTR_ERROR; in _tx_byte_pool_performance_info_get() 115 status = TX_PTR_ERROR; in _tx_byte_pool_performance_info_get() 185 status = TX_SUCCESS; in _tx_byte_pool_performance_info_get() local 189 return(status); in _tx_byte_pool_performance_info_get() 192 UINT status; in _tx_byte_pool_performance_info_get() 200 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 206 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 212 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 218 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() [all …]
|
| D | txe_mutex_get.c | 82 UINT status; in _txe_mutex_get() local 89 status = TX_SUCCESS; in _txe_mutex_get() 96 status = TX_MUTEX_ERROR; in _txe_mutex_get() 104 status = TX_MUTEX_ERROR; in _txe_mutex_get() 119 status = TX_WAIT_ERROR; in _txe_mutex_get() 134 status = TX_WAIT_ERROR; in _txe_mutex_get() 142 if (status == TX_SUCCESS) in _txe_mutex_get() 154 status = TX_CALLER_ERROR; in _txe_mutex_get() 160 if (status == TX_SUCCESS) in _txe_mutex_get() 164 status = _tx_mutex_get(mutex_ptr, wait_option); in _txe_mutex_get() [all …]
|
| D | tx_trace_user_event_insert.c | 82 UINT status; in _tx_trace_user_event_insert() local 93 status = TX_NOT_DONE; in _tx_trace_user_event_insert() 106 status = TX_SUCCESS; in _tx_trace_user_event_insert() 113 return(status); in _tx_trace_user_event_insert() 117 UINT status; in _tx_trace_user_event_insert() 125 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 131 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 137 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 143 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 149 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() [all …]
|
| D | tx_thread_performance_info_get.c | 108 UINT status; in _tx_thread_performance_info_get() local 116 status = TX_PTR_ERROR; in _tx_thread_performance_info_get() 124 status = TX_PTR_ERROR; in _tx_thread_performance_info_get() 215 status = TX_SUCCESS; in _tx_thread_performance_info_get() local 218 UINT status; in _tx_thread_performance_info_get() 226 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 232 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 238 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 244 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 250 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() [all …]
|
| D | tx_mutex_performance_info_get.c | 93 UINT status; in _tx_mutex_performance_info_get() local 97 status = TX_SUCCESS; in _tx_mutex_performance_info_get() 104 status = TX_PTR_ERROR; in _tx_mutex_performance_info_get() 112 status = TX_PTR_ERROR; in _tx_mutex_performance_info_get() 175 UINT status; in _tx_mutex_performance_info_get() 183 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 189 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 195 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 201 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 207 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() [all …]
|
| D | tx_queue_performance_info_get.c | 92 UINT status; in _tx_queue_performance_info_get() local 100 status = TX_PTR_ERROR; in _tx_queue_performance_info_get() 108 status = TX_PTR_ERROR; in _tx_queue_performance_info_get() 171 status = TX_SUCCESS; in _tx_queue_performance_info_get() local 174 UINT status; in _tx_queue_performance_info_get() 182 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 188 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 194 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 200 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 206 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() [all …]
|
| D | txe_queue_create.c | 89 UINT status; in _txe_queue_create() local 98 status = TX_SUCCESS; in _txe_queue_create() 105 status = TX_QUEUE_ERROR; in _txe_queue_create() 113 status = TX_QUEUE_ERROR; in _txe_queue_create() 163 status = TX_QUEUE_ERROR; in _txe_queue_create() 171 status = TX_PTR_ERROR; in _txe_queue_create() 179 status = TX_SIZE_ERROR; in _txe_queue_create() 187 status = TX_SIZE_ERROR; in _txe_queue_create() 195 status = TX_SIZE_ERROR; in _txe_queue_create() 210 status = TX_CALLER_ERROR; in _txe_queue_create() [all …]
|
| /ThreadX-v6.2.1/common_smp/src/ |
| D | txe_byte_allocate.c | 87 UINT status; in _txe_byte_allocate() local 94 status = TX_SUCCESS; in _txe_byte_allocate() 101 status = TX_POOL_ERROR; in _txe_byte_allocate() 109 status = TX_POOL_ERROR; in _txe_byte_allocate() 117 status = TX_PTR_ERROR; in _txe_byte_allocate() 125 status = TX_SIZE_ERROR; in _txe_byte_allocate() 133 status = TX_SIZE_ERROR; in _txe_byte_allocate() 149 status = TX_WAIT_ERROR; in _txe_byte_allocate() 156 if (status == TX_SUCCESS) in _txe_byte_allocate() 167 status = TX_CALLER_ERROR; in _txe_byte_allocate() [all …]
|
| D | txe_event_flags_get.c | 88 UINT status; in _txe_event_flags_get() local 96 status = TX_SUCCESS; in _txe_event_flags_get() 103 status = TX_GROUP_ERROR; in _txe_event_flags_get() 111 status = TX_GROUP_ERROR; in _txe_event_flags_get() 119 status = TX_PTR_ERROR; in _txe_event_flags_get() 134 status = TX_WAIT_ERROR; in _txe_event_flags_get() 148 status = TX_WAIT_ERROR; in _txe_event_flags_get() 156 if (status == TX_SUCCESS) in _txe_event_flags_get() 164 status = TX_OPTION_ERROR; in _txe_event_flags_get() 169 if (status == TX_SUCCESS) in _txe_event_flags_get() [all …]
|
| D | tx_byte_pool_performance_info_get.c | 99 UINT status; in _tx_byte_pool_performance_info_get() local 107 status = TX_PTR_ERROR; in _tx_byte_pool_performance_info_get() 115 status = TX_PTR_ERROR; in _tx_byte_pool_performance_info_get() 185 status = TX_SUCCESS; in _tx_byte_pool_performance_info_get() local 189 return(status); in _tx_byte_pool_performance_info_get() 192 UINT status; in _tx_byte_pool_performance_info_get() 200 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 206 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 212 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() 218 status = TX_FEATURE_NOT_ENABLED; in _tx_byte_pool_performance_info_get() [all …]
|
| D | txe_mutex_get.c | 82 UINT status; in _txe_mutex_get() local 89 status = TX_SUCCESS; in _txe_mutex_get() 96 status = TX_MUTEX_ERROR; in _txe_mutex_get() 104 status = TX_MUTEX_ERROR; in _txe_mutex_get() 119 status = TX_WAIT_ERROR; in _txe_mutex_get() 134 status = TX_WAIT_ERROR; in _txe_mutex_get() 142 if (status == TX_SUCCESS) in _txe_mutex_get() 154 status = TX_CALLER_ERROR; in _txe_mutex_get() 160 if (status == TX_SUCCESS) in _txe_mutex_get() 164 status = _tx_mutex_get(mutex_ptr, wait_option); in _txe_mutex_get() [all …]
|
| D | tx_trace_user_event_insert.c | 82 UINT status; in _tx_trace_user_event_insert() local 93 status = TX_NOT_DONE; in _tx_trace_user_event_insert() 106 status = TX_SUCCESS; in _tx_trace_user_event_insert() 113 return(status); in _tx_trace_user_event_insert() 117 UINT status; in _tx_trace_user_event_insert() 125 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 131 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 137 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 143 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() 149 status = TX_FEATURE_NOT_ENABLED; in _tx_trace_user_event_insert() [all …]
|
| D | tx_thread_performance_info_get.c | 108 UINT status; in _tx_thread_performance_info_get() local 116 status = TX_PTR_ERROR; in _tx_thread_performance_info_get() 124 status = TX_PTR_ERROR; in _tx_thread_performance_info_get() 215 status = TX_SUCCESS; in _tx_thread_performance_info_get() local 218 UINT status; in _tx_thread_performance_info_get() 226 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 232 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 238 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 244 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() 250 status = TX_FEATURE_NOT_ENABLED; in _tx_thread_performance_info_get() [all …]
|
| D | tx_mutex_performance_info_get.c | 93 UINT status; in _tx_mutex_performance_info_get() local 97 status = TX_SUCCESS; in _tx_mutex_performance_info_get() 104 status = TX_PTR_ERROR; in _tx_mutex_performance_info_get() 112 status = TX_PTR_ERROR; in _tx_mutex_performance_info_get() 175 UINT status; in _tx_mutex_performance_info_get() 183 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 189 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 195 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 201 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() 207 status = TX_FEATURE_NOT_ENABLED; in _tx_mutex_performance_info_get() [all …]
|
| D | tx_queue_performance_info_get.c | 92 UINT status; in _tx_queue_performance_info_get() local 100 status = TX_PTR_ERROR; in _tx_queue_performance_info_get() 108 status = TX_PTR_ERROR; in _tx_queue_performance_info_get() 171 status = TX_SUCCESS; in _tx_queue_performance_info_get() local 174 UINT status; in _tx_queue_performance_info_get() 182 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 188 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 194 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 200 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() 206 status = TX_FEATURE_NOT_ENABLED; in _tx_queue_performance_info_get() [all …]
|
| /ThreadX-v6.2.1/common_modules/module_manager/src/ |
| D | txm_module_manager_file_load.c | 100 UINT status; in _txm_module_manager_file_load() local 104 status = fx_file_open(media_ptr, &module_file, file_name, FX_OPEN_FOR_READ); in _txm_module_manager_file_load() 107 if (status == FX_SUCCESS) in _txm_module_manager_file_load() 111 …status = fx_file_read(&module_file, (VOID *) &preamble, sizeof(TXM_MODULE_PREAMBLE), &actual_size… in _txm_module_manager_file_load() 114 if (status == FX_SUCCESS) in _txm_module_manager_file_load() 135 …status = _txm_module_manager_util_code_allocation_size_and_alignment_get(module_preamble, &code_a… in _txm_module_manager_file_load() 136 if (status == TX_SUCCESS) in _txm_module_manager_file_load() 140 …status = _tx_byte_allocate(&_txm_module_manager_byte_pool, (VOID **) &code_memory_ptr, code_alloc… in _txm_module_manager_file_load() 143 if (status == TX_SUCCESS) in _txm_module_manager_file_load() 152 status = fx_file_seek(&module_file, 0); in _txm_module_manager_file_load() [all …]
|