/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_prop.c | 414 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, in zfs_prop_init() 418 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, in zfs_prop_init() 422 ZIO_CHECKSUM_DEFAULT, PROP_INHERIT, ZFS_TYPE_FILESYSTEM | in zfs_prop_init() 428 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, in zfs_prop_init() 434 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, in zfs_prop_init() 440 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, in zfs_prop_init() 443 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME, in zfs_prop_init() 446 PROP_INHERIT, ZFS_TYPE_FILESYSTEM, in zfs_prop_init() 456 PROP_INHERIT, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT, in zfs_prop_init() 459 ZFS_ACL_RESTRICTED, PROP_INHERIT, ZFS_TYPE_FILESYSTEM, in zfs_prop_init() [all …]
|
H A D | zprop_common.c | 448 type = ZFS_TYPE_FILESYSTEM; in zprop_width()
|
/freebsd/lib/libbe/ |
H A D | be_access.c | 201 ZFS_TYPE_FILESYSTEM)) == NULL) in be_mounted_at() 212 ZFS_TYPE_FILESYSTEM)) == NULL) { in be_mounted_at() 263 if ((zhdl = zfs_open(lbh->lzh, be, ZFS_TYPE_FILESYSTEM)) == NULL) in be_mount() 300 if ((root_hdl = zfs_open(lbh->lzh, be, ZFS_TYPE_FILESYSTEM)) == NULL) in be_unmount()
|
H A D | be_info.c | 126 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT)) == NULL) in be_get_dataset_props() 146 ZFS_TYPE_FILESYSTEM)) == NULL) in be_get_dataset_snapshots() 252 ZFS_TYPE_FILESYSTEM)) == NULL) in be_proplist_update()
|
H A D | be.c | 96 zfs = zfs_path_to_zhandle(lbh->lzh, "/", ZFS_TYPE_FILESYSTEM); in be_locate_rootfs() 347 zfs_open(bdd->lbh->lzh, entry->name, ZFS_TYPE_FILESYSTEM) in be_promote_dependent_clones() 431 if (!zfs_dataset_exists(lbh->lzh, path, ZFS_TYPE_FILESYSTEM)) in be_destroy_internal() 438 fs = zfs_open(lbh->lzh, path, ZFS_TYPE_FILESYSTEM); in be_destroy_internal() 800 ZFS_TYPE_FILESYSTEM) == ZPROP_INVAL) in be_clone_cb() 1039 ZFS_TYPE_FILESYSTEM)) == NULL) in be_rename() 1110 if ((zfs = zfs_open(lbh->lzh, buf, ZFS_TYPE_FILESYSTEM)) == NULL) in be_import() 1348 zhp = zfs_open(lbh->lzh, be_path, ZFS_TYPE_FILESYSTEM); in be_activate()
|
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/ |
H A D | pam_zfs_key.c | 317 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in is_key_loaded() 331 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in change_key() 475 if (zhp->zfs_type != ZFS_TYPE_FILESYSTEM) { in mount_dataset() 566 if (zhp->zfs_type != ZFS_TYPE_FILESYSTEM) { in umount_dataset() 596 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in decrypt_mount() 639 zfs_handle_t *ds = zfs_open(g_zfs, ds_name, ZFS_TYPE_FILESYSTEM); in unmount_unload() 684 if ((type & ZFS_TYPE_FILESYSTEM) == 0) { in find_dsname_by_prop_value() 716 config->homes_prefix, ZFS_TYPE_FILESYSTEM); in zfs_key_config_get_dataset()
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 877 if (parents && zfs_name_valid(argv[1], ZFS_TYPE_FILESYSTEM | in zfs_do_clone() 884 if (zfs_dataset_exists(g_zfs, argv[1], ZFS_TYPE_FILESYSTEM | in zfs_do_clone() 1051 zfs_type_t type = ZFS_TYPE_FILESYSTEM; in zfs_do_create() 1141 if (nomount && type != ZFS_TYPE_FILESYSTEM) { in zfs_do_create() 1453 zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) { in destroy_callback() 1712 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in zfs_do_destroy() 1826 zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) { in zfs_do_destroy() 1934 case ZFS_TYPE_FILESYSTEM: in fill_dataset_info() 2299 ZFS_TYPE_FILESYSTEM, in zfs_do_get() 2300 ZFS_TYPE_FILESYSTEM, in zfs_do_get() [all …]
|
H A D | zfs_iter.c | 145 (ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME))) && in zfs_callback() 146 zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) { in zfs_callback() 511 argtype |= ZFS_TYPE_FILESYSTEM; in zfs_for_each()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_util_os.c | 262 case ZFS_TYPE_FILESYSTEM: in zfs_userns() 265 assert(zhp->zfs_type == ZFS_TYPE_FILESYSTEM); in zfs_userns()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | libzfs_compat.c | 318 case ZFS_TYPE_FILESYSTEM: in zfs_jail() 322 assert(zhp->zfs_type == ZFS_TYPE_FILESYSTEM); in zfs_jail()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | send_doall.c | 73 zhp = zfs_open(zhdl, fsname, ZFS_TYPE_FILESYSTEM); in main()
|
H A D | badsend.c | 95 zhp = zfs_open(zhdl, fsname, ZFS_TYPE_FILESYSTEM); in main()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_mount.c | 598 if (mountpoint != NULL || ((zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) && in zfs_unmount() 814 if (mountpoint != NULL || ((zfs_get_type(zhp) == ZFS_TYPE_FILESYSTEM) && in zfs_unshare() 915 if (!(zfs_get_type(zhp) & ZFS_TYPE_FILESYSTEM)) { in zfs_iter_cb() 995 gota = (zfs_get_type(za) == ZFS_TYPE_FILESYSTEM); in mountpoint_cmp() 1000 gotb = (zfs_get_type(zb) == ZFS_TYPE_FILESYSTEM); in mountpoint_cmp()
|
H A D | libzfs_iter.c | 55 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in zfs_iter_clones() 120 if (zhp->zfs_type != ZFS_TYPE_FILESYSTEM) in zfs_iter_filesystems_v2() 638 ZFS_TYPE_FILESYSTEM)) == NULL) in zfs_iter_mounted()
|
H A D | libzfs_dataset.c | 86 case ZFS_TYPE_FILESYSTEM: in zfs_type_to_name() 452 zhp->zfs_head_type = ZFS_TYPE_FILESYSTEM; in make_dataset_handle_common() 468 zhp->zfs_type = ZFS_TYPE_FILESYSTEM; in make_dataset_handle_common() 558 zhp->zfs_type = ZFS_TYPE_FILESYSTEM; in make_dataset_simple_handle_zc() 2351 if (((zhp->zfs_type == ZFS_TYPE_FILESYSTEM) || in get_numeric_property() 2543 ZFS_TYPE_FILESYSTEM); in zfs_get_clones_nvl() 2881 case ZFS_TYPE_FILESYSTEM: in zfs_prop_get() 3567 if (zfs_get_type(zhp) != ZFS_TYPE_FILESYSTEM) { in check_parents() 3621 h = zfs_open(hdl, target, ZFS_TYPE_FILESYSTEM); in create_parents() 3624 h = zfs_open(hdl, target, ZFS_TYPE_FILESYSTEM); in create_parents() [all …]
|
H A D | libzfs_sendrecv.c | 693 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in gather_nvlist() 2216 if (zhp->zfs_type == ZFS_TYPE_FILESYSTEM && zfs_prop_get_int(zhp, in send_prelim_records() 2595 (later->zfs_type == ZFS_TYPE_FILESYSTEM || in snapshot_is_before() 2957 ozhp = zfs_open(zhp->zfs_hdl, origin, ZFS_TYPE_FILESYSTEM); in recv_open_grand_origin() 3952 ZFS_TYPE_FILESYSTEM); in zfs_receive_package() 4161 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in recv_ecksum_set_aux() 4803 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME)) == NULL) { in zfs_receive_one() 4877 if (!flags->dryrun && zhp->zfs_type == ZFS_TYPE_FILESYSTEM && in zfs_receive_one() 4957 if (zfs_get_type(zhp) != ZFS_TYPE_FILESYSTEM) { in zfs_receive_one() 4994 type = ZFS_TYPE_FILESYSTEM; in zfs_receive_one() [all …]
|
H A D | libzfs_diff.c | 618 zhp = zfs_open(hdl, di->ds, ZFS_TYPE_FILESYSTEM); in get_snapshot_names() 630 zhp = zfs_open(hdl, origin, ZFS_TYPE_FILESYSTEM); in get_snapshot_names()
|
H A D | libzfs_crypto.c | 1249 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in zfs_crypto_attempt_load_keys()
|
H A D | libzfs_pool.c | 511 if (!zfs_name_valid(bootfs, ZFS_TYPE_FILESYSTEM|ZFS_TYPE_SNAPSHOT)) in bootfs_name_valid() 1545 if ((zc_fsprops = zfs_valid_proplist(hdl, ZFS_TYPE_FILESYSTEM, in zpool_create() 1695 (zfp = zfs_open(hdl, zhp->zpool_name, ZFS_TYPE_FILESYSTEM)) == NULL) in zpool_destroy()
|
H A D | libzfs_util.c | 1181 return (zfs_open(hdl, entry.mnt_special, ZFS_TYPE_FILESYSTEM)); in zfs_path_to_zhandle()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_sysfs.c | 260 {ZFS_TYPE_FILESYSTEM, "filesystem"}, 681 ZFS_TYPE_FILESYSTEM); in zfs_sysfs_init()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_get.c | 61 *type = ZFS_TYPE_FILESYSTEM; in get_objset_type() 88 case ZFS_TYPE_FILESYSTEM: in get_objset_type_name()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | mount_zfs.c | 266 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT)) == NULL) { in main()
|
/freebsd/sys/contrib/openzfs/include/sys/fs/ |
H A D | zfs.h | 56 ZFS_TYPE_FILESYSTEM = (1 << 0), enumerator 79 (ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME | ZFS_TYPE_SNAPSHOT)
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 1340 if (zfs_prop_valid_for_type(fsprop, ZFS_TYPE_FILESYSTEM, in add_prop_list() 2299 tname ? tname : poolname, ZFS_TYPE_FILESYSTEM); in zpool_do_create()
|