Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c150 prop = NULL; in bhnd_nvram_plist_copy()
151 while ((prop = bhnd_nvram_plist_next(plist, prop)) != NULL) { in bhnd_nvram_plist_copy()
221 entry->prop = bhnd_nvram_prop_retain(prop); in bhnd_nvram_plist_replace()
430 entry->prop = bhnd_nvram_prop_retain(prop); in bhnd_nvram_plist_append()
551 if (entry->prop != prop) in bhnd_nvram_plist_next()
780 prop = bhnd_nv_calloc(1, sizeof(*prop)); in bhnd_nvram_prop_new()
781 if (prop == NULL) in bhnd_nvram_prop_new()
785 prop->refs = 1; in bhnd_nvram_prop_new()
793 return (prop); in bhnd_nvram_prop_new()
846 return (prop); in bhnd_nvram_prop_bytes_new()
[all …]
H A Dbhnd_nvram_plist.h59 bhnd_nvram_prop *prop);
69 bhnd_nvram_prop *prop);
84 bhnd_nvram_prop *prop);
115 bhnd_nvram_prop *bhnd_nvram_prop_retain(bhnd_nvram_prop *prop);
116 void bhnd_nvram_prop_release(bhnd_nvram_prop *prop);
118 const char *bhnd_nvram_prop_name(bhnd_nvram_prop *prop);
119 bhnd_nvram_val *bhnd_nvram_prop_val(bhnd_nvram_prop *prop);
120 bhnd_nvram_type bhnd_nvram_prop_type(bhnd_nvram_prop *prop);
122 bool bhnd_nvram_prop_is_null(bhnd_nvram_prop *prop);
124 const void *bhnd_nvram_prop_bytes(bhnd_nvram_prop *prop,
[all …]
/freebsd/usr.sbin/bhyve/aarch64/
H A Dfdt.c178 void *fdt, *prop; in fdt_add_gic() local
202 &prop); in fdt_add_gic()
204 SET_PROP_U32(prop, 1, 64); in fdt_add_gic()
308 void *fdt, *prop; in fdt_add_pcie() local
326 SET_PROP_U32(prop, 1, 0); in fdt_add_pcie()
329 SET_PROP_U32(prop, 3, 0); in fdt_add_pcie()
332 SET_PROP_U32(prop, 5, 0); in fdt_add_pcie()
337 SET_PROP_U32(prop, 8, 0); in fdt_add_pcie()
363 SET_PROP_U32(prop, 1, 0); in fdt_add_pcie()
364 SET_PROP_U32(prop, 2, 0); in fdt_add_pcie()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_common.kshlib52 typeset prop=$2
59 [[ -n $prop ]] && old_value=$(get_prop $prop $dataset)
70 [[ -n $prop ]] && cur_value=$(get_prop $prop $dataset)
72 case $prop in
94 [[ -n $prop ]] && cur_value=$(get_prop $prop $dataset)
120 typeset prop
253 typeset prop=$1
273 typeset prop="$2"
301 typeset prop="$2"
323 typeset prop="$2"
[all …]
/freebsd/crypto/openssl/crypto/property/
H A Dproperty_query.c39 return prop->type; in ossl_property_get_type()
47 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_STRING) in ossl_property_get_string_value()
48 value = ossl_property_value_str(libctx, prop->v.str_val); in ossl_property_get_string_value()
56 if (prop != NULL && prop->type == OSSL_PROPERTY_TYPE_NUMBER) in ossl_property_get_number_value()
57 value = prop->v.int_val; in ossl_property_get_number_value()
70 const OSSL_PROPERTY_DEFINITION *prop; in ossl_property_is_enabled() local
74 if (prop == NULL || prop->optional || prop->oper == OSSL_PROPERTY_OVERRIDE) in ossl_property_is_enabled()
76 return (prop->type == OSSL_PROPERTY_TYPE_STRING in ossl_property_is_enabled()
77 && ((prop->oper == OSSL_PROPERTY_OPER_EQ in ossl_property_is_enabled()
78 && prop->v.str_val == OSSL_PROPERTY_TRUE) in ossl_property_is_enabled()
[all …]
H A Ddefn_cache.c26 const char *prop; member
35 return OPENSSL_LH_strhash(a->prop); in property_defn_hash()
41 return strcmp(a->prop, b->prop); in property_defn_cmp()
71 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop) in ossl_prop_defn_get() argument
82 elem.prop = prop; in ossl_prop_defn_get()
95 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop, in ossl_prop_defn_set() argument
109 if (prop == NULL) in ossl_prop_defn_set()
114 elem.prop = prop; in ossl_prop_defn_set()
125 len = strlen(prop); in ossl_prop_defn_set()
128 p->prop = p->body; in ossl_prop_defn_set()
[all …]
H A Dproperty_parse.c360 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_property()
361 if (prop == NULL) in ossl_parse_property()
363 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_property()
364 prop->optional = 0; in ossl_parse_property()
387 prop = NULL; in ossl_parse_property()
398 OPENSSL_free(prop); in ossl_parse_property()
417 prop = OPENSSL_malloc(sizeof(*prop)); in ossl_parse_query()
418 if (prop == NULL) in ossl_parse_query()
420 memset(&prop->v, 0, sizeof(prop->v)); in ossl_parse_query()
450 prop = NULL; in ossl_parse_query()
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzprop_common.c107 pd = &prop_tbl[prop]; in zprop_register_impl()
229 prop = ZPROP_CONT; in zprop_iter_common()
244 return (prop); in zprop_iter_common()
288 return (prop); in zprop_name_to_prop_cb()
296 int prop; in zprop_name_to_prop() local
305 return (prop == ZPROP_CONT ? ZPROP_INVAL : prop); in zprop_name_to_prop()
316 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_string_to_index()
342 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_index_to_string()
384 ASSERT(prop != ZPROP_INVAL && prop != ZPROP_CONT); in zprop_values()
404 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_valid_for_type()
[all …]
H A Dzfs_prop.c769 ASSERT3S(prop, >=, 0); in zfs_prop_delegatable()
823 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) { in zfs_prop_userquota()
881 ASSERT3S(prop, >=, 0); in zfs_prop_get_type()
892 ASSERT3S(prop, >=, 0); in zfs_prop_readonly()
905 ASSERT3S(prop, >=, 0); in zfs_prop_visible()
917 ASSERT3S(prop, >=, 0); in zfs_prop_setonce()
926 ASSERT3S(prop, >=, 0); in zfs_prop_default_string()
934 ASSERT3S(prop, >=, 0); in zfs_prop_default_numeric()
946 ASSERT3S(prop, >=, 0); in zfs_prop_to_name()
957 ASSERT3S(prop, >=, 0); in zfs_prop_inheritable()
[all …]
H A Dzpool_prop.c198 zpool_prop_to_name(zpool_prop_t prop) in zpool_prop_to_name() argument
204 zpool_prop_get_type(zpool_prop_t prop) in zpool_prop_get_type() argument
210 zpool_prop_readonly(zpool_prop_t prop) in zpool_prop_readonly() argument
216 zpool_prop_setonce(zpool_prop_t prop) in zpool_prop_setonce() argument
277 zpool_prop_values(zpool_prop_t prop) in zpool_prop_values() argument
499 vdev_prop_to_name(vdev_prop_t prop) in vdev_prop_to_name() argument
505 vdev_prop_get_type(vdev_prop_t prop) in vdev_prop_get_type() argument
511 vdev_prop_readonly(vdev_prop_t prop) in vdev_prop_readonly() argument
559 vdev_prop_values(vdev_prop_t prop) in vdev_prop_values() argument
565 vdev_prop_column_name(vdev_prop_t prop) in vdev_prop_column_name() argument
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib37 typeset prop=$1
40 zfs get -H -o source $prop $dataset ||
57 typeset prop=$2
60 prop_src=$(get_prop_src $prop $target)
71 log_note "Property $prop of $target has source"\
77 log_note "Property $prop of $target has source"\
82 log_note "Property $prop of $expected has source $prop_src"\
97 typeset prop=$1
101 zfs set $prop=$prop_val $dataset
102 check_val=$(get_prop $prop $dataset)
[all …]
H A Dinherit_001_pos.ksh106 set_n_verify_prop ${prop[i]} \
109 set_n_verify_prop ${prop[i]} \
221 typeset prop=$1
245 exp_val=`get_prop $prop $src`
255 if [[ $prop != "aclinherit" || \
339 for p in ${prop[i]} ${prop[((i+1))]}; do
347 for p in ${prop[i]} ${prop[((i+1))]}; do
374 set -A prop "checksum" "" \
405 prop+=("acltype" "")
409 prop+=("aclmode" "")
[all …]
/freebsd/tests/sys/cddl/zfs/tests/inheritance/
H A Dinherit.kshlib34 typeset prop=$1
37 prop_val=`$ZFS get -H -o source $prop $dataset`
59 typeset prop=$2
62 prop_src=`get_prop_src $prop $target`
73 log_note "Property $prop of $target has source"\
79 log_note "Property $prop of $target has source"\
84 log_note "Property $prop of $expected has source $prop_src"\
99 typeset prop=$1
103 $ZFS set $prop=$prop_val $dataset
104 check_val=`get_prop $prop $dataset`
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_common.kshlib49 typeset prop=$2
55 [ -n "$prop" ] && old_value=$(get_prop $prop $dataset)
57 log_must $ZFS set $prop=$expect_value $dataset
61 [ -n "$prop" ] && cur_value=$(get_prop $prop $dataset)
66 case "$prop" in
101 typeset prop
102 for prop in $user_prop; do
103 $ZFS inherit $prop $dt
104 (($? != 0)) && log_must $ZFS inherit $prop $dt
238 typeset prop=$1
[all …]
/freebsd/usr.sbin/mfiutil/
H A Dmfi_patrol.c80 struct mfi_pr_properties prop; in show_patrol() local
105 switch (prop.op_mode) { in show_patrol()
120 if (at != 0 && prop.next_exec) in show_patrol()
122 prop.next_exec)); in show_patrol()
123 if (prop.exec_freq == 0xffffffff) in show_patrol()
125 else if (prop.exec_freq != 0) in show_patrol()
127 prop.exec_freq); in show_patrol()
250 struct mfi_pr_properties prop; in patrol_config() local
308 prop.op_mode = op_mode; in patrol_config()
311 prop.exec_freq = exec_freq; in patrol_config()
[all …]
/freebsd/sys/contrib/libfdt/
H A Dfdt_rw.c210 if (!*prop) in fdt_resize_property_()
217 (*prop)->len = cpu_to_fdt32(len); in fdt_resize_property_()
245 (*prop)->len = cpu_to_fdt32(len); in fdt_add_property_()
275 struct fdt_property *prop; in fdt_setprop_placeholder() local
286 *prop_data = prop->data; in fdt_setprop_placeholder()
308 struct fdt_property *prop; in fdt_appendprop() local
314 if (prop) { in fdt_appendprop()
321 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop()
327 memcpy(prop->data, val, len); in fdt_appendprop()
334 struct fdt_property *prop; in fdt_delprop() local
[all …]
H A Dfdt_ro.c295 const struct fdt_property *prop; in fdt_get_property_by_offset_() local
308 return prop; in fdt_get_property_by_offset_()
347 return prop; in fdt_get_property_namelen_()
391 if (!prop) in fdt_getprop_namelen()
397 return prop->data + 4; in fdt_getprop_namelen()
398 return prop->data; in fdt_getprop_namelen()
407 if (!prop) in fdt_getprop_by_offset()
415 return prop->data + 4; in fdt_getprop_by_offset()
416 return prop->data; in fdt_getprop_by_offset()
740 const void *prop; in fdt_node_check_compatible() local
[all …]
/freebsd/usr.sbin/ofwdump/
H A Dofwdump.c53 const char *prop, bool raw, bool str);
146 char prop[OFIOCSUGGPROPNAMELEN]; in ofw_dump_properties() local
148 for (nlen = ofw_firstprop(fd, n, prop, sizeof(prop)); nlen != 0; in ofw_dump_properties()
149 nlen = ofw_nextprop(fd, n, prop, prop, sizeof(prop))) in ofw_dump_properties()
150 ofw_dump_property(fd, n, level, prop, raw, str); in ofw_dump_properties()
163 len = ofw_getprop_alloc(fd, n, prop, &pbuf, &pblen, 1); in ofw_dump_property()
172 printf("%s:\n", prop); in ofw_dump_property()
210 ofw_dump_node(int fd, phandle_t n, int level, int rec, int prop, in ofw_dump_node() argument
227 if (prop) { in ofw_dump_node()
235 ofw_dump_node(fd, c, level + 1, rec, prop, pmatch, in ofw_dump_node()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.get_string_props.zcp48 function match(n, prop, ans, src, expected)
49 if ((prop == 'clones') or (prop == 'redact_snaps')) then
56 for prop, expected in pairs(props) do
57 ans, src = zfs.get_prop(fs, prop)
58 if not (match(1, prop, ans, src, expected)) then
59 fs_fails[prop] = {ans, src}
62 ans, src = zfs.get_prop(snap, prop)
63 if not (match(2, prop, ans, src, expected)) then
64 snap_fails[prop] = {ans, src}
67 ans, src = zfs.get_prop(clone, prop)
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_inherit/
H A Dzfs_inherit_002_neg.ksh75 for prop in ${props[@]}; do
76 log_mustnot eval "zfs inherit $opt $prop $ds \
82 for prop in "${illprops[@]}"; do
83 log_mustnot eval "zfs inherit $prop $ds >/dev/null 2>&1"
84 log_mustnot eval "zfs inherit -r $prop $ds >/dev/null 2>&1"
101 for prop in ${props[@]}; do
102 log_mustnot eval "zfs inherit $prop >/dev/null 2>&1"
103 log_mustnot eval "zfs inherit -r $prop >/dev/null 2>&1"
/freebsd/sys/dev/gpio/
H A Dgpiopower.c72 uint32_t prop; in gpiopower_attach() local
93 if ((OF_getprop(node, "active-delay-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach()
94 sc->sc_hi_period = fdt32_to_cpu(prop) * 1000; in gpiopower_attach()
95 if ((OF_getprop(node, "inactive-delay-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach()
96 sc->sc_lo_period = fdt32_to_cpu(prop) * 1000; in gpiopower_attach()
97 if ((OF_getprop(node, "timeout-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach()
98 sc->sc_timeout = fdt32_to_cpu(prop) * 1000; in gpiopower_attach()
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/
H A Dzfs_inherit_002_neg.ksh79 for prop in ${props[@]}; do
80 log_mustnot eval "$ZFS inherit $opt $prop $ds >/dev/null 2>&1"
85 for prop in ${illprops[@]}; do
86 log_mustnot eval "$ZFS inherit $prop $ds >/dev/null 2>&1"
87 log_mustnot eval "$ZFS inherit -r $prop $ds >/dev/null 2>&1"
104 for prop in ${props[@]}; do
105 log_mustnot eval "$ZFS inherit $prop >/dev/null 2>&1"
106 log_mustnot eval "$ZFS inherit -r $prop >/dev/null 2>&1"
/freebsd/tests/sys/cddl/zfs/tests/rsend/
H A Drsend_012_pos.ksh59 typeset prop=$2
63 log_must eval "$ZFS set $prop='$value' $dtst"
91 typeset prop value
92 while read prop value ; do
93 eval $ZFS set $prop='$value' $ds
95 log_fail "$ZFS set $prop=$value $ds"
112 typeset prop
113 for prop in $(fs_inherit_prop) ; do
114 log_must $ZFS inherit $prop $POOL
115 log_must $ZFS inherit $prop $POOL2
[all …]
H A Drsend_011_pos.ksh70 for prop in $(fs_inherit_prop); do
71 value=$(get_prop $prop $POOL/$FS)
72 log_must $ZFS set $prop=$value $POOL/$FS
79 for prop in $(fs_inherit_prop) ; do
80 $ZFS inherit $prop $ds
82 log_fail "$ZFS inherit $prop $ds"
87 for prop in $(vol_inherit_prop) ; do
88 $ZFS inherit $prop $POOL/$FS/vol
90 log_fail "$ZFS inherit $prop $POOL/$FS/vol"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dproperties.shlib50 typeset prop=$1
63 log_fail "get_rand_prop_vals: bad prop $prop"
92 typeset prop=$2
94 typeset val=$(get_prop $prop $ds)
98 log_must zfs set $prop=$newval $ds
104 typeset prop
106 for prop in "${binary_props[@]}"; do
107 toggle_prop $ds $prop
114 typeset prop proplist val
126 for prop in $proplist; do
[all …]

12345678910>>...14