/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/ |
D | px_memory_release.c | 68 VOID posix_memory_release(VOID * memory_ptr) in posix_memory_release() argument 73 if (((CHAR *)memory_ptr >= in posix_memory_release() 75 ((CHAR *)memory_ptr <= in posix_memory_release() 78 tx_byte_release(memory_ptr); in posix_memory_release()
|
D | px_memory_allocate.c | 70 INT posix_memory_allocate(ULONG size, VOID **memory_ptr) in posix_memory_allocate() argument 76 *memory_ptr = (VOID *)0; in posix_memory_allocate() 86 retval = tx_byte_allocate((TX_BYTE_POOL *)&posix_heap_byte_pool, memory_ptr, in posix_memory_allocate()
|
D | px_int.h | 155 VOID posix_memory_release(VOID * memory_ptr); 161 INT posix_memory_allocate(ULONG size, VOID **memory_ptr);
|
/ThreadX-v6.4.1/common_modules/module_manager/src/ |
D | txm_module_manager_internal_load.c | 99 CHAR *memory_ptr; in _txm_module_manager_internal_load() local 259 …status = _tx_byte_allocate(&_txm_module_manager_byte_pool, (VOID **) &memory_ptr, data_allocation… in _txm_module_manager_internal_load() 273 TX_MEMSET(memory_ptr, ((UCHAR) 0), data_allocation_size); in _txm_module_manager_internal_load() 289 module_instance -> txm_module_instance_data_allocation_ptr = (VOID *) memory_ptr; in _txm_module_manager_internal_load() 295 data_start = (ALIGN_TYPE) memory_ptr; in _txm_module_manager_internal_load() 297 memory_ptr = (CHAR *) data_start; in _txm_module_manager_internal_load() 298 module_instance -> txm_module_instance_data_start = (VOID *) memory_ptr; in _txm_module_manager_internal_load() 301 module_instance -> txm_module_instance_data_end = (VOID *) (memory_ptr + (data_size - 1)); in _txm_module_manager_internal_load() 333 module_instance -> txm_module_instance_start_stop_stack_start_address = (VOID *) (memory_ptr); in _txm_module_manager_internal_load() 335 …module_instance -> txm_module_instance_start_stop_stack_end_address = (VOID *) (memory_ptr + (s… in _txm_module_manager_internal_load() [all …]
|
D | txm_module_manager_unload.c | 77 CHAR *memory_ptr; in _txm_module_manager_unload() local 135 memory_ptr = module_instance -> txm_module_instance_data_allocation_ptr; in _txm_module_manager_unload() 138 _tx_byte_release(memory_ptr); in _txm_module_manager_unload() 145 memory_ptr = module_instance -> txm_module_instance_code_allocation_ptr; in _txm_module_manager_unload() 148 _tx_byte_release(memory_ptr); in _txm_module_manager_unload()
|
D | txm_module_manager_absolute_load.c | 97 CHAR *memory_ptr; in _txm_module_manager_absolute_load() local 269 …status = _tx_byte_allocate(&_txm_module_manager_byte_pool, (VOID **) &memory_ptr, data_allocation… in _txm_module_manager_absolute_load() 283 TX_MEMSET(memory_ptr, ((UCHAR) 0), data_allocation_size); in _txm_module_manager_absolute_load() 299 module_instance -> txm_module_instance_data_allocation_ptr = (VOID *) memory_ptr; in _txm_module_manager_absolute_load() 305 data_start = (ALIGN_TYPE) memory_ptr; in _txm_module_manager_absolute_load() 307 memory_ptr = (CHAR *) data_start; in _txm_module_manager_absolute_load() 348 module_instance -> txm_module_instance_start_stop_stack_start_address = (VOID *) (memory_ptr); in _txm_module_manager_absolute_load() 350 …module_instance -> txm_module_instance_start_stop_stack_end_address = (VOID *) (memory_ptr + (s… in _txm_module_manager_absolute_load() 353 memory_ptr = memory_ptr + start_stop_stack_size; in _txm_module_manager_absolute_load() 359 module_instance -> txm_module_instance_callback_stack_start_address = (VOID *) (memory_ptr); in _txm_module_manager_absolute_load() [all …]
|
/ThreadX-v6.4.1/common/src/ |
D | tx_byte_allocate.c | 81 UINT _tx_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_o… in _tx_byte_allocate() argument 202 *memory_ptr = (VOID *) work_ptr; in _tx_byte_allocate() 222 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 224 …entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 238 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_4_OFFSET)) = (ULONG) *memory_ptr; in _tx_byte_allocate() 289 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) memory_ptr; in _tx_byte_allocate() 371 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 373 …entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 388 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_4_OFFSET)) = (ULONG) *memory_ptr; in _tx_byte_allocate()
|
D | txe_byte_release.c | 75 UINT _txe_byte_release(VOID *memory_ptr) in _txe_byte_release() argument 88 if (memory_ptr == TX_NULL) in _txe_byte_release() 130 status = _tx_byte_release(memory_ptr); in _txe_byte_release()
|
D | txe_byte_allocate.c | 82 UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, in _txe_byte_allocate() argument 112 else if (memory_ptr == TX_NULL) in _txe_byte_allocate() 194 status = _tx_byte_allocate(pool_ptr, memory_ptr, memory_size, wait_option); in _txe_byte_allocate()
|
D | tx_byte_release.c | 76 UINT _tx_byte_release(VOID *memory_ptr) in _tx_byte_release() argument 108 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(memory_ptr); in _tx_byte_release() 190 …NE_INSERT(TX_TRACE_BYTE_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(memory_ptr), pool_ptr -> tx… in _tx_byte_release()
|
/ThreadX-v6.4.1/common_smp/src/ |
D | tx_byte_allocate.c | 81 UINT _tx_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_o… in _tx_byte_allocate() argument 202 *memory_ptr = (VOID *) work_ptr; in _tx_byte_allocate() 222 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 224 …entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 238 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_4_OFFSET)) = (ULONG) *memory_ptr; in _tx_byte_allocate() 289 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) memory_ptr; in _tx_byte_allocate() 371 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 373 …entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*memory_ptr); in _tx_byte_allocate() 388 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_4_OFFSET)) = (ULONG) *memory_ptr; in _tx_byte_allocate()
|
D | txe_byte_release.c | 75 UINT _txe_byte_release(VOID *memory_ptr) in _txe_byte_release() argument 88 if (memory_ptr == TX_NULL) in _txe_byte_release() 130 status = _tx_byte_release(memory_ptr); in _txe_byte_release()
|
D | txe_byte_allocate.c | 82 UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, in _txe_byte_allocate() argument 112 else if (memory_ptr == TX_NULL) in _txe_byte_allocate() 194 status = _tx_byte_allocate(pool_ptr, memory_ptr, memory_size, wait_option); in _txe_byte_allocate()
|
D | tx_byte_release.c | 76 UINT _tx_byte_release(VOID *memory_ptr) in _tx_byte_release() argument 108 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(memory_ptr); in _tx_byte_release() 190 …NE_INSERT(TX_TRACE_BYTE_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(memory_ptr), pool_ptr -> tx… in _tx_byte_release()
|
/ThreadX-v6.4.1/utility/benchmarks/thread_metric/ |
D | tm_memory_allocation_test.c | 101 unsigned char *memory_ptr; in tm_memory_allocation_thread_0_entry() local 108 tm_memory_pool_allocate(0, &memory_ptr); in tm_memory_allocation_thread_0_entry() 111 status = tm_memory_pool_deallocate(0, memory_ptr); in tm_memory_allocation_thread_0_entry()
|
D | tm_porting_layer_template.c | 138 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr) in tm_memory_pool_allocate() argument 147 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr) in tm_memory_pool_deallocate() argument
|
D | tm_api.h | 91 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr); 92 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);
|
D | thread_metric_readme.txt | 193 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr); 198 in the "memory_ptr" variable. 200 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);
|
/ThreadX-v6.4.1/common_modules/module_lib/src/ |
D | txm_byte_release.c | 67 UINT _txe_byte_release(VOID *memory_ptr) in _txe_byte_release() argument 73 … (UINT) (_txm_module_kernel_call_dispatcher)(TXM_BYTE_RELEASE_CALL, (ALIGN_TYPE) memory_ptr, 0, 0); in _txe_byte_release()
|
D | txm_byte_allocate.c | 74 UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, ULONG wait_op… in _txe_byte_allocate() argument 84 …ispatcher)(TXM_BYTE_ALLOCATE_CALL, (ALIGN_TYPE) pool_ptr, (ALIGN_TYPE) memory_ptr, (ALIGN_TYPE) ex… in _txe_byte_allocate()
|
/ThreadX-v6.4.1/utility/benchmarks/thread_metric/threadx_example/ |
D | tm_porting_layer_threadx.c | 348 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr) in tm_memory_pool_allocate() argument 355 status = tx_block_allocate(&tm_block_pool_array[pool_id], (void **) memory_ptr, TX_NO_WAIT); in tm_memory_pool_allocate() 368 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr) in tm_memory_pool_deallocate() argument 375 status = tx_block_release((void *) memory_ptr); in tm_memory_pool_deallocate()
|
/ThreadX-v6.4.1/common/inc/ |
D | tx_api.h | 1521 UINT _tx_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, 1534 UINT _tx_byte_release(VOID *memory_ptr); 1540 UINT _txe_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, 1549 UINT _txe_byte_release(VOID *memory_ptr); 1551 UINT _txr_byte_allocate(TX_BYTE_POOL *pool_ptr, VOID **memory_ptr, ULONG memory_size, 1560 UINT _txr_byte_release(VOID *memory_ptr);
|
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/inc/ |
D | tx_el.h | 398 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BYTE_RELEASE, pool_ptr, memory_ptr); TX_EL_END_FILT… 403 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO3(TX_EL_BYTE_ALLOCATE, pool_ptr, memory_ptr, memory_size); T…
|
/ThreadX-v6.4.1/ports/cortex_m4/ghs/inc/ |
D | tx_el.h | 399 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BYTE_RELEASE, pool_ptr, memory_ptr); TX_EL_END_FILT… 404 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO3(TX_EL_BYTE_ALLOCATE, pool_ptr, memory_ptr, memory_size); T…
|
/ThreadX-v6.4.1/ports/cortex_m3/ghs/inc/ |
D | tx_el.h | 399 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BYTE_RELEASE, pool_ptr, memory_ptr); TX_EL_END_FILT… 404 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO3(TX_EL_BYTE_ALLOCATE, pool_ptr, memory_ptr, memory_size); T…
|