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

Function dbuf_release_bp

freebsd/contrib/openzfs/module/zfs/dbuf.c:1937–1948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1935}
1936
1937void
1938dbuf_release_bp(dmu_buf_impl_t *db)
1939{
1940 objset_t *os __maybe_unused = db->db_objset;
1941
1942 ASSERT(dsl_pool_sync_context(dmu_objset_pool(os)));
1943 ASSERT(arc_released(os->os_phys_buf) ||
1944 list_link_active(&os->os_dsl_dataset->ds_synced_link));
1945 ASSERT(db->db_parent == NULL || arc_released(db->db_parent->db_buf));
1946
1947 (void) arc_release(db->db_buf, db);
1948}
1949
1950/*
1951 * We already have a dirty record for this TXG, and we are being

Callers 2

dbuf_writeFunction · 0.85
free_childrenFunction · 0.85

Calls 5

dsl_pool_sync_contextFunction · 0.85
dmu_objset_poolFunction · 0.85
arc_releasedFunction · 0.85
arc_releaseFunction · 0.85
list_link_activeFunction · 0.50

Tested by

no test coverage detected