| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dsl_prop.c | 104 prop = zfs_name_to_prop(propname); in dsl_prop_get_dd() 137 propname, intsz, numints, buf); in dsl_prop_get_dd() 626 propname); in dsl_prop_changed_notify() 671 propname, value, FALSE); in dsl_prop_changed_notify() 868 propname) == 0) in dsl_prop_set_sync_impl() 932 fnvlist_add_boolean(nvl, propname); in dsl_prop_inherit() 1075 const char *propname; in dsl_prop_get_all_impl() local 1088 propname = za.za_name; in dsl_prop_get_all_impl() 1107 propname = buf; in dsl_prop_get_all_impl() 1133 propname = buf; in dsl_prop_get_all_impl() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/ |
| H A D | dsl_prop.h | 73 int dsl_prop_register(struct dsl_dataset *ds, const char *propname, 75 int dsl_prop_unregister(struct dsl_dataset *ds, const char *propname, 81 int dsl_prop_get(const char *ddname, const char *propname, 83 int dsl_prop_get_integer(const char *ddname, const char *propname, 87 int dsl_prop_get_ds(struct dsl_dataset *ds, const char *propname, 89 int dsl_prop_get_int_ds(struct dsl_dataset *ds, const char *propname, 91 int dsl_prop_get_dd(struct dsl_dir *dd, const char *propname, 103 int dsl_prop_set_int(const char *dsname, const char *propname, 105 int dsl_prop_set_string(const char *dsname, const char *propname, 107 int dsl_prop_inherit(const char *dsname, const char *propname, [all …]
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
| H A D | property_alias_001_pos.ksh | 107 for propname in ${ro_prop[*]}; do 108 $ZFS get -pH -o value $propname $ds >/dev/null 2>&1 136 for propname in "volblocksize" "volblock" ; do 137 $ZFS get -pH -o value $propname $ds >/dev/null 2>&1 139 log_fail "Get the property $propname of $ds failed." 145 for propname in "recordsize" "recsize"; do 147 if [[ $propname == "recordsize" ]]; then 148 set_and_check $ds $propname $val "recsize" 150 set_and_check $ds $propname $val "recordsize"
|
| H A D | cache_001_pos.ksh | 67 for propname in "primarycache" "secondarycache" 72 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
|
| H A D | compression_001_pos.ksh | 67 for propname in "compression" "compress" 72 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
|
| H A D | cache_002_neg.ksh | 67 for propname in "primarycache" "secondarycache" 72 log_mustnot $ZFS set $propname=${values[j]} ${dataset[i]}
|
| /freebsd-14.2/sys/dev/ofw/ |
| H A D | openfirm.h | 106 ssize_t OF_getproplen(phandle_t node, const char *propname); 107 ssize_t OF_getprop(phandle_t node, const char *propname, void *buf, 111 int OF_hasprop(phandle_t node, const char *propname); 112 ssize_t OF_searchprop(phandle_t node, const char *propname, void *buf, 114 ssize_t OF_searchencprop(phandle_t node, const char *propname, 116 ssize_t OF_getprop_alloc(phandle_t node, const char *propname, 118 ssize_t OF_getprop_alloc_multi(phandle_t node, const char *propname, 120 ssize_t OF_getencprop_alloc(phandle_t node, const char *propname, 122 ssize_t OF_getencprop_alloc_multi(phandle_t node, const char *propname, 125 int OF_nextprop(phandle_t node, const char *propname, char *buf,
|
| H A D | openfirm.c | 366 OF_getproplen(phandle_t package, const char *propname) in OF_getproplen() argument 372 return (OFW_GETPROPLEN(ofw_obj, package, propname)); in OF_getproplen() 377 OF_hasprop(phandle_t package, const char *propname) in OF_hasprop() argument 380 return (OF_getproplen(package, propname) >= 0 ? 1 : 0); in OF_hasprop() 402 retval = OF_getprop(node, propname, buf, len); in OF_getencprop() 423 if ((rv = OF_getprop(node, propname, buf, len)) != -1) in OF_searchprop() 434 if ((rv = OF_getencprop(node, propname, buf, len)) != -1) in OF_searchencprop() 449 if ((len = OF_getproplen(package, propname)) == -1) in OF_getprop_alloc() 454 if (OF_getprop(package, propname, *buf, len) == -1) { in OF_getprop_alloc() 474 if ((len = OF_getproplen(package, propname)) == -1 || in OF_getprop_alloc_multi() [all …]
|
| H A D | ofw_fdt.c | 307 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getproplen() 309 if (prop == NULL && strcmp(propname, "name") == 0) { in ofw_fdt_getproplen() 316 if (strcmp(propname, "fdtbootcpu") == 0) in ofw_fdt_getproplen() 318 if (strcmp(propname, "fdtmemreserv") == 0) in ofw_fdt_getproplen() 342 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getprop() 344 if (prop == NULL && strcmp(propname, "name") == 0) { in ofw_fdt_getprop() 352 if (strcmp(propname, "fdtbootcpu") == 0) { in ofw_fdt_getprop() 357 if (strcmp(propname, "fdtmemreserv") == 0) { in ofw_fdt_getprop() 419 ofw_fdt_setprop(ofw_t ofw, phandle_t package, const char *propname, in ofw_fdt_setprop() argument 428 if (fdt_setprop_inplace(fdtp, offset, propname, buf, len) != 0) in ofw_fdt_setprop() [all …]
|
| H A D | ofw_standard.c | 82 const char *propname); 84 const char *propname, void *buf, size_t buflen); 87 static int ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname, 304 ofw_std_getproplen(ofw_t ofw, phandle_t package, const char *propname) in ofw_std_getproplen() argument 311 cell_t propname; in ofw_std_getproplen() member 320 args.propname = (cell_t)propname; in ofw_std_getproplen() 336 cell_t propname; in ofw_std_getprop() member 347 args.propname = (cell_t)propname; in ofw_std_getprop() 385 ofw_std_setprop(ofw_t ofw, phandle_t package, const char *propname, in ofw_std_setprop() argument 393 cell_t propname; in ofw_std_setprop() member [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
| H A D | property_alias_001_pos.ksh | 93 for propname in ${ro_prop[*]}; do 94 log_must eval "zfs get -pH -o value $propname $ds >/dev/null 2>&1" 120 for propname in "volblocksize" "volblock" ; do 121 log_must eval "zfs get -pH -o value $propname $ds >/dev/null 2>&1" 127 for propname in "recordsize" "recsize"; do 129 if [[ $propname == "recordsize" ]]; then 130 set_and_check $ds $propname $val "recsize" 132 set_and_check $ds $propname $val "recordsize"
|
| H A D | cache_001_pos.ksh | 51 for propname in "primarycache" "secondarycache" 56 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
|
| H A D | compression_001_pos.ksh | 52 for propname in "compression" "compress" 57 set_n_check_prop "${values[j]}" "$propname" "${dataset[i]}"
|
| H A D | cache_002_neg.ksh | 55 for propname in "primarycache" "secondarycache" 60 log_mustnot zfs set $propname=${values[j]} ${dataset[i]}
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/ |
| H A D | zpool_set_features.ksh | 55 propname="feature@$feature" 58 log_must zpool set "$propname=enabled" $TESTPOOL1 59 propval="$(get_pool_prop $propname $TESTPOOL1)" 66 propname="feature@$feature" 69 log_mustnot zpool set "$propname=disabled" $TESTPOOL1 70 propval="$(get_pool_prop $propname $TESTPOOL1)"
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_tempname.ksh | 58 IFS='=' read -r propname propval <<<"$fsprop" 59 log_must test "$(get_prop $propname $TEMPPOOL)" == "$propval" 60 IFS='=' read -r propname propval <<<"$poolprop" 61 log_must test "$(get_pool_prop $propname $TEMPPOOL)" == "$propval"
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/ |
| H A D | compress_003_pos.ksh | 63 for propname in "compression" "compress" 67 log_must zfs set $propname=$value $fs 71 real_val=$(get_prop $propname $fs) 73 log_fail "Set property $propname=$value failed."
|
| H A D | compress_004_pos.ksh | 94 for propname in "compression" "compress" 99 real_val=$(get_prop $propname $fs) 104 log_fail "Set property $propname=$value failed."
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/compression/ |
| H A D | compress_003_pos.ksh | 74 for propname in "compression" "compress" 78 log_must $ZFS set $propname=$value $fs 82 real_val=$(get_prop $propname $fs) 84 log_fail "Set property $propname=$value failed."
|
| H A D | compress_004_pos.ksh | 98 for propname in "compression" "compress" 103 real_val=$(get_prop $propname $fs) 108 log_fail "Set property $propname=$value failed."
|
| /freebsd-14.2/stand/libofw/ |
| H A D | openfirm.c | 233 OF_getproplen(phandle_t package, const char *propname) in OF_getproplen() argument 240 cell_t propname; in OF_getproplen() member 246 args.propname = IN(propname); in OF_getproplen() 254 OF_getprop(phandle_t package, const char *propname, void *buf, int buflen) in OF_getprop() argument 261 cell_t propname; in OF_getprop() member 269 args.propname = IN(propname); in OF_getprop() 279 OF_getencprop(phandle_t package, const char *propname, cell_t *buf, int buflen) in OF_getencprop() argument 282 retval = OF_getprop(package, propname, buf, buflen); in OF_getencprop() 318 OF_setprop(phandle_t package, const char *propname, void *buf, int len) in OF_setprop() argument 325 cell_t propname; in OF_setprop() member [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/zcommon/ |
| H A D | zprop_common.c | 250 const char *propname = prop_entry->pd_name; in propname_match() local 256 ASSERT(propname != NULL); in propname_match() 258 if (len == strlen(propname) && in propname_match() 259 strncmp(p, propname, len) == 0) in propname_match() 277 const char *propname; member 286 if (propname_match(data->propname, strlen(data->propname), in zprop_name_to_prop_cb() 294 zprop_name_to_prop(const char *propname, zfs_type_t type) in zprop_name_to_prop() argument 299 cb_data.propname = propname; in zprop_name_to_prop()
|
| /freebsd-14.2/sys/powerpc/ofw/ |
| H A D | ofw_real.c | 88 const char *propname); 558 cell_t propname; in ofw_real_getproplen() member 569 args.propname = IN(ofw_real_map(propname, strlen(propname) + 1)); in ofw_real_getproplen() 571 if (args.propname == 0 || openfirmware((void *)argsptr) == -1) { in ofw_real_getproplen() 591 cell_t propname; in ofw_real_getprop() member 604 args.propname = IN(ofw_real_map(propname, strlen(propname) + 1)); in ofw_real_getprop() 608 if (args.propname == 0 || args.buf == 0 || in ofw_real_getprop() 660 ofw_real_setprop(ofw_t ofw, phandle_t package, const char *propname, in ofw_real_setprop() argument 669 cell_t propname; in ofw_real_setprop() member 682 args.propname = IN(ofw_real_map(propname, strlen(propname) + 1)); in ofw_real_setprop() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_util.c | 1314 assert(propname != NULL); in zprop_print_headers() 1315 len = strlen(propname); in zprop_print_headers() 1420 str = propname; in zprop_print_one_property() 1619 const char *propname; in zprop_parse_value() local 1627 propname = zpool_prop_to_name(prop); in zprop_parse_value() 1630 propname = vdev_prop_to_name(prop); in zprop_parse_value() 1633 propname = zfs_prop_to_name(prop); in zprop_parse_value() 1795 !zfs_prop_user(propname) && in addlist() 1796 !zpool_prop_feature(propname) && in addlist() 1799 !zfs_prop_userquota(propname) && !zfs_prop_written(propname)) || in addlist() [all …]
|
| H A D | libzfs_dataset.c | 1068 propname); in zfs_valid_proplist() 1105 propname); in zfs_valid_proplist() 1118 propname); in zfs_valid_proplist() 1178 propname); in zfs_valid_proplist() 1203 propname); in zfs_valid_proplist() 1381 propname); in zfs_valid_proplist() 1420 propname); in zfs_valid_proplist() 1465 "options"), propname); in zfs_valid_proplist() 1545 propname, buf); in zfs_valid_proplist() 1554 propname); in zfs_valid_proplist() [all …]
|