* Swap two cache buckets. */
| 866 | * Swap two cache buckets. |
| 867 | */ |
| 868 | static inline void |
| 869 | cache_bucket_swap(uma_cache_bucket_t b1, uma_cache_bucket_t b2) |
| 870 | { |
| 871 | struct uma_cache_bucket b3; |
| 872 | |
| 873 | CRITICAL_ASSERT(curthread); |
| 874 | |
| 875 | cache_bucket_copy(&b3, b1); |
| 876 | cache_bucket_copy(b1, b2); |
| 877 | cache_bucket_copy(b2, &b3); |
| 878 | } |
| 879 | |
| 880 | /* |
| 881 | * Attempt to fetch a bucket from a zone on behalf of the current cpu cache. |
no test coverage detected