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

Function dsl_deadlist_alloc

freebsd/contrib/openzfs/module/zfs/dsl_deadlist.c:370–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370uint64_t
371dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx)
372{
373 if (spa_version(dmu_objset_spa(os)) < SPA_VERSION_DEADLISTS)
374 return (bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx));
375 return (zap_create(os, DMU_OT_DEADLIST, DMU_OT_DEADLIST_HDR,
376 sizeof (dsl_deadlist_phys_t), tx));
377}
378
379void
380dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx)

Callers 3

dsl_dataset_create_syncFunction · 0.85
dsl_deadlist_cloneFunction · 0.85

Calls 4

spa_versionFunction · 0.85
dmu_objset_spaFunction · 0.85
bpobj_allocFunction · 0.85
zap_createFunction · 0.85

Tested by

no test coverage detected