Searched refs:is_alloc (Results 1 – 3 of 3) sorted by relevance
| /freebsd/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
|
| /freebsd/contrib/jemalloc/src/ |
| 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()
|