Home
last modified time | relevance | path

Searched refs:ZFS_TYPE_FILESYSTEM (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_prop.c414 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 Dzprop_common.c448 type = ZFS_TYPE_FILESYSTEM; in zprop_width()
/freebsd/lib/libbe/
H A Dbe_access.c201 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 Dbe_info.c126 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 Dbe.c96 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 Dpam_zfs_key.c317 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 Dzfs_main.c877 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 Dzfs_iter.c145 (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 Dlibzfs_util_os.c262 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 Dlibzfs_compat.c318 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 Dsend_doall.c73 zhp = zfs_open(zhdl, fsname, ZFS_TYPE_FILESYSTEM); in main()
H A Dbadsend.c95 zhp = zfs_open(zhdl, fsname, ZFS_TYPE_FILESYSTEM); in main()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c598 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 Dlibzfs_iter.c55 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 Dlibzfs_dataset.c86 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 Dlibzfs_sendrecv.c693 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 Dlibzfs_diff.c618 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 Dlibzfs_crypto.c1249 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in zfs_crypto_attempt_load_keys()
H A Dlibzfs_pool.c511 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 Dlibzfs_util.c1181 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 Dzfs_sysfs.c260 {ZFS_TYPE_FILESYSTEM, "filesystem"},
681 ZFS_TYPE_FILESYSTEM); in zfs_sysfs_init()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_get.c61 *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 Dmount_zfs.c266 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_SNAPSHOT)) == NULL) { in main()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h56 ZFS_TYPE_FILESYSTEM = (1 << 0), enumerator
79 (ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME | ZFS_TYPE_SNAPSHOT)
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c1340 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()

12