Searched refs:ds_type (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _libzfs_core.py | 89 def lzc_create(name, ds_type='zfs', props=None, key=None): argument 119 if ds_type == 'zfs': 120 ds_type = _lib.DMU_OST_ZFS 121 elif ds_type == 'zvol': 122 ds_type = _lib.DMU_OST_ZVOL 124 raise exceptions.DatasetTypeInvalid(ds_type) 126 ret = _lib.lzc_create(name, ds_type, nvlist, key, len(key)) 127 errors.lzc_create_translate_error(ret, name, ds_type, props)
|
| H A D | _error_translation.py | 50 def lzc_create_translate_error(ret, name, ds_type, props): argument
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zcp_get.c | 233 zfs_type_t ds_type; in get_special_prop() local 235 (void) get_objset_type(ds, &ds_type); in get_special_prop() 309 ASSERT(ds_type != ZFS_TYPE_VOLUME); in get_special_prop() 363 ASSERT(ds_type == ZFS_TYPE_VOLUME || in get_special_prop() 364 ds_type == ZFS_TYPE_SNAPSHOT); in get_special_prop() 376 ASSERT(ds_type == ZFS_TYPE_VOLUME); in get_special_prop()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/ |
| H A D | zfs_get_004_pos.ksh | 176 ds_type=`zfs get -H -o value type $ds` 177 case $ds_type in
|
| /f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
| H A D | test_libzfs_core.py | 339 lzc.lzc_create(name, ds_type='zvol', props=props) 358 lzc.lzc_create(name, ds_type='wrong') 364 lzc.lzc_create(name, ds_type='zvol', props=props) 372 lzc.lzc_create(name, ds_type='zvol', props=props) 374 lzc.lzc_create(name + b'/zvol', ds_type='zvol', props=props) 2636 lzc.lzc_create(zvol, ds_type='zvol', props=props) 2651 lzc.lzc_create(zvol, ds_type='zvol', props=props) 2665 lzc.lzc_create(zvol, ds_type='zvol', props=props) 3927 lzc.lzc_create(zvol, ds_type='zvol', props=props)
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_dataset.c | 3483 int ds_type = zhp->zfs_type; in zfs_dataset_exists() local 3486 if (types & ds_type) in zfs_dataset_exists()
|