Home
last modified time | relevance | path

Searched refs:memory_ptr (Results 1 – 25 of 39) sorted by relevance

12

/ThreadX-v6.4.1/utility/rtos_compatibility_layers/posix/
Dpx_memory_release.c68 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()
Dpx_memory_allocate.c70 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()
Dpx_int.h155 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/
Dtxm_module_manager_internal_load.c99 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 …]
Dtxm_module_manager_unload.c77 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()
Dtxm_module_manager_absolute_load.c97 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/
Dtx_byte_allocate.c81 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()
Dtxe_byte_release.c75 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()
Dtxe_byte_allocate.c82 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()
Dtx_byte_release.c76 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/
Dtx_byte_allocate.c81 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()
Dtxe_byte_release.c75 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()
Dtxe_byte_allocate.c82 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()
Dtx_byte_release.c76 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/
Dtm_memory_allocation_test.c101 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()
Dtm_porting_layer_template.c138 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
Dtm_api.h91 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);
Dthread_metric_readme.txt193 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/
Dtxm_byte_release.c67 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()
Dtxm_byte_allocate.c74 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/
Dtm_porting_layer_threadx.c348 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/
Dtx_api.h1521 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/
Dtx_el.h398 … 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/
Dtx_el.h399 … 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/
Dtx_el.h399 … 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…

12