Home
last modified time | relevance | path

Searched refs:in_use (Results 1 – 2 of 2) sorted by relevance

/picolibc-latest/test/
Dmalloc_stress.c130 check_malloc(size_t in_use) in check_malloc() argument
134 (void) in_use; in check_malloc()
137 if (info.arena < info.fordblks + in_use) { in check_malloc()
141 if (in_use == 0 && info.ordblks != 1) { in check_malloc()
145 if (info.uordblks < in_use) { in check_malloc()
146 printf("expected at least %zu in use (%zu)\n", in_use, info.uordblks); in check_malloc()
149 if (in_use == 0 && info.uordblks != 0) { in check_malloc()
170 size_t in_use; in main() local
173 in_use = 0; in main()
184 in_use = block_size[0]; in main()
[all …]
Dlock-valid.c60 static uint8_t in_use[MAX_LOCKS]; variable
68 if (!in_use[lock_id]) { in __retarget_lock_init()
69 in_use[lock_id] = 1; in __retarget_lock_init()
89 in_use[lock_id] = 0; in __retarget_lock_close()