Lines Matching refs:__bin

88 	    _Bin_record& __bin = _M_bin[__n];
89 while (__bin._M_address)
91 _Block_address* __tmp = __bin._M_address->_M_next;
92 ::operator delete(__bin._M_address->_M_initial);
93 __bin._M_address = __tmp;
95 ::operator delete(__bin._M_first);
107 _Bin_record& __bin = _M_bin[__which];
113 __block_record->_M_next = __bin._M_first[0];
114 __bin._M_first[0] = __block_record;
122 _Bin_record& __bin = _M_bin[__which];
133 __address->_M_next = __bin._M_address;
134 __bin._M_address = __address;
138 __bin._M_first[__thread_id] = __block_record;
147 __block_record = __bin._M_first[__thread_id];
148 __bin._M_first[__thread_id] = __block_record->_M_next;
198 _Bin_record& __bin = _M_bin[__n];
200 __bin._M_first = static_cast<_Block_record**>(__v);
201 __bin._M_first[0] = NULL;
202 __bin._M_address = NULL;
218 _Bin_record& __bin = _M_bin[__n];
219 while (__bin._M_address)
221 _Block_address* __tmp = __bin._M_address->_M_next;
222 ::operator delete(__bin._M_address->_M_initial);
223 __bin._M_address = __tmp;
225 ::operator delete(__bin._M_first);
226 ::operator delete(__bin._M_free);
227 ::operator delete(__bin._M_used);
228 ::operator delete(__bin._M_mutex);
235 _Bin_record& __bin = _M_bin[__n];
236 while (__bin._M_address)
238 _Block_address* __tmp = __bin._M_address->_M_next;
239 ::operator delete(__bin._M_address->_M_initial);
240 __bin._M_address = __tmp;
242 ::operator delete(__bin._M_first);
255 const _Bin_record& __bin = _M_bin[__which];
270 size_t __remove = __bin._M_free[__thread_id];
276 reinterpret_cast<_Atomic_word*>(__bin._M_used + __max_threads);
278 const size_t __net_used = __bin._M_used[__thread_id] - __reclaimed;
288 __bin._M_used[__thread_id] -= __reclaimed;
296 if (__remove > __limit && __remove > __bin._M_free[__thread_id])
298 _Block_record* __first = __bin._M_first[__thread_id];
304 __bin._M_first[__thread_id] = __tmp->_M_next;
305 __bin._M_free[__thread_id] -= __removed;
307 __gthread_mutex_lock(__bin._M_mutex);
308 __tmp->_M_next = __bin._M_first[0];
309 __bin._M_first[0] = __first;
310 __bin._M_free[0] += __removed;
311 __gthread_mutex_unlock(__bin._M_mutex);
317 --__bin._M_used[__thread_id];
321 __block_record->_M_next = __bin._M_first[__thread_id];
322 __bin._M_first[__thread_id] = __block_record;
324 ++__bin._M_free[__thread_id];
330 __block_record->_M_next = __bin._M_first[0];
331 __bin._M_first[0] = __block_record;
356 _Bin_record& __bin = _M_bin[__which];
363 reinterpret_cast<_Atomic_word*>(__bin._M_used + __max_threads);
365 __bin._M_used[__thread_id] -= __reclaimed;
368 __gthread_mutex_lock(__bin._M_mutex);
369 if (__bin._M_first[0] == NULL)
374 __address->_M_next = __bin._M_address;
375 __bin._M_address = __address;
376 __gthread_mutex_unlock(__bin._M_mutex);
382 __bin._M_free[__thread_id] = __block_count;
383 __bin._M_first[__thread_id] = __block_record;
397 __bin._M_first[__thread_id] = __bin._M_first[0];
398 if (__block_count >= __bin._M_free[0])
400 __bin._M_free[__thread_id] = __bin._M_free[0];
401 __bin._M_free[0] = 0;
402 __bin._M_first[0] = NULL;
406 __bin._M_free[__thread_id] = __block_count;
407 __bin._M_free[0] -= __block_count;
408 __block_record = __bin._M_first[0];
411 __bin._M_first[0] = __block_record->_M_next;
414 __gthread_mutex_unlock(__bin._M_mutex);
422 __address->_M_next = __bin._M_address;
423 __bin._M_address = __address;
427 __bin._M_first[0] = __block_record;
437 __block_record = __bin._M_first[__thread_id];
438 __bin._M_first[__thread_id] = __block_record->_M_next;
443 --__bin._M_free[__thread_id];
444 ++__bin._M_used[__thread_id];
561 _Bin_record& __bin = _M_bin[__n];
564 __bin._M_first = static_cast<_Block_record**>(__v);
566 __bin._M_address = NULL;
571 __bin._M_free = static_cast<size_t*>(__v);
577 __bin._M_used = static_cast<size_t*>(__v);
580 __bin._M_mutex = static_cast<__gthread_mutex_t*>(__v);
586 *__bin._M_mutex = __tmp;
589 { __GTHREAD_MUTEX_INIT_FUNCTION(__bin._M_mutex); }
597 _Bin_record& __bin = _M_bin[__n];
599 __bin._M_first = static_cast<_Block_record**>(__v);
600 __bin._M_first[0] = NULL;
601 __bin._M_address = NULL;
754 _Bin_record& __bin = _M_bin[__n];
757 __bin._M_first = static_cast<_Block_record**>(__v);
759 __bin._M_address = NULL;
763 __bin._M_free = static_cast<size_t*>(__v);
769 __bin._M_used = static_cast<size_t*>(__v);
772 __bin._M_mutex = static_cast<__gthread_mutex_t*>(__v);
778 *__bin._M_mutex = __tmp;
781 { __GTHREAD_MUTEX_INIT_FUNCTION(__bin._M_mutex); }
789 _Bin_record& __bin = _M_bin[__n];
791 __bin._M_first = static_cast<_Block_record**>(__v);
792 __bin._M_first[0] = NULL;
793 __bin._M_address = NULL;