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

Function dbuf_create_bonus

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

Source from the content-addressed store, hash-verified

3512}
3513
3514void
3515dbuf_create_bonus(dnode_t *dn)
3516{
3517 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock));
3518
3519 ASSERT(dn->dn_bonus == NULL);
3520 dn->dn_bonus = dbuf_create(dn, 0, DMU_BONUS_BLKID, dn->dn_dbuf, NULL);
3521}
3522
3523int
3524dbuf_spill_set_blksz(dmu_buf_t *db_fake, uint64_t blksz, dmu_tx_t *tx)

Callers 1

dmu_bonus_hold_by_dnodeFunction · 0.85

Calls 2

RW_WRITE_HELDFunction · 0.85
dbuf_createFunction · 0.85

Tested by

no test coverage detected