Lines Matching refs:tsd
46 tsd_t *tsd = tsd_fetch(); in thd_start() local
47 assert_x_eq(tsd_test_data_get(tsd), MALLOC_TSD_TEST_DATA_INIT, in thd_start()
53 tsd_test_data_set(tsd, d); in thd_start()
54 assert_x_eq(tsd_test_data_get(tsd), d, in thd_start()
58 assert_x_eq(tsd_test_data_get(tsd), (int)(uintptr_t)arg, in thd_start()
61 tsd_test_callback_set(tsd, &data_cleanup); in thd_start()
89 tsd_t *tsd = tsd_fetch(); in thd_start_reincarnated() local
90 assert(tsd); in thd_start_reincarnated()
96 assert_ptr_not_null(tsd_arena_get(tsd), in thd_start_reincarnated()
98 tsd_cleanup((void *)tsd); in thd_start_reincarnated()
99 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()
101 assert_u_eq(tsd->state, tsd_state_purgatory, in thd_start_reincarnated()
105 assert_u_eq(tsd->state, tsd_state_reincarnated, in thd_start_reincarnated()
109 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()
113 tsd_cleanup((void *)tsd); in thd_start_reincarnated()
114 assert_ptr_null(*tsd_arenap_get_unsafe(tsd), in thd_start_reincarnated()