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

Function dnode_rm_spill

freebsd/contrib/openzfs/module/zfs/dnode.c:421–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421void
422dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx)
423{
424 ASSERT3U(zfs_refcount_count(&dn->dn_holds), >=, 1);
425 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock));
426 dnode_setdirty(dn, tx);
427 dn->dn_rm_spillblk[tx->tx_txg & TXG_MASK] = DN_KILL_SPILLBLK;
428 dn->dn_have_spill = B_FALSE;
429}
430
431static void
432dnode_setdblksz(dnode_t *dn, int size)

Callers 3

dnode_reallocateFunction · 0.85
dmu_rm_spillFunction · 0.85
dmu_object_rm_spillFunction · 0.85

Calls 3

zfs_refcount_countFunction · 0.85
RW_WRITE_HELDFunction · 0.85
dnode_setdirtyFunction · 0.85

Tested by

no test coverage detected