Home
last modified time | relevance | path

Searched refs:zfs_prop_to_name (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c881 zfs_prop_to_name(ZFS_PROP_PBKDF2_SALT), salt); in populate_create_encryption_params_nvlists()
895 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &iters); in populate_create_encryption_params_nvlists()
899 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), iters); in populate_create_encryption_params_nvlists()
910 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &iters); in populate_create_encryption_params_nvlists()
950 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &intval); in proplist_has_encryption_props()
955 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &strval); in proplist_has_encryption_props()
960 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &intval); in proplist_has_encryption_props()
965 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &intval); in proplist_has_encryption_props()
1023 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &crypt); in zfs_crypto_create()
1029 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &keyformat); in zfs_crypto_create()
[all …]
H A Dlibzfs_dataset.c1345 (void) nvlist_remove(ret, zfs_prop_to_name(prop), in zfs_valid_proplist()
1347 fnvlist_add_string(ret, zfs_prop_to_name(prop), hex); in zfs_valid_proplist()
1605 zfs_prop_to_name(ZFS_PROP_UTF8ONLY), 1) != 0) { in zfs_valid_proplist()
1612 zfs_prop_to_name(ZFS_PROP_UTF8ONLY)); in zfs_valid_proplist()
1617 zfs_prop_to_name(ZFS_PROP_NORMALIZE), 0) != 0) { in zfs_valid_proplist()
1650 fnvlist_add_uint64(props, zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE), in zfs_add_synthetic_resv()
1655 zfs_prop_to_name(resv_prop))) { in zfs_add_synthetic_resv()
1659 if (nvlist_lookup_uint64(nvl, zfs_prop_to_name(ZFS_PROP_VOLSIZE), in zfs_add_synthetic_resv()
1667 if (nvlist_add_uint64(nvl, zfs_prop_to_name(resv_prop), in zfs_add_synthetic_resv()
1700 if (nvlist_lookup_uint64(nvl, zfs_prop_to_name(prop), &resvsize) != 0) { in zfs_fix_auto_resv()
[all …]
H A Dlibzfs_sendrecv.c1705 fnvlist_add_boolean(props, zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS)); in get_bookmarks()
1722 zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS)); in find_redact_pair()
1899 zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS), &redact_snap_guids, in zfs_send_resume_impl_cb_impl()
2710 zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS), in zfs_send_one_cb_impl()
3197 zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS)); in redact_snaps_match()
3468 zfs_prop_to_name(ZFS_PROP_KEYLOCATION)); in recv_fix_encryption_hierarchy()
3485 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), in recv_fix_encryption_hierarchy()
4258 newname = zfs_prop_to_name(prop); in zfs_setup_cmdline_props()
4494 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in zfs_receive_one()
4498 zfs_prop_to_name(ZFS_PROP_KEYLOCATION)); in zfs_receive_one()
[all …]
H A Dlibzfs_iter.c238 fnvlist_add_boolean(props, zfs_prop_to_name(p)); in zfs_iter_bookmarks_v2()
H A Dlibzfs_util.c1328 zfs_prop_to_name(pl->pl_prop)); in zprop_print_headers()
1768 propname = zfs_prop_to_name(prop); in zprop_parse_value()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c155 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &crypt); in dsl_crypto_params_create_nvlist()
157 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &keyformat); in dsl_crypto_params_create_nvlist()
159 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in dsl_crypto_params_create_nvlist()
161 zfs_prop_to_name(ZFS_PROP_PBKDF2_SALT), &salt); in dsl_crypto_params_create_nvlist()
163 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &iters); in dsl_crypto_params_create_nvlist()
227 (void) nvlist_remove_all(props, zfs_prop_to_name(ZFS_PROP_ENCRYPTION)); in dsl_crypto_params_create_nvlist()
228 (void) nvlist_remove_all(props, zfs_prop_to_name(ZFS_PROP_KEYFORMAT)); in dsl_crypto_params_create_nvlist()
229 (void) nvlist_remove_all(props, zfs_prop_to_name(ZFS_PROP_PBKDF2_SALT)); in dsl_crypto_params_create_nvlist()
231 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS)); in dsl_crypto_params_create_nvlist()
826 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), 8, 1, &keyformat); in spa_keystore_load_wkey()
[all …]
H A Ddmu_objset.c573 zfs_prop_to_name(ZFS_PROP_PRIMARYCACHE), in dmu_objset_open_impl()
577 zfs_prop_to_name(ZFS_PROP_SECONDARYCACHE), in dmu_objset_open_impl()
582 zfs_prop_to_name(ZFS_PROP_PREFETCH), in dmu_objset_open_impl()
588 zfs_prop_to_name(ZFS_PROP_CHECKSUM), in dmu_objset_open_impl()
593 zfs_prop_to_name(ZFS_PROP_COMPRESSION), in dmu_objset_open_impl()
598 zfs_prop_to_name(ZFS_PROP_COPIES), in dmu_objset_open_impl()
603 zfs_prop_to_name(ZFS_PROP_DEDUP), in dmu_objset_open_impl()
608 zfs_prop_to_name(ZFS_PROP_LOGBIAS), in dmu_objset_open_impl()
613 zfs_prop_to_name(ZFS_PROP_SYNC), in dmu_objset_open_impl()
618 zfs_prop_to_name( in dmu_objset_open_impl()
[all …]
H A Ddsl_bookmark.c720 zfs_prop_to_name(ZFS_PROP_GUID))) { in dsl_bookmark_fetch_props()
725 zfs_prop_to_name(ZFS_PROP_CREATETXG))) { in dsl_bookmark_fetch_props()
730 zfs_prop_to_name(ZFS_PROP_CREATION))) { in dsl_bookmark_fetch_props()
735 zfs_prop_to_name(ZFS_PROP_IVSET_GUID))) { in dsl_bookmark_fetch_props()
741 zfs_prop_to_name(ZFS_PROP_REFERENCED))) { in dsl_bookmark_fetch_props()
747 zfs_prop_to_name(ZFS_PROP_LOGICALREFERENCED))) { in dsl_bookmark_fetch_props()
753 zfs_prop_to_name(ZFS_PROP_REFRATIO))) { in dsl_bookmark_fetch_props()
H A Ddsl_dir.c797 zonedstr = zfs_prop_to_name(ZFS_PROP_ZONED); in dsl_enforce_ds_ss_limits()
802 if (dsl_deleg_access_impl(ds, zfs_prop_to_name(prop), cr) == 0) in dsl_enforce_ds_ss_limits()
885 err = dsl_prop_get_dd(dd, zfs_prop_to_name(prop), 8, 1, &limit, NULL, in dsl_fs_ss_limit_check()
1730 dsl_prop_set_sync_impl(ds, zfs_prop_to_name(ZFS_PROP_QUOTA), in dsl_dir_set_quota_sync()
1735 zfs_prop_to_name(ZFS_PROP_QUOTA), &newval)); in dsl_dir_set_quota_sync()
1739 zfs_prop_to_name(ZFS_PROP_QUOTA), (longlong_t)newval); in dsl_dir_set_quota_sync()
1788 zfs_prop_to_name(ZFS_PROP_RESERVATION), in dsl_dir_set_reservation_check()
1854 zfs_prop_to_name(ZFS_PROP_RESERVATION), in dsl_dir_set_reservation_sync()
1859 zfs_prop_to_name(ZFS_PROP_RESERVATION), &newval)); in dsl_dir_set_reservation_sync()
1863 zfs_prop_to_name(ZFS_PROP_RESERVATION), in dsl_dir_set_reservation_sync()
H A Dzcp_get.c393 if (nvlist_lookup_nvlist(nvl, zfs_prop_to_name(zfs_prop), in get_special_prop()
459 const char *prop_name = zfs_prop_to_name(zfs_prop); in get_zap_prop()
544 const char *prop_name = zfs_prop_to_name(zfs_prop); in zcp_get_system_prop()
H A Dzvol.c193 zfs_prop_to_name(ZFS_PROP_VOLSIZE), &volsize) == 0); in zvol_create_cb()
195 zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE), &volblocksize) != 0) in zvol_create_cb()
203 zfs_prop_to_name(ZFS_PROP_VOLSIZE)) == 0); in zvol_create_cb()
205 zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE)); in zvol_create_cb()
312 zfs_prop_to_name(ZFS_PROP_READONLY), &readonly, NULL); in zvol_set_volsize()
1903 const char *prop_name = zfs_prop_to_name(zsda->zsda_prop); in zvol_set_common_sync_cb()
1951 dsl_prop_set_sync_impl(ds, zfs_prop_to_name(zsda->zsda_prop), in zvol_set_common_sync()
H A Dzfs_ioctl.c437 if (dsl_prop_get_integer(dataset, zfs_prop_to_name(ZFS_PROP_ZONED), in zfs_dozonecheck()
449 if (dsl_prop_get_int_ds(ds, zfs_prop_to_name(ZFS_PROP_ZONED), &zoned)) in zfs_dozonecheck_ds()
519 error = dsl_prop_get(name, zfs_prop_to_name(ZFS_PROP_MLSLABEL), in zfs_set_slabel_policy()
548 zfs_prop_to_name(ZFS_PROP_ZONED), &zoned, NULL)) in zfs_set_slabel_policy()
635 zfs_prop_to_name(ZFS_PROP_ZONED), &zoned, setpoint)) in zfs_secpolicy_setprop()
656 return (zfs_secpolicy_write_perms(dsname, zfs_prop_to_name(prop), cr)); in zfs_secpolicy_setprop()
2223 VERIFY(nvlist_add_uint64(props, zfs_prop_to_name(prop), value) == 0); in nvl_add_zplprop()
3347 zfs_prop_to_name(ZFS_PROP_VERSION), &zplver); in zfs_fill_zplprops_impl()
3349 zfs_prop_to_name(ZFS_PROP_NORMALIZE), &norm); in zfs_fill_zplprops_impl()
3351 zfs_prop_to_name(ZFS_PROP_NORMALIZE)); in zfs_fill_zplprops_impl()
[all …]
H A Ddsl_dataset.c687 zfs_prop_to_name(ZFS_PROP_REFRESERVATION), in dsl_dataset_hold_obj()
691 zfs_prop_to_name(ZFS_PROP_REFQUOTA), in dsl_dataset_hold_obj()
2367 fnvlist_add_nvlist(nv, zfs_prop_to_name(ZFS_PROP_CLONES), in get_clones_stat()
2729 error = dsl_prop_get_ds(ds, zfs_prop_to_name(ZFS_PROP_MOUNTPOINT), 1, in dsl_get_mountpoint()
2825 fnvlist_add_nvlist(nv, zfs_prop_to_name(ZFS_PROP_REDACT_SNAPS), in dsl_dataset_stats()
4361 zfs_prop_to_name(ZFS_PROP_REFQUOTA), in dsl_dataset_set_refquota_check()
4394 zfs_prop_to_name(ZFS_PROP_REFQUOTA), in dsl_dataset_set_refquota_sync()
4399 zfs_prop_to_name(ZFS_PROP_REFQUOTA), &newval)); in dsl_dataset_set_refquota_sync()
4445 zfs_prop_to_name(ZFS_PROP_REFRESERVATION), in dsl_dataset_set_refreservation_check()
4491 dsl_prop_set_sync_impl(ds, zfs_prop_to_name(ZFS_PROP_REFRESERVATION), in dsl_dataset_set_refreservation_sync_impl()
[all …]
H A Dzfs_znode.c360 pname = zfs_prop_to_name(prop); in zfs_get_zplprop()
H A Ddsl_prop.c1332 const char *propname = zfs_prop_to_name(prop); in dsl_prop_nvlist_add_uint64()
1355 const char *propname = zfs_prop_to_name(prop); in dsl_prop_nvlist_add_string()
H A Dzcp_iter.c446 fnvlist_add_boolean(nv, zfs_prop_to_name(prop)); in zcp_dataset_system_props()
H A Ddsl_deleg.c602 zfs_prop_to_name(ZFS_PROP_ZONED), in dsl_deleg_access_impl()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c496 zfs_prop_to_name(ZFS_PROP_ATIME), atime_changed_cb, zfsvfs); in zfs_register_callbacks()
498 zfs_prop_to_name(ZFS_PROP_RELATIME), relatime_changed_cb, zfsvfs); in zfs_register_callbacks()
500 zfs_prop_to_name(ZFS_PROP_XATTR), xattr_changed_cb, zfsvfs); in zfs_register_callbacks()
502 zfs_prop_to_name(ZFS_PROP_RECORDSIZE), blksz_changed_cb, zfsvfs); in zfs_register_callbacks()
504 zfs_prop_to_name(ZFS_PROP_READONLY), readonly_changed_cb, zfsvfs); in zfs_register_callbacks()
506 zfs_prop_to_name(ZFS_PROP_DEVICES), devices_changed_cb, zfsvfs); in zfs_register_callbacks()
508 zfs_prop_to_name(ZFS_PROP_SETUID), setuid_changed_cb, zfsvfs); in zfs_register_callbacks()
510 zfs_prop_to_name(ZFS_PROP_EXEC), exec_changed_cb, zfsvfs); in zfs_register_callbacks()
512 zfs_prop_to_name(ZFS_PROP_SNAPDIR), snapdir_changed_cb, zfsvfs); in zfs_register_callbacks()
514 zfs_prop_to_name(ZFS_PROP_ACLTYPE), acltype_changed_cb, zfsvfs); in zfs_register_callbacks()
[all …]
H A Dzfs_znode_os.c1852 if (strcmp(name, zfs_prop_to_name(ZFS_PROP_VERSION)) == 0) { in zfs_create_fs()
1859 if (strcmp(name, zfs_prop_to_name(ZFS_PROP_NORMALIZE)) == 0) in zfs_create_fs()
1861 else if (strcmp(name, zfs_prop_to_name(ZFS_PROP_CASE)) == 0) in zfs_create_fs()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c745 zfs_prop_to_name(ZFS_PROP_ATIME), atime_changed_cb, zfsvfs); in zfs_register_callbacks()
747 zfs_prop_to_name(ZFS_PROP_XATTR), xattr_changed_cb, zfsvfs); in zfs_register_callbacks()
749 zfs_prop_to_name(ZFS_PROP_RECORDSIZE), blksz_changed_cb, zfsvfs); in zfs_register_callbacks()
751 zfs_prop_to_name(ZFS_PROP_READONLY), readonly_changed_cb, zfsvfs); in zfs_register_callbacks()
753 zfs_prop_to_name(ZFS_PROP_SETUID), setuid_changed_cb, zfsvfs); in zfs_register_callbacks()
755 zfs_prop_to_name(ZFS_PROP_EXEC), exec_changed_cb, zfsvfs); in zfs_register_callbacks()
757 zfs_prop_to_name(ZFS_PROP_SNAPDIR), snapdir_changed_cb, zfsvfs); in zfs_register_callbacks()
759 zfs_prop_to_name(ZFS_PROP_ACLTYPE), acl_type_changed_cb, zfsvfs); in zfs_register_callbacks()
761 zfs_prop_to_name(ZFS_PROP_ACLMODE), acl_mode_changed_cb, zfsvfs); in zfs_register_callbacks()
763 zfs_prop_to_name(ZFS_PROP_ACLINHERIT), acl_inherit_changed_cb, in zfs_register_callbacks()
[all …]
H A Dzfs_znode_os.c1674 if (strcmp(name, zfs_prop_to_name(ZFS_PROP_VERSION)) == 0) { in zfs_create_fs()
1681 if (strcmp(name, zfs_prop_to_name(ZFS_PROP_NORMALIZE)) == 0) in zfs_create_fs()
1683 else if (strcmp(name, zfs_prop_to_name(ZFS_PROP_CASE)) == 0) in zfs_create_fs()
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c283 zfs_prop_to_name(ZFS_PROP_PBKDF2_SALT), salt)) { in prepare_passphrase()
290 if (nvlist_add_uint64(nvlist, zfs_prop_to_name( in prepare_passphrase()
344 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), in change_key()
353 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), in change_key()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_deleg.c101 return (zfs_prop_to_name(prop)); in zfs_deleg_canonicalize_perm()
H A Dzfs_prop.c963 zfs_prop_to_name(zfs_prop_t prop) in zfs_prop_to_name() function
1129 EXPORT_SYMBOL(zfs_prop_to_name);
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c504 (void) fprintf(fp, "\t%-22s ", zfs_prop_to_name(prop)); in usage_prop_cb()
991 const char *prop = zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE); in default_volblocksize()
1084 zfs_prop_to_name(ZFS_PROP_VOLSIZE), intval) != 0) in zfs_do_create()
1105 zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE), in zfs_do_create()
1184 const char *prop = zfs_prop_to_name(ZFS_PROP_VOLBLOCKSIZE); in zfs_do_create()
1207 zfs_prop_to_name(ZFS_PROP_VOLSIZE), volsize) != 0) { in zfs_do_create()
1228 if (nvlist_lookup_string(props, zfs_prop_to_name(resv_prop), in zfs_do_create()
1231 zfs_prop_to_name(resv_prop), volsize) != 0) { in zfs_do_create()
2049 zfs_prop_to_name(pl->pl_prop)); in get_callback()
2057 zfs_prop_to_name(pl->pl_prop), rbuf, sizeof (rbuf), in get_callback()
[all …]

12