/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_prop.c | 548 ZFS_KEYSTATUS_NONE, PROP_READONLY, ZFS_TYPE_DATASET, in zfs_prop_init() 567 ZIO_CRYPT_DEFAULT, PROP_ONETIME, ZFS_TYPE_DATASET, in zfs_prop_init() 590 ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, in zfs_prop_init() 596 ZFS_MLSLABEL_DEFAULT, PROP_INHERIT, ZFS_TYPE_DATASET, in zfs_prop_init() 599 "none", PROP_DEFAULT, ZFS_TYPE_DATASET, "<selinux context>", in zfs_prop_init() 602 "none", PROP_DEFAULT, ZFS_TYPE_DATASET, "<selinux fscontext>", in zfs_prop_init() 605 "none", PROP_DEFAULT, ZFS_TYPE_DATASET, "<selinux defcontext>", in zfs_prop_init() 608 "none", PROP_DEFAULT, ZFS_TYPE_DATASET, "<selinux rootcontext>", in zfs_prop_init() 615 PROP_READONLY, ZFS_TYPE_DATASET, "<filesystem | volume>", in zfs_prop_init() 623 ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, "<snapshot>[,...]", in zfs_prop_init() [all …]
|
/freebsd/lib/libbe/ |
H A D | be.c | 473 fs = zfs_open(lbh->lzh, path, ZFS_TYPE_DATASET); in be_destroy_internal() 782 if (zfs_dataset_exists(ldc->lbh->lzh, be_path, ZFS_TYPE_DATASET)) in be_clone_cb() 869 parent_hdl = zfs_open(lbh->lzh, parentname, ZFS_TYPE_DATASET); in be_clone() 992 if (!zfs_name_valid(name, ZFS_TYPE_DATASET)) in be_validate_name() 1032 if (!zfs_dataset_exists(lbh->lzh, full_old, ZFS_TYPE_DATASET)) in be_rename() 1035 if (zfs_dataset_exists(lbh->lzh, full_new, ZFS_TYPE_DATASET)) in be_rename() 1076 if ((zfs = zfs_open(lbh->lzh, buf, ZFS_TYPE_DATASET)) == NULL) in be_export() 1142 if ((err = zfs_create(lbh->lzh, active, ZFS_TYPE_DATASET, in be_create_child_noent() 1160 if ((zfs = zfs_open(lbh->lzh, active, ZFS_TYPE_DATASET)) == NULL) in be_create_child_noent() 1253 zfs_create(lbh->lzh, buf, ZFS_TYPE_DATASET, props); in be_add_child() [all …]
|
H A D | be_info.c | 309 if (!zfs_dataset_exists(lbh->lzh, buf, ZFS_TYPE_DATASET)) in be_exists()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_sendrecv.c | 1493 zhp = zfs_open(rzhp->zfs_hdl, fsname, ZFS_TYPE_DATASET); in dump_filesystems() 1860 if (zfs_dataset_exists(hdl, toname, ZFS_TYPE_DATASET)) { in zfs_send_resume_impl_cb_impl() 1873 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in zfs_send_resume_impl_cb_impl() 2582 return (zfs_open(hdl, dirname, ZFS_TYPE_DATASET)); in name_to_dir_handle() 2623 ZFS_TYPE_DATASET); in snapshot_is_before() 2670 ZFS_TYPE_DATASET); in zfs_send_one_cb_impl() 3005 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in recv_rename() 3090 zhp = zfs_open(hdl, fsname, ZFS_TYPE_DATASET); in recv_promote() 3129 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in recv_destroy() 3414 zhp = zfs_open(hdl, fsname, ZFS_TYPE_DATASET); in recv_fix_encryption_hierarchy() [all …]
|
H A D | libzfs_mount.c | 436 ZFS_TYPE_DATASET); in zfs_mount_at() 1289 ZFS_TYPE_DATASET)) == NULL) in zpool_enable_datasets()
|
H A D | libzfs_util.c | 1818 if ((type & ZFS_TYPE_DATASET) && *ivalp == 0 && !isnone && in zprop_parse_value() 1839 if ((type & ZFS_TYPE_DATASET) && isnone && in zprop_parse_value() 1947 ((type == ZFS_TYPE_DATASET) && !zfs_prop_user(propname) && in addlist()
|
H A D | libzfs_changelist.c | 764 ZFS_TYPE_DATASET)) == NULL) { in changelist_gather()
|
H A D | libzfs_dataset.c | 3760 if (zfs_dataset_exists(hdl, path, ZFS_TYPE_DATASET)) { in zfs_create() 4606 ZFS_TYPE_DATASET); in zfs_rename() 4733 if (zprop_expand_list(hdl, plp, ZFS_TYPE_DATASET) != 0) in zfs_expand_proplist()
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 570 ZFS_TYPE_DATASET); in usage() 907 ret = zfs_mount_and_share(g_zfs, argv[1], ZFS_TYPE_DATASET); in zfs_do_clone() 1312 ret = zfs_mount_and_share(g_zfs, argv[0], ZFS_TYPE_DATASET); in zfs_do_create() 1653 zfs_type_t type = ZFS_TYPE_DATASET; in zfs_do_destroy() 2046 ZFS_TYPE_DATASET, B_FALSE)) { in get_callback() 2148 int types = ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK; in zfs_do_get() 2163 cb.cb_type = ZFS_TYPE_DATASET; in zfs_do_get() 2306 ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK in zfs_do_get() 2355 if (zprop_get_list(g_zfs, fields, &cb.cb_proplist, ZFS_TYPE_DATASET) in zfs_do_get() 2522 ret = zfs_for_each(argc, argv, flags, ZFS_TYPE_DATASET, in zfs_do_inherit() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | translate.c | 138 if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET)) == NULL) in object_from_path()
|
H A D | zinject.c | 1448 ZFS_TYPE_DATASET)) == NULL) { in main()
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 78 #define ZFS_TYPE_DATASET \ macro
|