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

Function dnode_try_claim

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

* Test whether we can create a dnode at the specified location. */

Source from the content-addressed store, hash-verified

1646 * Test whether we can create a dnode at the specified location.
1647 */
1648int
1649dnode_try_claim(objset_t *os, uint64_t object, int slots)
1650{
1651 return (dnode_hold_impl(os, object, DNODE_MUST_BE_FREE | DNODE_DRY_RUN,
1652 slots, NULL, NULL));
1653}
1654
1655void
1656dnode_setdirty(dnode_t *dn, dmu_tx_t *tx)

Callers 2

zfs_replay_create_aclFunction · 0.85
zfs_replay_createFunction · 0.85

Calls 1

dnode_hold_implFunction · 0.85

Tested by

no test coverage detected