Searched refs:is_alloc (Results 1 – 5 of 5) sorted by relevance
| /src/contrib/wpa/src/utils/ |
| H A D | os_unix.c | 555 int testing_test_fail(const char *tag, bool is_alloc) in testing_test_fail() argument 566 is_alloc = !!is_alloc; in testing_test_fail() 568 for (idx = 0; idx < ARRAY_SIZE(wpa_trace_test_fail[is_alloc]); idx++) { in testing_test_fail() 569 if (wpa_trace_test_fail[is_alloc][idx].fail_after != 0) in testing_test_fail() 572 if (idx >= ARRAY_SIZE(wpa_trace_test_fail[is_alloc])) in testing_test_fail() 578 if (is_alloc) { in testing_test_fail() 597 pos = wpa_trace_test_fail[is_alloc][idx].pattern; in testing_test_fail() 648 wpa_trace_test_fail[is_alloc][idx].fail_after--; in testing_test_fail() 649 if (wpa_trace_test_fail[is_alloc][idx].fail_after == 0) { in testing_test_fail() 651 wpa_trace_test_fail[is_alloc][idx].pattern); in testing_test_fail() [all …]
|
| H A D | os.h | 692 int testing_test_fail(const char *tag, bool is_alloc); 693 int testing_set_fail_pattern(bool is_alloc, char *patterns); 694 int testing_get_fail_pattern(bool is_alloc, char *buf, size_t buflen); 698 static inline int testing_set_fail_pattern(bool is_alloc, char *patterns) in testing_set_fail_pattern() argument 703 static inline int testing_get_fail_pattern(bool is_alloc, char *buf, in testing_get_fail_pattern() argument
|
| /src/contrib/jemalloc/src/ |
| H A D | thread_event.c | 78 if (condition && alloc_event == ctx->is_alloc) { \ in te_ctx_has_active_events() 87 te_next_event_compute(tsd_t *tsd, bool is_alloc) { in te_next_event_compute() argument 90 if (is_alloc == alloc_event && condition) { \ in te_next_event_compute() 261 bool is_alloc = ctx->is_alloc; in te_event_trigger() local 266 if (is_alloc == alloc_event && condition) { \ in te_event_trigger() 292 if (is_alloc == alloc_event && condition && \ in te_event_trigger() 306 te_init(tsd_t *tsd, bool is_alloc) { in te_init() argument 308 te_ctx_get(tsd, &ctx, is_alloc); in te_init() 322 if (is_alloc == alloc_event && condition) { \ in te_init()
|
| H A D | jemalloc.c | 2335 tcache_get_from_ind(tsd_t *tsd, unsigned tcache_ind, bool slow, bool is_alloc) { in tcache_get_from_ind() argument 2342 } else if (is_alloc || in tcache_get_from_ind() 2353 assert(is_alloc || tsd_reentrancy_level_get(tsd) == 0 || in tcache_get_from_ind()
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | thread_event.h | 39 bool is_alloc; member 130 return ctx->is_alloc; in te_ctx_is_alloc() 205 te_ctx_get(tsd_t *tsd, te_ctx_t *ctx, bool is_alloc) { in te_ctx_get() argument 206 ctx->is_alloc = is_alloc; in te_ctx_get() 207 if (is_alloc) { in te_ctx_get() 274 te_event_advance(tsd_t *tsd, size_t usize, bool is_alloc) { in te_event_advance() argument 278 te_ctx_get(tsd, &ctx, is_alloc); in te_event_advance()
|