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

Function dbuf_alloc_arcbuf

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

Source from the content-addressed store, hash-verified

1127}
1128
1129static arc_buf_t *
1130dbuf_alloc_arcbuf(dmu_buf_impl_t *db)
1131{
1132 spa_t *spa = db->db_objset->os_spa;
1133
1134 return (arc_alloc_buf(spa, db, DBUF_GET_BUFC_TYPE(db), db->db.db_size));
1135}
1136
1137/*
1138 * Loan out an arc_buf for read. Return the loaned arc_buf.

Callers 2

dbuf_read_holeFunction · 0.85
dbuf_noreadFunction · 0.85

Calls 1

arc_alloc_bufFunction · 0.85

Tested by

no test coverage detected