Home
last modified time | relevance | path

Searched refs:pool_ptr (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/ThreadX-v6.4.1/common_smp/src/
Dtx_byte_pool_create.c75 UINT _tx_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_siz… in _tx_byte_pool_create() argument
89 TX_MEMSET(pool_ptr, 0, (sizeof(TX_BYTE_POOL))); in _tx_byte_pool_create()
96 pool_ptr -> tx_byte_pool_name = name_ptr; in _tx_byte_pool_create()
99 pool_ptr -> tx_byte_pool_start = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
100 pool_ptr -> tx_byte_pool_size = pool_size; in _tx_byte_pool_create()
103 pool_ptr -> tx_byte_pool_list = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
104 pool_ptr -> tx_byte_pool_search = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
110 pool_ptr -> tx_byte_pool_available = pool_size - ((sizeof(VOID *)) + (sizeof(ALIGN_TYPE))); in _tx_byte_pool_create()
111 pool_ptr -> tx_byte_pool_fragments = ((UINT) 2); in _tx_byte_pool_create()
125 temp_ptr = TX_BYTE_POOL_TO_UCHAR_POINTER_CONVERT(pool_ptr); in _tx_byte_pool_create()
[all …]
Dtx_block_pool_create.c76 UINT _tx_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size, in _tx_block_pool_create() argument
93 TX_MEMSET(pool_ptr, 0, (sizeof(TX_BLOCK_POOL))); in _tx_block_pool_create()
104 pool_ptr -> tx_block_pool_name = name_ptr; in _tx_block_pool_create()
105 pool_ptr -> tx_block_pool_start = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
106 pool_ptr -> tx_block_pool_size = pool_size; in _tx_block_pool_create()
107 pool_ptr -> tx_block_pool_block_size = (UINT) block_size; in _tx_block_pool_create()
134 pool_ptr -> tx_block_pool_available = blocks; in _tx_block_pool_create()
135 pool_ptr -> tx_block_pool_total = blocks; in _tx_block_pool_create()
149 pool_ptr -> tx_block_pool_available_list = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
155 pool_ptr -> tx_block_pool_id = TX_BLOCK_POOL_ID; in _tx_block_pool_create()
[all …]
Dtx_byte_release.c82 TX_BYTE_POOL *pool_ptr; in _tx_byte_release() local
102 pool_ptr = TX_NULL; in _tx_byte_release()
124 pool_ptr = *byte_pool_ptr; in _tx_byte_release()
127 if (pool_ptr == TX_NULL) in _tx_byte_release()
137 if (pool_ptr -> tx_byte_pool_id != TX_BYTE_POOL_ID) in _tx_byte_release()
144 pool_ptr = TX_NULL; in _tx_byte_release()
163 if (pool_ptr == TX_NULL) in _tx_byte_release()
178 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_release()
186 pool_ptr -> tx_byte_pool_performance_release_count++; in _tx_byte_release()
190 …RT(TX_TRACE_BYTE_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(memory_ptr), pool_ptr -> tx_byte_p… in _tx_byte_release()
[all …]
Dtx_block_pool_delete.c76 UINT _tx_block_pool_delete(TX_BLOCK_POOL *pool_ptr) in _tx_block_pool_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_POOL_DELETE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(&thread_… in _tx_block_pool_delete()
98 TX_BLOCK_POOL_DELETE_EXTENSION(pool_ptr) in _tx_block_pool_delete()
101 TX_TRACE_OBJECT_UNREGISTER(pool_ptr) in _tx_block_pool_delete()
104 pool_ptr -> tx_block_pool_id = TX_CLEAR_ID; in _tx_block_pool_delete()
120 next_pool = pool_ptr -> tx_block_pool_created_next; in _tx_block_pool_delete()
121 previous_pool = pool_ptr -> tx_block_pool_created_previous; in _tx_block_pool_delete()
126 if (_tx_block_pool_created_ptr == pool_ptr) in _tx_block_pool_delete()
138 thread_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_delete()
139 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_pool_delete()
[all …]
Dtx_byte_pool_delete.c80 UINT _tx_byte_pool_delete(TX_BYTE_POOL *pool_ptr) in _tx_byte_pool_delete() argument
96 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_DELETE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(&thread_p… in _tx_byte_pool_delete()
99 TX_BYTE_POOL_DELETE_EXTENSION(pool_ptr) in _tx_byte_pool_delete()
102 TX_TRACE_OBJECT_UNREGISTER(pool_ptr) in _tx_byte_pool_delete()
108 pool_ptr -> tx_byte_pool_id = TX_CLEAR_ID; in _tx_byte_pool_delete()
124 next_pool = pool_ptr -> tx_byte_pool_created_next; in _tx_byte_pool_delete()
125 previous_pool = pool_ptr -> tx_byte_pool_created_previous; in _tx_byte_pool_delete()
130 if (_tx_byte_pool_created_ptr == pool_ptr) in _tx_byte_pool_delete()
142 thread_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_delete()
143 pool_ptr -> tx_byte_pool_suspension_list = TX_NULL; in _tx_byte_pool_delete()
[all …]
Dtx_byte_pool_search.c87 UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size) in _tx_byte_pool_search() argument
114 …total_theoretical_available = pool_ptr -> tx_byte_pool_available + ((pool_ptr -> tx_byte_pool_frag… in _tx_byte_pool_search()
131 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_pool_search()
134 current_ptr = pool_ptr -> tx_byte_pool_search; in _tx_byte_pool_search()
135 examine_blocks = pool_ptr -> tx_byte_pool_fragments + ((UINT) 1); in _tx_byte_pool_search()
147 pool_ptr -> tx_byte_pool_performance_search_count++; in _tx_byte_pool_search()
160 pool_ptr->tx_byte_pool_search = current_ptr; in _tx_byte_pool_search()
205 pool_ptr -> tx_byte_pool_fragments--; in _tx_byte_pool_search()
213 pool_ptr -> tx_byte_pool_performance_merge_count++; in _tx_byte_pool_search()
217 if (pool_ptr -> tx_byte_pool_search == next_ptr) in _tx_byte_pool_search()
[all …]
Dtx_block_pool_cleanup.c84 TX_BLOCK_POOL *pool_ptr; in _tx_block_pool_cleanup() local
104pool_ptr = TX_VOID_TO_BLOCK_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_block_pool_cleanup()
107 if (pool_ptr != TX_NULL) in _tx_block_pool_cleanup()
111 if (pool_ptr -> tx_block_pool_id == TX_BLOCK_POOL_ID) in _tx_block_pool_cleanup()
115 if (pool_ptr -> tx_block_pool_suspended_count != TX_NO_SUSPENSIONS) in _tx_block_pool_cleanup()
120pool_ptr = TX_VOID_TO_BLOCK_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_block_pool_cleanup()
129 pool_ptr -> tx_block_pool_suspended_count--; in _tx_block_pool_cleanup()
132 suspended_count = pool_ptr -> tx_block_pool_suspended_count; in _tx_block_pool_cleanup()
143 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_pool_cleanup()
157 if (pool_ptr -> tx_block_pool_suspension_list == thread_ptr) in _tx_block_pool_cleanup()
[all …]
Dtx_byte_pool_cleanup.c84 TX_BYTE_POOL *pool_ptr; in _tx_byte_pool_cleanup() local
104pool_ptr = TX_VOID_TO_BYTE_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_byte_pool_cleanup()
107 if (pool_ptr != TX_NULL) in _tx_byte_pool_cleanup()
111 if (pool_ptr -> tx_byte_pool_id == TX_BYTE_POOL_ID) in _tx_byte_pool_cleanup()
115 if (pool_ptr -> tx_byte_pool_suspended_count != TX_NO_SUSPENSIONS) in _tx_byte_pool_cleanup()
120pool_ptr = TX_VOID_TO_BYTE_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_byte_pool_cleanup()
127 pool_ptr -> tx_byte_pool_suspended_count--; in _tx_byte_pool_cleanup()
130 suspended_count = pool_ptr -> tx_byte_pool_suspended_count; in _tx_byte_pool_cleanup()
141 pool_ptr -> tx_byte_pool_suspension_list = TX_NULL; in _tx_byte_pool_cleanup()
155 if (pool_ptr -> tx_byte_pool_suspension_list == thread_ptr) in _tx_byte_pool_cleanup()
[all …]
Dtx_block_release.c79 TX_BLOCK_POOL *pool_ptr; in _tx_block_release() local
97 pool_ptr = TX_UCHAR_TO_BLOCK_POOL_POINTER_CONVERT((*next_block_ptr)); in _tx_block_release()
105 pool_ptr -> tx_block_pool_performance_release_count++; in _tx_block_release()
109 …X_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(block_ptr), p… in _tx_block_release()
115 thread_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_release()
122 (pool_ptr -> tx_block_pool_suspended_count)--; in _tx_block_release()
125 suspended_count = (pool_ptr -> tx_block_pool_suspended_count); in _tx_block_release()
134 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_release()
143 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_release()
190 *next_block_ptr = pool_ptr -> tx_block_pool_available_list; in _tx_block_release()
[all …]
Dtx_byte_pool_performance_info_get.c90 UINT _tx_byte_pool_performance_info_get(TX_BYTE_POOL *pool_ptr, ULONG *allocates, ULONG *releases, in _tx_byte_pool_performance_info_get() argument
102 if (pool_ptr == TX_NULL) in _tx_byte_pool_performance_info_get()
110 else if (pool_ptr -> tx_byte_pool_id != TX_BYTE_POOL_ID) in _tx_byte_pool_performance_info_get()
123 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_PERFORMANCE_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BYTE_… in _tx_byte_pool_performance_info_get()
135 *allocates = pool_ptr -> tx_byte_pool_performance_allocate_count; in _tx_byte_pool_performance_info_get()
142 *releases = pool_ptr -> tx_byte_pool_performance_release_count; in _tx_byte_pool_performance_info_get()
149 *fragments_searched = pool_ptr -> tx_byte_pool_performance_search_count; in _tx_byte_pool_performance_info_get()
156 *merges = pool_ptr -> tx_byte_pool_performance_merge_count; in _tx_byte_pool_performance_info_get()
163 *splits = pool_ptr -> tx_byte_pool_performance_split_count; in _tx_byte_pool_performance_info_get()
170 *suspensions = pool_ptr -> tx_byte_pool_performance_suspension_count; in _tx_byte_pool_performance_info_get()
[all …]
Dtx_block_pool_info_get.c79 UINT _tx_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks, in _tx_block_pool_info_get() argument
91 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_POOL_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BLOCK_POOL_EVENT… in _tx_block_pool_info_get()
103 *name = pool_ptr -> tx_block_pool_name; in _tx_block_pool_info_get()
110 *available_blocks = (ULONG) pool_ptr -> tx_block_pool_available; in _tx_block_pool_info_get()
117 *total_blocks = (ULONG) pool_ptr -> tx_block_pool_total; in _tx_block_pool_info_get()
124 *first_suspended = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_info_get()
131 *suspended_count = (ULONG) pool_ptr -> tx_block_pool_suspended_count; in _tx_block_pool_info_get()
138 *next_pool = pool_ptr -> tx_block_pool_created_next; in _tx_block_pool_info_get()
Dtx_byte_pool_info_get.c79 UINT _tx_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, in _tx_byte_pool_info_get() argument
91 … TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BYTE_POOL_EVENTS) in _tx_byte_pool_info_get()
103 *name = pool_ptr -> tx_byte_pool_name; in _tx_byte_pool_info_get()
110 *available_bytes = pool_ptr -> tx_byte_pool_available; in _tx_byte_pool_info_get()
117 *fragments = (ULONG) pool_ptr -> tx_byte_pool_fragments; in _tx_byte_pool_info_get()
124 *first_suspended = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_info_get()
131 *suspended_count = (ULONG) pool_ptr -> tx_byte_pool_suspended_count; in _tx_byte_pool_info_get()
138 *next_pool = pool_ptr -> tx_byte_pool_created_next; in _tx_byte_pool_info_get()
Dtx_block_pool_performance_info_get.c82 UINT _tx_block_pool_performance_info_get(TX_BLOCK_POOL *pool_ptr, ULONG *allocates, ULONG *release… in _tx_block_pool_performance_info_get() argument
93 if (pool_ptr == TX_NULL) in _tx_block_pool_performance_info_get()
101 else if (pool_ptr -> tx_block_pool_id != TX_BLOCK_POOL_ID) in _tx_block_pool_performance_info_get()
114 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_POOL_PERFORMANCE_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BLOC… in _tx_block_pool_performance_info_get()
126 *allocates = pool_ptr -> tx_block_pool_performance_allocate_count; in _tx_block_pool_performance_info_get()
133 *releases = pool_ptr -> tx_block_pool_performance_release_count; in _tx_block_pool_performance_info_get()
140 *suspensions = pool_ptr -> tx_block_pool_performance_suspension_count; in _tx_block_pool_performance_info_get()
147 *timeouts = pool_ptr -> tx_block_pool_performance_timeout_count; in _tx_block_pool_performance_info_get()
161 if (pool_ptr != TX_NULL) in _tx_block_pool_performance_info_get()
/ThreadX-v6.4.1/common/src/
Dtx_byte_pool_create.c75 UINT _tx_byte_pool_create(TX_BYTE_POOL *pool_ptr, CHAR *name_ptr, VOID *pool_start, ULONG pool_siz… in _tx_byte_pool_create() argument
89 TX_MEMSET(pool_ptr, 0, (sizeof(TX_BYTE_POOL))); in _tx_byte_pool_create()
96 pool_ptr -> tx_byte_pool_name = name_ptr; in _tx_byte_pool_create()
99 pool_ptr -> tx_byte_pool_start = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
100 pool_ptr -> tx_byte_pool_size = pool_size; in _tx_byte_pool_create()
103 pool_ptr -> tx_byte_pool_list = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
104 pool_ptr -> tx_byte_pool_search = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_byte_pool_create()
110 pool_ptr -> tx_byte_pool_available = pool_size - ((sizeof(VOID *)) + (sizeof(ALIGN_TYPE))); in _tx_byte_pool_create()
111 pool_ptr -> tx_byte_pool_fragments = ((UINT) 2); in _tx_byte_pool_create()
125 temp_ptr = TX_BYTE_POOL_TO_UCHAR_POINTER_CONVERT(pool_ptr); in _tx_byte_pool_create()
[all …]
Dtx_block_pool_create.c76 UINT _tx_block_pool_create(TX_BLOCK_POOL *pool_ptr, CHAR *name_ptr, ULONG block_size, in _tx_block_pool_create() argument
93 TX_MEMSET(pool_ptr, 0, (sizeof(TX_BLOCK_POOL))); in _tx_block_pool_create()
104 pool_ptr -> tx_block_pool_name = name_ptr; in _tx_block_pool_create()
105 pool_ptr -> tx_block_pool_start = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
106 pool_ptr -> tx_block_pool_size = pool_size; in _tx_block_pool_create()
107 pool_ptr -> tx_block_pool_block_size = (UINT) block_size; in _tx_block_pool_create()
134 pool_ptr -> tx_block_pool_available = blocks; in _tx_block_pool_create()
135 pool_ptr -> tx_block_pool_total = blocks; in _tx_block_pool_create()
149 pool_ptr -> tx_block_pool_available_list = TX_VOID_TO_UCHAR_POINTER_CONVERT(pool_start); in _tx_block_pool_create()
155 pool_ptr -> tx_block_pool_id = TX_BLOCK_POOL_ID; in _tx_block_pool_create()
[all …]
Dtx_byte_release.c82 TX_BYTE_POOL *pool_ptr; in _tx_byte_release() local
102 pool_ptr = TX_NULL; in _tx_byte_release()
124 pool_ptr = *byte_pool_ptr; in _tx_byte_release()
127 if (pool_ptr == TX_NULL) in _tx_byte_release()
137 if (pool_ptr -> tx_byte_pool_id != TX_BYTE_POOL_ID) in _tx_byte_release()
144 pool_ptr = TX_NULL; in _tx_byte_release()
163 if (pool_ptr == TX_NULL) in _tx_byte_release()
178 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_release()
186 pool_ptr -> tx_byte_pool_performance_release_count++; in _tx_byte_release()
190 …RT(TX_TRACE_BYTE_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(memory_ptr), pool_ptr -> tx_byte_p… in _tx_byte_release()
[all …]
Dtx_byte_pool_search.c86 UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size) in _tx_byte_pool_search() argument
109 …total_theoretical_available = pool_ptr -> tx_byte_pool_available + ((pool_ptr -> tx_byte_pool_frag… in _tx_byte_pool_search()
126 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_pool_search()
129 current_ptr = pool_ptr -> tx_byte_pool_search; in _tx_byte_pool_search()
130 examine_blocks = pool_ptr -> tx_byte_pool_fragments + ((UINT) 1); in _tx_byte_pool_search()
142 pool_ptr -> tx_byte_pool_performance_search_count++; in _tx_byte_pool_search()
155 pool_ptr->tx_byte_pool_search = current_ptr; in _tx_byte_pool_search()
200 pool_ptr -> tx_byte_pool_fragments--; in _tx_byte_pool_search()
208 pool_ptr -> tx_byte_pool_performance_merge_count++; in _tx_byte_pool_search()
212 if (pool_ptr -> tx_byte_pool_search == next_ptr) in _tx_byte_pool_search()
[all …]
Dtx_block_pool_delete.c76 UINT _tx_block_pool_delete(TX_BLOCK_POOL *pool_ptr) in _tx_block_pool_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_POOL_DELETE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(&thread_… in _tx_block_pool_delete()
98 TX_BLOCK_POOL_DELETE_EXTENSION(pool_ptr) in _tx_block_pool_delete()
101 TX_TRACE_OBJECT_UNREGISTER(pool_ptr) in _tx_block_pool_delete()
104 pool_ptr -> tx_block_pool_id = TX_CLEAR_ID; in _tx_block_pool_delete()
120 next_pool = pool_ptr -> tx_block_pool_created_next; in _tx_block_pool_delete()
121 previous_pool = pool_ptr -> tx_block_pool_created_previous; in _tx_block_pool_delete()
126 if (_tx_block_pool_created_ptr == pool_ptr) in _tx_block_pool_delete()
138 thread_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_delete()
139 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_pool_delete()
[all …]
Dtx_byte_pool_delete.c80 UINT _tx_byte_pool_delete(TX_BYTE_POOL *pool_ptr) in _tx_byte_pool_delete() argument
96 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_DELETE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(&thread_p… in _tx_byte_pool_delete()
99 TX_BYTE_POOL_DELETE_EXTENSION(pool_ptr) in _tx_byte_pool_delete()
102 TX_TRACE_OBJECT_UNREGISTER(pool_ptr) in _tx_byte_pool_delete()
108 pool_ptr -> tx_byte_pool_id = TX_CLEAR_ID; in _tx_byte_pool_delete()
124 next_pool = pool_ptr -> tx_byte_pool_created_next; in _tx_byte_pool_delete()
125 previous_pool = pool_ptr -> tx_byte_pool_created_previous; in _tx_byte_pool_delete()
130 if (_tx_byte_pool_created_ptr == pool_ptr) in _tx_byte_pool_delete()
142 thread_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_delete()
143 pool_ptr -> tx_byte_pool_suspension_list = TX_NULL; in _tx_byte_pool_delete()
[all …]
Dtx_block_pool_cleanup.c84 TX_BLOCK_POOL *pool_ptr; in _tx_block_pool_cleanup() local
104pool_ptr = TX_VOID_TO_BLOCK_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_block_pool_cleanup()
107 if (pool_ptr != TX_NULL) in _tx_block_pool_cleanup()
111 if (pool_ptr -> tx_block_pool_id == TX_BLOCK_POOL_ID) in _tx_block_pool_cleanup()
115 if (pool_ptr -> tx_block_pool_suspended_count != TX_NO_SUSPENSIONS) in _tx_block_pool_cleanup()
120pool_ptr = TX_VOID_TO_BLOCK_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_block_pool_cleanup()
129 pool_ptr -> tx_block_pool_suspended_count--; in _tx_block_pool_cleanup()
132 suspended_count = pool_ptr -> tx_block_pool_suspended_count; in _tx_block_pool_cleanup()
143 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_pool_cleanup()
157 if (pool_ptr -> tx_block_pool_suspension_list == thread_ptr) in _tx_block_pool_cleanup()
[all …]
Dtx_byte_pool_cleanup.c84 TX_BYTE_POOL *pool_ptr; in _tx_byte_pool_cleanup() local
104pool_ptr = TX_VOID_TO_BYTE_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_byte_pool_cleanup()
107 if (pool_ptr != TX_NULL) in _tx_byte_pool_cleanup()
111 if (pool_ptr -> tx_byte_pool_id == TX_BYTE_POOL_ID) in _tx_byte_pool_cleanup()
115 if (pool_ptr -> tx_byte_pool_suspended_count != TX_NO_SUSPENSIONS) in _tx_byte_pool_cleanup()
120pool_ptr = TX_VOID_TO_BYTE_POOL_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_byte_pool_cleanup()
127 pool_ptr -> tx_byte_pool_suspended_count--; in _tx_byte_pool_cleanup()
130 suspended_count = pool_ptr -> tx_byte_pool_suspended_count; in _tx_byte_pool_cleanup()
141 pool_ptr -> tx_byte_pool_suspension_list = TX_NULL; in _tx_byte_pool_cleanup()
155 if (pool_ptr -> tx_byte_pool_suspension_list == thread_ptr) in _tx_byte_pool_cleanup()
[all …]
Dtx_block_release.c79 TX_BLOCK_POOL *pool_ptr; in _tx_block_release() local
97 pool_ptr = TX_UCHAR_TO_BLOCK_POOL_POINTER_CONVERT((*next_block_ptr)); in _tx_block_release()
105 pool_ptr -> tx_block_pool_performance_release_count++; in _tx_block_release()
109 …X_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_RELEASE, pool_ptr, TX_POINTER_TO_ULONG_CONVERT(block_ptr), p… in _tx_block_release()
115 thread_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_release()
122 (pool_ptr -> tx_block_pool_suspended_count)--; in _tx_block_release()
125 suspended_count = (pool_ptr -> tx_block_pool_suspended_count); in _tx_block_release()
134 pool_ptr -> tx_block_pool_suspension_list = TX_NULL; in _tx_block_release()
143 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_release()
190 *next_block_ptr = pool_ptr -> tx_block_pool_available_list; in _tx_block_release()
[all …]
Dtx_byte_pool_performance_info_get.c90 UINT _tx_byte_pool_performance_info_get(TX_BYTE_POOL *pool_ptr, ULONG *allocates, ULONG *releases, in _tx_byte_pool_performance_info_get() argument
102 if (pool_ptr == TX_NULL) in _tx_byte_pool_performance_info_get()
110 else if (pool_ptr -> tx_byte_pool_id != TX_BYTE_POOL_ID) in _tx_byte_pool_performance_info_get()
123 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_PERFORMANCE_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BYTE_… in _tx_byte_pool_performance_info_get()
135 *allocates = pool_ptr -> tx_byte_pool_performance_allocate_count; in _tx_byte_pool_performance_info_get()
142 *releases = pool_ptr -> tx_byte_pool_performance_release_count; in _tx_byte_pool_performance_info_get()
149 *fragments_searched = pool_ptr -> tx_byte_pool_performance_search_count; in _tx_byte_pool_performance_info_get()
156 *merges = pool_ptr -> tx_byte_pool_performance_merge_count; in _tx_byte_pool_performance_info_get()
163 *splits = pool_ptr -> tx_byte_pool_performance_split_count; in _tx_byte_pool_performance_info_get()
170 *suspensions = pool_ptr -> tx_byte_pool_performance_suspension_count; in _tx_byte_pool_performance_info_get()
[all …]
Dtx_byte_pool_info_get.c79 UINT _tx_byte_pool_info_get(TX_BYTE_POOL *pool_ptr, CHAR **name, ULONG *available_bytes, in _tx_byte_pool_info_get() argument
91 … TX_TRACE_IN_LINE_INSERT(TX_TRACE_BYTE_POOL_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BYTE_POOL_EVENTS) in _tx_byte_pool_info_get()
103 *name = pool_ptr -> tx_byte_pool_name; in _tx_byte_pool_info_get()
110 *available_bytes = pool_ptr -> tx_byte_pool_available; in _tx_byte_pool_info_get()
117 *fragments = (ULONG) pool_ptr -> tx_byte_pool_fragments; in _tx_byte_pool_info_get()
124 *first_suspended = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_info_get()
131 *suspended_count = (ULONG) pool_ptr -> tx_byte_pool_suspended_count; in _tx_byte_pool_info_get()
138 *next_pool = pool_ptr -> tx_byte_pool_created_next; in _tx_byte_pool_info_get()
Dtx_block_pool_info_get.c79 UINT _tx_block_pool_info_get(TX_BLOCK_POOL *pool_ptr, CHAR **name, ULONG *available_blocks, in _tx_block_pool_info_get() argument
91 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_BLOCK_POOL_INFO_GET, pool_ptr, 0, 0, 0, TX_TRACE_BLOCK_POOL_EVENT… in _tx_block_pool_info_get()
103 *name = pool_ptr -> tx_block_pool_name; in _tx_block_pool_info_get()
110 *available_blocks = (ULONG) pool_ptr -> tx_block_pool_available; in _tx_block_pool_info_get()
117 *total_blocks = (ULONG) pool_ptr -> tx_block_pool_total; in _tx_block_pool_info_get()
124 *first_suspended = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_info_get()
131 *suspended_count = (ULONG) pool_ptr -> tx_block_pool_suspended_count; in _tx_block_pool_info_get()
138 *next_pool = pool_ptr -> tx_block_pool_created_next; in _tx_block_pool_info_get()

12345678910>>...12