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

Function dmu_objset_pool

freebsd/contrib/openzfs/module/zfs/dmu_objset.c:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119dsl_pool_t *
120dmu_objset_pool(objset_t *os)
121{
122 dsl_dataset_t *ds;
123
124 if ((ds = os->os_dsl_dataset) != NULL && ds->ds_dir)
125 return (ds->ds_dir->dd_pool);
126 else
127 return (spa_get_dsl(os->os_spa));
128}
129
130dsl_dataset_t *
131dmu_objset_ds(objset_t *os)

Callers 15

zfs_zrele_asyncFunction · 0.85
zfs_rename_checkFunction · 0.85
zfs_syncFunction · 0.85
zfs_register_callbacksFunction · 0.85
zfsvfs_teardownFunction · 0.85
zfsctl_snapdir_readdirFunction · 0.85
zfsctl_snapdir_getattrFunction · 0.85
zfsctl_umount_snapshotsFunction · 0.85
zfsctl_snapshot_unmountFunction · 0.85
zpl_mount_implFunction · 0.85
zpl_snapdir_iterateFunction · 0.85
zfs_zrele_asyncFunction · 0.85

Calls 1

spa_get_dslFunction · 0.85

Tested by 3

ztest_preallocFunction · 0.68
ztest_runFunction · 0.68