Home
last modified time | relevance | path

Searched refs:zfs_prop_get_int (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c272 if (zfs_prop_get_int(zhp, ZFS_PROP_ZONED) && in zfs_is_mountable_internal()
301 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_OFF) in zfs_is_mountable()
307 if (zfs_prop_get_int(zhp, ZFS_PROP_REDACTED) && !(flags & MS_FORCE)) in zfs_is_mountable()
457 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF) { in zfs_mount_at()
459 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_mount_at()
567 (u_longlong_t)zfs_prop_get_int(zhp, in zfs_mount_at()
681 zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF) { in zfs_unmount()
690 if (encroot && zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS) == in zfs_unmount()
778 if (zfs_prop_get_int(zhp, ZFS_PROP_ZONED)) in zfs_share()
963 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_NOAUTO) { in zfs_iter_cb()
[all …]
H A Dlibzfs_crypto.c982 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) == ZIO_CRYPT_OFF) { in zfs_crypto_get_encryption_root()
1046 pcrypt = zfs_prop_get_int(pzhp, ZFS_PROP_ENCRYPTION); in zfs_crypto_create()
1214 uint64_t keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in load_keys_cb()
1306 keyformat = zfs_prop_get_int(zhp, ZFS_PROP_KEYFORMAT); in zfs_crypto_load_key()
1353 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_crypto_load_key()
1364 salt = zfs_prop_get_int(zhp, ZFS_PROP_PBKDF2_SALT); in zfs_crypto_load_key()
1365 iters = zfs_prop_get_int(zhp, ZFS_PROP_PBKDF2_ITERS); in zfs_crypto_load_key()
1474 keyformat = zfs_prop_get_int(zhp, ZFS_PROP_KEYFORMAT); in zfs_crypto_unload_key()
1501 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_crypto_unload_key()
1590 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist()
[all …]
H A Dlibzfs_changelist.c246 needs_key = (zfs_prop_get_int(cn->cn_handle, in changelist_postfix()
255 (zfs_prop_get_int(cn->cn_handle, in changelist_postfix()
451 cn->cn_zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in changelist_add_mounted()
519 cn->cn_zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in change_one()
729 cn->cn_zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in changelist_gather()
749 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) != in changelist_gather()
H A Dlibzfs_dataset.c1042 version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in zfs_valid_proplist()
1278 zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION); in zfs_valid_proplist()
1327 uint64_t blocksize = zfs_prop_get_int(zhp, in zfs_valid_proplist()
1362 int64_t crypt = zfs_prop_get_int(zhp, in zfs_valid_proplist()
1433 old_volsize = zfs_prop_get_int(zhp, ZFS_PROP_VOLSIZE); in zfs_add_synthetic_resv()
1436 old_reservation = zfs_prop_get_int(zhp, resv_prop); in zfs_add_synthetic_resv()
1440 zfs_prop_get_int(zhp, ZFS_PROP_VOLBLOCKSIZE)); in zfs_add_synthetic_resv()
1501 zfs_prop_get_int(zhp, ZFS_PROP_VOLBLOCKSIZE)); in zfs_fix_auto_resv()
1505 volsize = zfs_prop_get_int(zhp, ZFS_PROP_VOLSIZE); in zfs_fix_auto_resv()
1585 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), zhp, zhp->zpool_hdl, in zfs_prop_set_list_flags()
[all …]
H A Dlibzfs_sendrecv.c463 guid = zfs_prop_get_int(zhp, ZFS_PROP_GUID); in get_snap_guid()
487 txg = zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG); in get_snap_txg()
584 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF) { in send_iterate_fs()
848 zc.zc_sendobj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_ioctl()
1181 sdd->prevsnap_obj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_snapshot()
1300 sdd->prevsnap_obj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_snapshot()
2228 if (zhp->zfs_type == ZFS_TYPE_FILESYSTEM && zfs_prop_get_int(zhp, in send_prelim_records()
2611 UINT64_MAX : zfs_prop_get_int(later, ZFS_PROP_CREATETXG)); in snapshot_is_before()
2612 uint64_t earlier_txg = zfs_prop_get_int(earlier, ZFS_PROP_CREATETXG); in snapshot_is_before()
2638 uint64_t origin_txg = zfs_prop_get_int(origin, ZFS_PROP_CREATETXG); in snapshot_is_before()
[all …]
H A Dlibzfs_iter.c323 lcreate = zfs_prop_get_int(l, ZFS_PROP_CREATETXG); in zfs_snapshot_compare()
324 rcreate = zfs_prop_get_int(r, ZFS_PROP_CREATETXG); in zfs_snapshot_compare()
H A Dlibzfs.abi446 …<elf-symbol name='zfs_prop_get_int' type='func-type' binding='global-binding' visibility='default-…
2740 …l name='zfs_prop_get_int' mangled-name='zfs_prop_get_int' visibility='default' binding='global' si…
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_iter.c304 lcreate = zfs_prop_get_int(l, ZFS_PROP_CREATETXG); in zfs_compare()
305 rcreate = zfs_prop_get_int(r, ZFS_PROP_CREATETXG); in zfs_compare()
402 lnum = zfs_prop_get_int(l, psc->sc_prop); in zfs_sort()
404 rnum = zfs_prop_get_int(r, psc->sc_prop); in zfs_sort()
H A Dzfs_main.c820 zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_ON) { in zfs_mount_and_share()
2038 fnvlist_add_uint64(list, "createtxg", zfs_prop_get_int(zhp, in fill_dataset_info()
2636 int version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in upgrade_list_callback()
2672 int version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in upgrade_set_callback()
3705 uint64_t used = zfs_prop_get_int(zhp, ZFS_PROP_USED); in zfs_list_avail_color()
3706 uint64_t avail = zfs_prop_get_int(zhp, ZFS_PROP_AVAILABLE); in zfs_list_avail_color()
4394 if (zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG) > cbp->cb_create) { in rollback_check()
4500 cb.cb_create = zfs_prop_get_int(snap, ZFS_PROP_CREATETXG); in zfs_do_rollback()
4650 zfs_prop_get_int(zhp, ZFS_PROP_INCONSISTENT) != 0) { in zfs_snapshot_cb()
5317 if (!zfs_prop_get_int(zhp, ZFS_PROP_INCONSISTENT) || in zfs_do_receive()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dlibzfs_mnttab_cache_check.c88 uint64_t mounted = zfs_prop_get_int(zhp, ZFS_PROP_MOUNTED); in main()
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c298 salt = zfs_prop_get_int(ds, ZFS_PROP_PBKDF2_SALT); in prepare_passphrase()
299 iters = zfs_prop_get_int(ds, ZFS_PROP_PBKDF2_ITERS); in prepare_passphrase()
322 int keystatus = zfs_prop_get_int(ds, ZFS_PROP_KEYSTATUS); in is_key_loaded()
487 if (zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS) == in mount_dataset()
496 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) != ZFS_CANMOUNT_ON) { in mount_dataset()
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.c141 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
/freebsd/sys/contrib/openzfs/cmd/
H A Dmount_zfs.c289 zfs_version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in main()
/freebsd/lib/libbe/
H A Dbe_access.c79 if (zfs_prop_get_int(zfs_hdl, ZFS_PROP_CANMOUNT) == in be_mount_iter()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h587 _LIBZFS_H uint64_t zfs_prop_get_int(zfs_handle_t *, zfs_prop_t);
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c11431 int zfs_version = (int)zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in check_unsupp_fs()