• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/libstdc++/src/

Lines Matching defs:__thread_id

118   __pool<false>::_M_reserve_block(size_t __bytes, const size_t __thread_id)
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;
265 const size_t __thread_id = _M_get_thread_id();
270 size_t __remove = __bin._M_free[__thread_id];
277 const _Atomic_word __reclaimed = __reclaimed_base[__thread_id];
278 const size_t __net_used = __bin._M_used[__thread_id] - __reclaimed;
288 __bin._M_used[__thread_id] -= __reclaimed;
289 __atomic_add(&__reclaimed_base[__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;
316 if (__block_record->_M_thread_id == __thread_id)
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];
336 __pool<true>::_M_reserve_block(size_t __bytes, const size_t __thread_id)
364 const _Atomic_word __reclaimed = __reclaimed_base[__thread_id];
365 __bin._M_used[__thread_id] -= __reclaimed;
366 __atomic_add(&__reclaimed_base[__thread_id], -__reclaimed);
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];
400 __bin._M_free[__thread_id] = __bin._M_free[0];
406 __bin._M_free[__thread_id] = __block_count;
437 __block_record = __bin._M_first[__thread_id];
438 __bin._M_first[__thread_id] = __block_record->_M_next;
442 __block_record->_M_thread_id = __thread_id;
443 --__bin._M_free[__thread_id];
444 ++__bin._M_used[__thread_id];