Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c153 prop = NULL; in bhnd_nvram_plist_copy()
154 while ((prop = bhnd_nvram_plist_next(plist, prop)) != NULL) { in bhnd_nvram_plist_copy()
224 entry->prop = bhnd_nvram_prop_retain(prop); in bhnd_nvram_plist_replace()
433 entry->prop = bhnd_nvram_prop_retain(prop); in bhnd_nvram_plist_append()
554 if (entry->prop != prop) in bhnd_nvram_plist_next()
783 prop = bhnd_nv_calloc(1, sizeof(*prop)); in bhnd_nvram_prop_new()
784 if (prop == NULL) in bhnd_nvram_prop_new()
788 prop->refs = 1; in bhnd_nvram_prop_new()
796 return (prop); in bhnd_nvram_prop_new()
849 return (prop); in bhnd_nvram_prop_bytes_new()
[all …]
H A Dbhnd_nvram_plist.h60 bhnd_nvram_prop *prop);
70 bhnd_nvram_prop *prop);
85 bhnd_nvram_prop *prop);
116 bhnd_nvram_prop *bhnd_nvram_prop_retain(bhnd_nvram_prop *prop);
117 void bhnd_nvram_prop_release(bhnd_nvram_prop *prop);
119 const char *bhnd_nvram_prop_name(bhnd_nvram_prop *prop);
120 bhnd_nvram_val *bhnd_nvram_prop_val(bhnd_nvram_prop *prop);
121 bhnd_nvram_type bhnd_nvram_prop_type(bhnd_nvram_prop *prop);
123 bool bhnd_nvram_prop_is_null(bhnd_nvram_prop *prop);
125 const void *bhnd_nvram_prop_bytes(bhnd_nvram_prop *prop,
[all …]
H A Dbhnd_nvram_store.c461 bhnd_nvram_prop *prop; in bhnd_nvstore_export_merge() local
463 prop = NULL; in bhnd_nvstore_export_merge()
464 while ((prop = bhnd_nvram_plist_next(path->pending, prop))) { in bhnd_nvstore_export_merge()
733 prop = NULL; in bhnd_nvram_store_export_child()
734 while ((prop = bhnd_nvram_plist_next(path_vars, prop))) { in bhnd_nvram_store_export_child()
752 prop = NULL; in bhnd_nvram_store_export_child()
753 while ((prop = bhnd_nvram_plist_next(path_vars, prop)) != NULL) { in bhnd_nvram_store_export_child()
958 if (prop == NULL) in bhnd_nvram_store_export()
971 prop = NULL; in bhnd_nvram_store_export()
972 while ((prop = bhnd_nvram_plist_next(unordered, prop)) != NULL) { in bhnd_nvram_store_export()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzprop_common.c79 pd = &prop_tbl[prop]; in zprop_register_impl()
192 prop = ZPROP_CONT; in zprop_iter_common()
206 return (prop); in zprop_iter_common()
248 return (prop); in zprop_name_to_prop_cb()
256 int prop; in zprop_name_to_prop() local
265 return (prop == ZPROP_CONT ? ZPROP_INVAL : prop); in zprop_name_to_prop()
276 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_string_to_index()
302 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_index_to_string()
344 ASSERT(prop != ZPROP_INVAL && prop != ZPROP_CONT); in zprop_values()
360 if (prop == ZPROP_INVAL || prop == ZPROP_CONT) in zprop_valid_for_type()
[all …]
H A Dzfs_prop.c485 zfs_prop_delegatable(zfs_prop_t prop) in zfs_prop_delegatable() argument
490 if (prop == ZFS_PROP_MLSLABEL) in zfs_prop_delegatable()
549 zfs_userquota_prop_t prop; in zfs_prop_userquota() local
551 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) { in zfs_prop_userquota()
605 zfs_prop_get_type(zfs_prop_t prop) in zfs_prop_get_type() argument
614 zfs_prop_readonly(zfs_prop_t prop) in zfs_prop_readonly() argument
624 zfs_prop_visible(zfs_prop_t prop) in zfs_prop_visible() argument
633 zfs_prop_setonce(zfs_prop_t prop) in zfs_prop_setonce() argument
655 zfs_prop_to_name(zfs_prop_t prop) in zfs_prop_to_name() argument
677 zfs_prop_values(zfs_prop_t prop) in zfs_prop_values() argument
[all …]
H A Dzpool_prop.c159 zpool_prop_to_name(zpool_prop_t prop) in zpool_prop_to_name() argument
161 return (zpool_prop_table[prop].pd_name); in zpool_prop_to_name()
165 zpool_prop_get_type(zpool_prop_t prop) in zpool_prop_get_type() argument
167 return (zpool_prop_table[prop].pd_proptype); in zpool_prop_get_type()
171 zpool_prop_readonly(zpool_prop_t prop) in zpool_prop_readonly() argument
177 zpool_prop_default_string(zpool_prop_t prop) in zpool_prop_default_string() argument
231 zpool_prop_values(zpool_prop_t prop) in zpool_prop_values() argument
233 return (zpool_prop_table[prop].pd_values); in zpool_prop_values()
237 zpool_prop_column_name(zpool_prop_t prop) in zpool_prop_column_name() argument
239 return (zpool_prop_table[prop].pd_colname); in zpool_prop_column_name()
[all …]
/freebsd-12.1/contrib/dtc/
H A Dchecks.c174 if (!prop) in check_is_string()
193 if (!prop) in check_is_cell()
286 if (prop && !prop->val.len) in check_unit_address_vs_reg()
312 prop->name[n], prop->name, node->fullpath); in check_property_name_chars()
353 ((prop) ? (prop)->name : ""), \
413 if (!prop) in check_phandle_prop()
418 node->fullpath, prop->val.len, prop->name); in check_phandle_prop()
498 if (!prop) in check_name_properties()
603 if (prop) in fixup_addr_size_cells()
607 if (prop) in fixup_addr_size_cells()
[all …]
H A Dlivetree.c231 prop->next = NULL; in add_property()
237 *p = prop; in add_property()
244 while (prop) { in delete_property_by_name()
249 prop = prop->next; in delete_property_by_name()
255 prop->deleted = 1; in delete_property()
388 return prop; in get_property()
412 return prop; in get_property_by_label()
417 if (prop) in get_property_by_label()
418 return prop; in get_property_by_label()
435 *prop = p; in get_marker_label()
[all …]
/freebsd-12.1/sys/dev/drm2/i915/
H A Dintel_modes.c87 struct drm_property *prop; in intel_attach_force_audio_property() local
89 prop = dev_priv->force_audio_property; in intel_attach_force_audio_property()
90 if (prop == NULL) { in intel_attach_force_audio_property()
91 prop = drm_property_create_enum(dev, 0, in intel_attach_force_audio_property()
95 if (prop == NULL) in intel_attach_force_audio_property()
98 dev_priv->force_audio_property = prop; in intel_attach_force_audio_property()
113 struct drm_property *prop; in intel_attach_broadcast_rgb_property() local
115 prop = dev_priv->broadcast_rgb_property; in intel_attach_broadcast_rgb_property()
116 if (prop == NULL) { in intel_attach_broadcast_rgb_property()
121 if (prop == NULL) in intel_attach_broadcast_rgb_property()
[all …]
/freebsd-12.1/sys/mips/beri/
H A Dberi_mp.c74 char prop[16]; in platform_cpu_mask() local
117 "enable-method", &prop, sizeof(prop)) <= 0) { in platform_cpu_mask()
122 if (strcmp("spin-table", prop) != 0) { in platform_cpu_mask()
262 char prop[16]; in platform_start_ap() local
270 if (OF_getprop(cpu, "status", &prop, sizeof(prop)) <= 0) { in platform_start_ap()
275 sizeof(prop)) <= 0) in platform_start_ap()
279 if (strcmp("disabled", prop) != 0) in platform_start_ap()
281 __func__, cpuid, prop); in platform_start_ap()
283 if (OF_getprop(cpu, "enable-method", &prop, sizeof(prop)) <= 0) { in platform_start_ap()
288 sizeof(prop)) <= 0) in platform_start_ap()
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/tests/inheritance/
H A Dinherit.kshlib39 typeset prop=$1
42 prop_val=`$ZFS get -H -o source $prop $dataset`
64 typeset prop=$2
67 prop_src=`get_prop_src $prop $target`
78 log_note "Property $prop of $target has source"\
84 log_note "Property $prop of $target has source"\
89 log_note "Property $prop of $expected has source $prop_src"\
104 typeset prop=$1
108 $ZFS set $prop=$prop_val $dataset
109 check_val=`get_prop $prop $dataset`
[all …]
/freebsd-12.1/usr.sbin/eeprom/
H A Dofw_options.c82 printf("%s: %.*s\n", prop, buflen, buf); in ofwo_printprop()
250 char prop[OFWO_MAXPROP + 1]; in ofwo_dump() local
257 for (nlen = ofw_firstprop(fd, optnode, prop, sizeof(prop)); nlen != 0; in ofwo_dump()
258 nlen = ofw_nextprop(fd, optnode, prop, prop, sizeof(prop))) { in ofwo_dump()
262 if (strcmp(prop, "name") == 0) in ofwo_dump()
265 if (strcmp(ex->ex_prop, prop) == 0) in ofwo_dump()
270 ofwo_printprop(prop, (char *)pbuf, len); in ofwo_dump()
287 if (strcmp(prop, "name") == 0) in ofwo_action()
299 if (strcmp(ex->ex_prop, prop) == 0) in ofwo_action()
304 rv = ofwo_setstr(fd, pbuf, len, prop, val); in ofwo_action()
[all …]
/freebsd-12.1/usr.sbin/mfiutil/
H A Dmfi_patrol.c82 struct mfi_pr_properties prop; in show_patrol() local
107 switch (prop.op_mode) { in show_patrol()
122 if (at != 0 && prop.next_exec) in show_patrol()
124 prop.next_exec)); in show_patrol()
125 if (prop.exec_freq == 0xffffffff) in show_patrol()
127 else if (prop.exec_freq != 0) in show_patrol()
129 prop.exec_freq); in show_patrol()
252 struct mfi_pr_properties prop; in patrol_config() local
310 prop.op_mode = op_mode; in patrol_config()
313 prop.exec_freq = exec_freq; in patrol_config()
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_common.kshlib54 typeset prop=$2
60 [ -n "$prop" ] && old_value=$(get_prop $prop $dataset)
62 log_must $ZFS set $prop=$expect_value $dataset
66 [ -n "$prop" ] && cur_value=$(get_prop $prop $dataset)
71 case "$prop" in
106 typeset prop
107 for prop in $user_prop; do
108 $ZFS inherit $prop $dt
109 (($? != 0)) && log_must $ZFS inherit $prop $dt
243 typeset prop=$1
[all …]
/freebsd-12.1/contrib/dtc/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() local
287 memcpy(prop->data, val, len); in fdt_setprop()
294 struct fdt_property *prop; in fdt_appendprop() local
300 if (prop) { in fdt_appendprop()
307 prop->len = cpu_to_fdt32(newlen); in fdt_appendprop()
313 memcpy(prop->data, val, len); in fdt_appendprop()
320 struct fdt_property *prop; in fdt_delprop() local
[all …]
H A Dfdt_ro.c276 const struct fdt_property *prop; in fdt_get_property_by_offset() local
289 return prop; in fdt_get_property_by_offset()
308 return prop; in fdt_get_property_namelen()
327 const struct fdt_property *prop; in fdt_getprop_namelen() local
330 if (! prop) in fdt_getprop_namelen()
333 return prop->data; in fdt_getprop_namelen()
339 const struct fdt_property *prop; in fdt_getprop_by_offset() local
342 if (!prop) in fdt_getprop_by_offset()
346 return prop->data; in fdt_getprop_by_offset()
670 const void *prop; in fdt_node_check_compatible() local
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_subr/
H A Dproperties.c207 svn_prop_t *prop, *newprop; in svn_categorize_props() local
346 if (prop->name) in svn_prop__members_dup()
347 prop->name = apr_pstrdup(pool, prop->name); in svn_prop__members_dup()
348 if (prop->value) in svn_prop__members_dup()
349 prop->value = svn_string_dup(prop->value, pool); in svn_prop__members_dup()
357 *new_prop = *prop; in svn_prop_dup()
391 svn_prop_t prop; in svn_prop_hash_to_array() local
394 prop.name = key; in svn_prop_hash_to_array()
395 prop.value = val; in svn_prop_hash_to_array()
414 void *prop; in svn_prop_hash_dup() local
[all …]
/freebsd-12.1/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-12.1/usr.sbin/ofwdump/
H A Dofwdump.c54 const char *prop, int raw, int str);
147 char prop[32]; in ofw_dump_properties() local
149 for (nlen = ofw_firstprop(fd, n, prop, sizeof(prop)); nlen != 0; in ofw_dump_properties()
150 nlen = ofw_nextprop(fd, n, prop, prop, sizeof(prop))) in ofw_dump_properties()
151 ofw_dump_property(fd, n, level, prop, raw, str); in ofw_dump_properties()
164 len = ofw_getprop_alloc(fd, n, prop, &pbuf, &pblen, 1); in ofw_dump_property()
173 printf("%s:\n", prop); in ofw_dump_property()
211 ofw_dump_node(int fd, phandle_t n, int level, int rec, int prop, in ofw_dump_node() argument
228 if (prop) { in ofw_dump_node()
236 ofw_dump_node(fd, c, level + 1, rec, prop, pmatch, in ofw_dump_node()
[all …]
/freebsd-12.1/sys/arm/amlogic/aml8726/
H A Daml8726_fb.c304 pcell_t prop; in aml8726_fb_attach() local
313 if (OF_getencprop(node, "width", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
317 if ((prop % 8) != 0) { in aml8726_fb_attach()
324 if (OF_getencprop(node, "height", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
330 if (OF_getencprop(node, "depth", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
334 if (prop != 24) { in aml8726_fb_attach()
340 sc->info.fb_bpp = prop; in aml8726_fb_attach()
342 if (OF_getencprop(node, "linebytes", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
346 if ((prop % 8) != 0) { in aml8726_fb_attach()
358 if (OF_getencprop(node, "address", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/tests/rsend/
H A Drsend_012_pos.ksh64 typeset prop=$2
68 log_must eval "$ZFS set $prop='$value' $dtst"
96 typeset prop value
97 while read prop value ; do
98 eval $ZFS set $prop='$value' $ds
100 log_fail "$ZFS set $prop=$value $ds"
117 typeset prop
118 for prop in $(fs_inherit_prop) ; do
119 log_must $ZFS inherit $prop $POOL
120 log_must $ZFS inherit $prop $POOL2
[all …]
H A Drsend_011_pos.ksh75 for prop in $(fs_inherit_prop); do
76 value=$(get_prop $prop $POOL/$FS)
77 log_must $ZFS set $prop=$value $POOL/$FS
84 for prop in $(fs_inherit_prop) ; do
85 $ZFS inherit $prop $ds
87 log_fail "$ZFS inherit $prop $ds"
92 for prop in $(vol_inherit_prop) ; do
93 $ZFS inherit $prop $POOL/$FS/vol
95 log_fail "$ZFS inherit $prop $POOL/$FS/vol"
/freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_inherit/
H A Dzfs_inherit_002_neg.ksh84 for prop in ${props[@]}; do
85 log_mustnot eval "$ZFS inherit $opt $prop $ds >/dev/null 2>&1"
90 for prop in ${illprops[@]}; do
91 log_mustnot eval "$ZFS inherit $prop $ds >/dev/null 2>&1"
92 log_mustnot eval "$ZFS inherit -r $prop $ds >/dev/null 2>&1"
109 for prop in ${props[@]}; do
110 log_mustnot eval "$ZFS inherit $prop >/dev/null 2>&1"
111 log_mustnot eval "$ZFS inherit -r $prop >/dev/null 2>&1"
/freebsd-12.1/sys/dev/ofw/
H A Dofw_fdt.c233 const void *prop; in ofw_fdt_getproplen() local
241 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getproplen()
256 if (prop == NULL) in ofw_fdt_getproplen()
267 const void *prop; in ofw_fdt_getprop() local
276 prop = fdt_getprop(fdtp, offset, propname, &len); in ofw_fdt_getprop()
289 prop = &cpuid; in ofw_fdt_getprop()
297 if (prop == NULL) in ofw_fdt_getprop()
300 bcopy(prop, buf, min(len, buflen)); in ofw_fdt_getprop()
315 const void *prop; in ofw_fdt_nextprop() local
329 if (prop == NULL) in ofw_fdt_nextprop()
[all …]

12345678910