| 488 | } |
| 489 | |
| 490 | static void check_vector_add(struct attr_check *c) |
| 491 | { |
| 492 | vector_lock(); |
| 493 | |
| 494 | ALLOC_GROW(check_vector.checks, |
| 495 | check_vector.nr + 1, |
| 496 | check_vector.alloc); |
| 497 | check_vector.checks[check_vector.nr++] = c; |
| 498 | |
| 499 | vector_unlock(); |
| 500 | } |
| 501 | |
| 502 | static void check_vector_remove(struct attr_check *check) |
| 503 | { |
no test coverage detected