Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c833 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) == ZIO_CRYPT_OFF) { in zfs_crypto_get_encryption_root()
893 pcrypt = zfs_prop_get_int(pzhp, ZFS_PROP_ENCRYPTION); in zfs_crypto_create()
1055 uint64_t keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in load_keys_cb()
1146 keyformat = zfs_prop_get_int(zhp, ZFS_PROP_KEYFORMAT); in zfs_crypto_load_key()
1193 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_crypto_load_key()
1204 salt = zfs_prop_get_int(zhp, ZFS_PROP_PBKDF2_SALT); in zfs_crypto_load_key()
1205 iters = zfs_prop_get_int(zhp, ZFS_PROP_PBKDF2_ITERS); in zfs_crypto_load_key()
1306 keyformat = zfs_prop_get_int(zhp, ZFS_PROP_KEYFORMAT); in zfs_crypto_unload_key()
1333 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_crypto_unload_key()
1401 zfs_prop_get_int(zhp, ZFS_PROP_ZONED), NULL, zhp->zpool_hdl, in zfs_crypto_verify_rewrap_nvlist()
[all …]
H A Dlibzfs_mount.c324 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_OFF) in zfs_is_mountable()
327 if (zfs_prop_get_int(zhp, ZFS_PROP_ZONED) && in zfs_is_mountable()
372 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF) { in zfs_mount()
374 keystatus = zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS); in zfs_mount()
446 (u_longlong_t)zfs_prop_get_int(zhp, in zfs_mount()
1169 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_NOAUTO) { in zfs_iter_cb()
1174 if (zfs_prop_get_int(zhp, ZFS_PROP_KEYSTATUS) == in zfs_iter_cb()
1184 if (zfs_prop_get_int(zhp, ZFS_PROP_INCONSISTENT) && in zfs_iter_cb()
1237 zoneda = zfs_prop_get_int(za, ZFS_PROP_ZONED); in mountpoint_cmp()
1238 zonedb = zfs_prop_get_int(zb, ZFS_PROP_ZONED); in mountpoint_cmp()
[all …]
H A Dlibzfs_changelist.c257 needs_key = (zfs_prop_get_int(cn->cn_handle, in changelist_postfix()
264 (zfs_prop_get_int(cn->cn_handle, in changelist_postfix()
479 cn->cn_zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in change_one()
692 cn->cn_zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in changelist_gather()
720 if (zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) != in changelist_gather()
H A Dlibzfs_dataset.c1145 version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in zfs_valid_proplist()
1423 zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION); in zfs_valid_proplist()
1472 uint64_t volsize = zfs_prop_get_int(zhp, in zfs_valid_proplist()
1474 uint64_t blocksize = zfs_prop_get_int(zhp, in zfs_valid_proplist()
1531 int64_t crypt = zfs_prop_get_int(zhp, in zfs_valid_proplist()
1593 old_volsize = zfs_prop_get_int(zhp, ZFS_PROP_VOLSIZE); in zfs_add_synthetic_resv()
1596 old_reservation = zfs_prop_get_int(zhp, resv_prop); in zfs_add_synthetic_resv()
1600 zfs_prop_get_int(zhp, ZFS_PROP_VOLBLOCKSIZE)); in zfs_add_synthetic_resv()
1661 zfs_prop_get_int(zhp, ZFS_PROP_VOLBLOCKSIZE)); in zfs_fix_auto_resv()
1665 volsize = zfs_prop_get_int(zhp, ZFS_PROP_VOLSIZE); in zfs_fix_auto_resv()
[all …]
H A Dlibzfs_sendrecv.c800 txg = zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG); in get_snap_txg()
884 if (zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF) { in send_iterate_fs()
1044 zc.zc_sendobj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in estimate_ioctl()
1117 zc.zc_sendobj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_ioctl()
1312 sdd->prevsnap_obj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_snapshot()
1416 sdd->prevsnap_obj = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in dump_snapshot()
1874 version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in zfs_send()
1889 zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF && in zfs_send()
1890 zfs_prop_get_int(zhp, ZFS_PROP_DEDUP) == ZIO_CHECKSUM_OFF)) { in zfs_send()
2549 if (zfs_prop_get_int(zhp, ZFS_PROP_GUID) == gtnd->guid) { in guid_to_name_cb()
[all …]
H A Dlibzfs_iter.c274 lcreate = zfs_prop_get_int(l, ZFS_PROP_CREATETXG); in zfs_snapshot_compare()
275 rcreate = zfs_prop_get_int(r, ZFS_PROP_CREATETXG); in zfs_snapshot_compare()
H A Dmapfile-vers151 zfs_prop_get_int;
H A Dlibzfs.h497 extern uint64_t zfs_prop_get_int(zfs_handle_t *, zfs_prop_t);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c351 zfs_prop_get_int(zhp, ZFS_PROP_CREATION); in smbd_vss_iterate_get_uint64_date()
372 time = (time_t)zfs_prop_get_int(zhp, ZFS_PROP_CREATION); in smbd_vss_iterate_map_gmttoken()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c1045 be_node->be_space_used = zfs_prop_get_int(zhp, ZFS_PROP_USED); in be_get_node_data()
1108 be_node->be_node_creation = (time_t)zfs_prop_get_int(zhp, in be_get_node_data()
1216 dataset->be_ds_space_used = zfs_prop_get_int(zfshp, ZFS_PROP_USED); in be_get_ds_data()
1234 (time_t)zfs_prop_get_int(zfshp, ZFS_PROP_CREATION); in be_get_ds_data()
1310 snapshot->be_snapshot_creation = (time_t)zfs_prop_get_int(zfshp, in be_get_ss_data()
1329 snapshot->be_snapshot_space_used = zfs_prop_get_int(zfshp, in be_get_ss_data()
H A Dbe_create.c1615 if (zfs_prop_get_int(zhp, ZFS_PROP_NUMCLONES) != 0) { in _be_destroy()
2376 if (zfs_prop_get_int(zhp, ZFS_PROP_ZONED) != 0 && in be_clone_fs_callback()
2786 if (zfs_prop_get_int(zhp, ZFS_PROP_NUMCLONES) == 0) { in be_demote_find_clone_callback()
2794 snap_creation = (time_t)zfs_prop_get_int(zhp, ZFS_PROP_CREATION); in be_demote_find_clone_callback()
H A Dbe_activate.c597 if (zfs_prop_get_int(zhp, ZFS_PROP_MOUNTED)) { in set_canmount()
635 if (zfs_prop_get_int(zhp, ZFS_PROP_MOUNTED)) { in set_canmount()
H A Dbe_mount.c1638 !zfs_prop_get_int(zhp, ZFS_PROP_ZONED))) { in loopback_mount_shared_fs()
H A Dbe_utils.c655 return ((*ret = zfs_prop_get_int(zhp, ZFS_PROP_AVAILABLE))); in be_maxsize_avail()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c244 lcreate = zfs_prop_get_int(l, ZFS_PROP_CREATETXG); in zfs_compare()
245 rcreate = zfs_prop_get_int(r, ZFS_PROP_CREATETXG); in zfs_compare()
H A Dzfs_main.c725 zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT) == ZFS_CANMOUNT_ON) { in zfs_mount_and_share()
2189 int version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in upgrade_list_callback()
2225 int version = zfs_prop_get_int(zhp, ZFS_PROP_VERSION); in upgrade_set_callback()
3673 if (zfs_prop_get_int(zhp, ZFS_PROP_CREATETXG) > cbp->cb_create) { in rollback_check()
3763 cb.cb_create = zfs_prop_get_int(snap, ZFS_PROP_CREATETXG); in zfs_do_rollback()
3897 zfs_prop_get_int(zhp, ZFS_PROP_INCONSISTENT) != 0) { in zfs_snapshot_cb()
4384 if (!zfs_prop_get_int(zhp, ZFS_PROP_INCONSISTENT) || in zfs_do_receive()
6228 zoned = zfs_prop_get_int(zhp, ZFS_PROP_ZONED); in share_mount_one()
6308 canmount = zfs_prop_get_int(zhp, ZFS_PROP_CANMOUNT); in share_mount_one()
6326 zfs_prop_get_int(zhp, ZFS_PROP_ENCRYPTION) != ZIO_CRYPT_OFF && in share_mount_one()
[all …]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c611 if (zfs_prop_get_int(zhp, ZFS_PROP_NUMCLONES) == 0) { in find_clone()
619 snap_creation = (time_t)zfs_prop_get_int(zhp, ZFS_PROP_CREATION); in find_clone()
657 if (zfs_prop_get_int(zhp, ZFS_PROP_NUMCLONES) != 0) { in rm_snap()
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c166 record->zi_objset = zfs_prop_get_int(zhp, ZFS_PROP_OBJSETID); in object_from_path()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c1224 *tp = zfs_prop_get_int(zhp, ZFS_PROP_CREATION); in chkpnt_creationtime_bypattern()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c828 zfs_prop_get_int(fs_handle, ZFS_PROP_ZONED)) in sa_get_zfs_share_common()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c3752 if (!zfs_prop_get_int(zhp, ZFS_PROP_ZONED) && in validate_datasets()