MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cache_bucket_copy

Function cache_bucket_copy

freebsd/vm/uma_core.c:856–863  ·  view source on GitHub ↗

* Copy and preserve ucb_spare. */

Source from the content-addressed store, hash-verified

854 * Copy and preserve ucb_spare.
855 */
856static inline void
857cache_bucket_copy(uma_cache_bucket_t b1, uma_cache_bucket_t b2)
858{
859
860 b1->ucb_bucket = b2->ucb_bucket;
861 b1->ucb_entries = b2->ucb_entries;
862 b1->ucb_cnt = b2->ucb_cnt;
863}
864
865/*
866 * Swap two cache buckets.

Callers 1

cache_bucket_swapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected