Lines Matching refs:tsd_tsdn
313 malloc_mutex_assert_owner(tsd_tsdn(tsd),
316 malloc_mutex_assert_not_owner(tsd_tsdn(tsd),
321 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
331 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
391 tsdn_t *tsdn = tsd_tsdn(tsd);
444 if (background_thread_pause_check(tsd_tsdn(tsd),
452 background_work_sleep_once(tsd_tsdn(tsd),
467 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
475 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
486 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
487 background_thread_wakeup_time_set(tsd_tsdn(tsd), info,
493 if (background_thread_pause_check(tsd_tsdn(tsd),
497 background_work_sleep_once(tsd_tsdn(tsd), info, ind);
501 background_thread_wakeup_time_set(tsd_tsdn(tsd), info, 0);
502 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
531 malloc_mutex_assert_owner(tsd_tsdn(tsd), &background_thread_lock);
533 background_thread_info_init(tsd_tsdn(tsd), info);
540 malloc_mutex_assert_owner(tsd_tsdn(tsd), &background_thread_lock);
547 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
553 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
560 malloc_mutex_lock(tsd_tsdn(tsd), &t0->mtx);
563 malloc_mutex_unlock(tsd_tsdn(tsd), &t0->mtx);
580 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
583 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
597 malloc_mutex_lock(tsd_tsdn(tsd), &background_thread_lock);
599 malloc_mutex_unlock(tsd_tsdn(tsd), &background_thread_lock);
608 malloc_mutex_assert_owner(tsd_tsdn(tsd), &background_thread_lock);
622 arena_get(tsd_tsdn(tsd), i, false) == NULL) {
627 malloc_mutex_lock(tsd_tsdn(tsd), &info->mtx);
630 malloc_mutex_unlock(tsd_tsdn(tsd), &info->mtx);
643 malloc_mutex_assert_owner(tsd_tsdn(tsd), &background_thread_lock);