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

Function zap_destroy

freebsd/contrib/openzfs/module/zfs/zap_micro.c:869–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

867}
868
869int
870zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx)
871{
872 /*
873 * dmu_object_free will free the object number and free the
874 * data. Freeing the data will cause our pageout function to be
875 * called, which will destroy our data (zap_leaf_t's and zap_t).
876 */
877
878 return (dmu_object_free(os, zapobj, tx));
879}
880
881void
882zap_evict_sync(void *dbu)

Callers 13

vdev_destroy_unlink_zapFunction · 0.85
livelist_delete_syncFunction · 0.85
spa_sync_config_objectFunction · 0.85
dsl_dir_destroy_syncFunction · 0.85
ddt_zap_destroyFunction · 0.85
dsl_deleg_unset_syncFunction · 0.85
dsl_deleg_destroyFunction · 0.85
dsl_prop_set_sync_implFunction · 0.85

Calls 1

dmu_object_freeFunction · 0.85

Tested by 1

ztest_replay_removeFunction · 0.68