| 3366 | #endif |
| 3367 | |
| 3368 | static inline void * |
| 3369 | cache_alloc_item(uma_zone_t zone, uma_cache_t cache, uma_cache_bucket_t bucket, |
| 3370 | void *udata, int flags) |
| 3371 | { |
| 3372 | void *item; |
| 3373 | int size, uz_flags; |
| 3374 | |
| 3375 | item = cache_bucket_pop(cache, bucket); |
| 3376 | size = cache_uz_size(cache); |
| 3377 | uz_flags = cache_uz_flags(cache); |
| 3378 | critical_exit(); |
| 3379 | return (item_ctor(zone, uz_flags, size, udata, flags, item)); |
| 3380 | } |
| 3381 | |
| 3382 | static __noinline void * |
| 3383 | cache_alloc_retry(uma_zone_t zone, uma_cache_t cache, void *udata, int flags) |
no test coverage detected