Lines Matching refs:pool_ptr
88 UCHAR *_tx_byte_pool_search(TX_BYTE_POOL *pool_ptr, ULONG memory_size) in _tx_byte_pool_search() argument
115 …total_theoretical_available = pool_ptr -> tx_byte_pool_available + ((pool_ptr -> tx_byte_pool_frag… in _tx_byte_pool_search()
132 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_pool_search()
135 current_ptr = pool_ptr -> tx_byte_pool_search; in _tx_byte_pool_search()
136 examine_blocks = pool_ptr -> tx_byte_pool_fragments + ((UINT) 1); in _tx_byte_pool_search()
148 pool_ptr -> tx_byte_pool_performance_search_count++; in _tx_byte_pool_search()
161 pool_ptr->tx_byte_pool_search = current_ptr; in _tx_byte_pool_search()
206 pool_ptr -> tx_byte_pool_fragments--; in _tx_byte_pool_search()
214 pool_ptr -> tx_byte_pool_performance_merge_count++; in _tx_byte_pool_search()
218 if (pool_ptr -> tx_byte_pool_search == next_ptr) in _tx_byte_pool_search()
221 pool_ptr -> tx_byte_pool_search = current_ptr; in _tx_byte_pool_search()
241 pool_ptr -> tx_byte_pool_performance_search_count++; in _tx_byte_pool_search()
292 if (pool_ptr -> tx_byte_pool_owner != thread_ptr) in _tx_byte_pool_search()
309 current_ptr = pool_ptr -> tx_byte_pool_search; in _tx_byte_pool_search()
310 examine_blocks = pool_ptr -> tx_byte_pool_fragments + ((UINT) 1); in _tx_byte_pool_search()
313 pool_ptr -> tx_byte_pool_owner = thread_ptr; in _tx_byte_pool_search()
338 pool_ptr -> tx_byte_pool_fragments++; in _tx_byte_pool_search()
352 pool_ptr -> tx_byte_pool_performance_split_count++; in _tx_byte_pool_search()
359 *this_block_link_ptr = TX_BYTE_POOL_TO_UCHAR_POINTER_CONVERT(pool_ptr); in _tx_byte_pool_search()
362 …pool_ptr -> tx_byte_pool_available = (pool_ptr -> tx_byte_pool_available - available_bytes) - ((s… in _tx_byte_pool_search()
366 if (current_ptr == pool_ptr -> tx_byte_pool_search) in _tx_byte_pool_search()
371 pool_ptr -> tx_byte_pool_search = *this_block_link_ptr; in _tx_byte_pool_search()