Searched refs:witness_tsdn (Results 1 – 2 of 2) sorted by relevance
/external/jemalloc_new/test/unit/ |
D | witness.c | 58 witness_tsdn_t witness_tsdn = { WITNESS_TSD_INITIALIZER }; in TEST_BEGIN() local 62 witness_assert_lockless(&witness_tsdn); in TEST_BEGIN() 63 witness_assert_depth(&witness_tsdn, 0); in TEST_BEGIN() 64 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 0); in TEST_BEGIN() 67 witness_assert_not_owner(&witness_tsdn, &a); in TEST_BEGIN() 68 witness_lock(&witness_tsdn, &a); in TEST_BEGIN() 69 witness_assert_owner(&witness_tsdn, &a); in TEST_BEGIN() 70 witness_assert_depth(&witness_tsdn, 1); in TEST_BEGIN() 71 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)1U, 1); in TEST_BEGIN() 72 witness_assert_depth_to_rank(&witness_tsdn, (witness_rank_t)2U, 0); in TEST_BEGIN() [all …]
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | witness.h | 129 witness_tsdn_null(witness_tsdn_t *witness_tsdn) { in witness_tsdn_null() argument 130 return witness_tsdn == NULL; in witness_tsdn_null() 134 witness_tsdn_tsd(witness_tsdn_t *witness_tsdn) { in witness_tsdn_tsd() argument 135 assert(!witness_tsdn_null(witness_tsdn)); in witness_tsdn_tsd() 136 return &witness_tsdn->witness_tsd; in witness_tsdn_tsd() 182 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) { in witness_assert_owner() argument 189 if (witness_tsdn_null(witness_tsdn)) { in witness_assert_owner() 192 witness_tsd = witness_tsdn_tsd(witness_tsdn); in witness_assert_owner() 204 witness_assert_not_owner(witness_tsdn_t *witness_tsdn, in witness_assert_not_owner() argument 214 if (witness_tsdn_null(witness_tsdn)) { in witness_assert_not_owner() [all …]
|