| 772 | } |
| 773 | |
| 774 | static void |
| 775 | cache_assert_bucket_unlocked(struct namecache *ncp) |
| 776 | { |
| 777 | struct mtx *blp; |
| 778 | |
| 779 | blp = NCP2BUCKETLOCK(ncp); |
| 780 | mtx_assert(blp, MA_NOTOWNED); |
| 781 | } |
| 782 | #else |
| 783 | #define cache_assert_bucket_locked(x) do { } while (0) |
| 784 | #define cache_assert_bucket_unlocked(x) do { } while (0) |
no test coverage detected