Lines Matching full:validate
21 #define VALIDATE(cond) do { if (!(cond)) { return false; } } while (0) macro
25 VALIDATE(c >= right_chunk(h, 0)); in in_bounds()
26 VALIDATE(c < h->end_chunk); in in_bounds()
27 VALIDATE(chunk_size(h, c) < h->end_chunk); in in_bounds()
33 VALIDATE(chunk_size(h, c) > 0); in valid_chunk()
34 VALIDATE((c + chunk_size(h, c)) <= h->end_chunk); in valid_chunk()
35 VALIDATE(in_bounds(h, c)); in valid_chunk()
36 VALIDATE(right_chunk(h, left_chunk(h, c)) == c); in valid_chunk()
37 VALIDATE(left_chunk(h, right_chunk(h, c)) == c); in valid_chunk()
39 VALIDATE(!solo_free_header(h, c)); in valid_chunk()
41 VALIDATE(chunk_used(h, left_chunk(h, c))); in valid_chunk()
42 VALIDATE(chunk_used(h, right_chunk(h, c))); in valid_chunk()
44 VALIDATE(in_bounds(h, prev_free_chunk(h, c))); in valid_chunk()
45 VALIDATE(in_bounds(h, next_free_chunk(h, c))); in valid_chunk()
51 /* Validate multiple state dimensions for the bucket "next" pointer
90 * Validate sys_heap_runtime_stats_get API. in sys_heap_validate()