Home
last modified time | relevance | path

Searched refs:block_ptr (Results 1 – 25 of 29) sorted by relevance

12

/ThreadX-v6.4.1/common_smp/src/
Dtx_byte_pool_create.c80 UCHAR *block_ptr; in _tx_byte_pool_create() local
118 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
119 block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, pool_size); in _tx_byte_pool_create()
122 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr, (sizeof(ALIGN_TYPE))); in _tx_byte_pool_create()
126 block_indirect_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_byte_pool_create()
129 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr, (sizeof(UCHAR *))); in _tx_byte_pool_create()
130 block_indirect_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_byte_pool_create()
136 *block_indirect_ptr = block_ptr; in _tx_byte_pool_create()
137 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
138 block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (sizeof(UCHAR *))); in _tx_byte_pool_create()
[all …]
Dtx_block_pool_create.c85 UCHAR *block_ptr; in _tx_block_pool_create() local
114 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
115 next_block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
123 block_link_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_pool_create()
127 block_ptr = next_block_ptr; in _tx_block_pool_create()
130 next_block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
142 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr,(block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
145 block_link_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_pool_create()
Dtxe_block_release.c71 UINT _txe_block_release(VOID *block_ptr) in _txe_block_release() argument
81 if (block_ptr == TX_NULL) in _txe_block_release()
92 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _txe_block_release()
117 status = _tx_block_release(block_ptr); in _txe_block_release()
Dtx_block_allocate.c79 UINT _tx_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) in _tx_block_allocate() argument
162 return_ptr = TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_allocate()
187 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
189 … entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
197 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_3_OFFSET)) = (ULONG) *block_ptr; in _tx_block_allocate()
210 return_ptr = TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_allocate()
252 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) block_ptr; in _tx_block_allocate()
331 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
333 … entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
351 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_3_OFFSET)) = (ULONG) *block_ptr; in _tx_block_allocate()
Dtxe_block_allocate.c79 UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) in _txe_block_allocate() argument
109 else if (block_ptr == TX_NULL) in _txe_block_allocate()
155 status = _tx_block_allocate(pool_ptr, block_ptr, wait_option); in _txe_block_allocate()
Dtx_block_release.c74 UINT _tx_block_release(VOID *block_ptr) in _tx_block_release() argument
94 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_release()
109 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(block_ptr), … in _tx_block_release()
159 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_release()
/ThreadX-v6.4.1/common/src/
Dtx_byte_pool_create.c80 UCHAR *block_ptr; in _tx_byte_pool_create() local
118 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
119 block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, pool_size); in _tx_byte_pool_create()
122 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr, (sizeof(ALIGN_TYPE))); in _tx_byte_pool_create()
126 block_indirect_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_byte_pool_create()
129 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr, (sizeof(UCHAR *))); in _tx_byte_pool_create()
130 block_indirect_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_byte_pool_create()
136 *block_indirect_ptr = block_ptr; in _tx_byte_pool_create()
137 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
138 block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (sizeof(UCHAR *))); in _tx_byte_pool_create()
[all …]
Dtx_block_pool_create.c85 UCHAR *block_ptr; in _tx_block_pool_create() local
114 block_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
115 next_block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
123 block_link_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_pool_create()
127 block_ptr = next_block_ptr; in _tx_block_pool_create()
130 next_block_ptr = TX_UCHAR_POINTER_ADD(block_ptr, (block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
142 block_ptr = TX_UCHAR_POINTER_SUB(block_ptr,(block_size + (sizeof(UCHAR *)))); in _tx_block_pool_create()
145 block_link_ptr = TX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_pool_create()
Dtxe_block_release.c71 UINT _txe_block_release(VOID *block_ptr) in _txe_block_release() argument
81 if (block_ptr == TX_NULL) in _txe_block_release()
92 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _txe_block_release()
117 status = _tx_block_release(block_ptr); in _txe_block_release()
Dtx_block_allocate.c79 UINT _tx_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) in _tx_block_allocate() argument
162 return_ptr = TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_allocate()
187 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
189 … entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
197 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_3_OFFSET)) = (ULONG) *block_ptr; in _tx_block_allocate()
210 return_ptr = TX_INDIRECT_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_allocate()
252 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) block_ptr; in _tx_block_allocate()
331 … entry_ptr -> tx_trace_buffer_entry_info_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
333 … entry_ptr -> tx_trace_buffer_entry_information_field_2 = TX_POINTER_TO_ULONG_CONVERT(*block_ptr); in _tx_block_allocate()
351 *((ULONG *) (log_entry_ptr + TX_EL_EVENT_INFO_3_OFFSET)) = (ULONG) *block_ptr; in _tx_block_allocate()
Dtxe_block_allocate.c79 UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) in _txe_block_allocate() argument
109 else if (block_ptr == TX_NULL) in _txe_block_allocate()
155 status = _tx_block_allocate(pool_ptr, block_ptr, wait_option); in _txe_block_allocate()
Dtx_block_release.c74 UINT _tx_block_release(VOID *block_ptr) in _tx_block_release() argument
94 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_release()
109 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(block_ptr), … in _tx_block_release()
159 work_ptr = TX_VOID_TO_UCHAR_POINTER_CONVERT(block_ptr); in _tx_block_release()
/ThreadX-v6.4.1/common_modules/module_lib/src/
Dtxm_block_release.c66 UINT _txe_block_release(VOID *block_ptr) in _txe_block_release() argument
72 … (UINT) (_txm_module_kernel_call_dispatcher)(TXM_BLOCK_RELEASE_CALL, (ALIGN_TYPE) block_ptr, 0, 0); in _txe_block_release()
Dtxm_block_allocate.c72 UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option) in _txe_block_allocate() argument
78 …ispatcher)(TXM_BLOCK_ALLOCATE_CALL, (ALIGN_TYPE) pool_ptr, (ALIGN_TYPE) block_ptr, (ALIGN_TYPE) wa… in _txe_block_allocate()
/ThreadX-v6.4.1/common/inc/
Dtx_api.h1479 UINT _tx_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option);
1491 UINT _tx_block_release(VOID *block_ptr);
1497 UINT _txe_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option);
1505 UINT _txe_block_release(VOID *block_ptr);
1507 UINT _txr_block_allocate(TX_BLOCK_POOL *pool_ptr, VOID **block_ptr, ULONG wait_option);
1515 UINT _txr_block_release(VOID *block_ptr);
/ThreadX-v6.4.1/ports_smp/mips32_interaptiv_smp/green/inc/
Dtx_el.h406 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
411 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_m4/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_m3/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_r5/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_a7/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports_smp/cortex_a5x_smp/green/inc/
Dtx_el.h406 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
411 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_r4/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_r7/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports_arch/ARMv7-M/threadx/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…
/ThreadX-v6.4.1/ports/cortex_a8/ghs/inc/
Dtx_el.h407 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_RELEASE, pool_ptr, block_ptr); TX_EL_END_FILT…
412 … TX_EL_KERNEL_CALL_EVENT_INSERT_INFO2(TX_EL_BLOCK_ALLOCATE, pool_ptr, block_ptr); TX_EL_END_FILT…

12