Home
last modified time | relevance | path

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

12345678910>>...23

/illumos-gate/usr/src/cmd/hal/hald/
H A Dproperty.c58 g_free (prop->key); in hal_property_free()
70 g_free (prop); in hal_property_free()
76 HalProperty *prop; in hal_property_new_string() local
97 return prop; in hal_property_new_string()
103 HalProperty *prop; in hal_property_new_int() local
111 return prop; in hal_property_new_int()
125 return prop; in hal_property_new_uint64()
139 return prop; in hal_property_new_bool()
153 return prop; in hal_property_new_double()
161 return prop->key; in hal_property_get_key()
[all …]
H A Ddevice.c496 HalProperty *prop; in hal_device_property_to_string() local
499 if (!prop) in hal_device_property_to_string()
529 HalProperty *prop; in hal_device_property_get_type() local
536 if (prop != NULL) in hal_device_property_get_type()
552 if (prop != NULL) in hal_device_property_get_string()
632 if (prop != NULL) in hal_device_property_get_int()
648 if (prop != NULL) in hal_device_property_get_uint64()
664 if (prop != NULL) in hal_device_property_get_bool()
680 if (prop != NULL) in hal_device_property_get_double()
900 if (prop == NULL) in hal_device_property_remove()
[all …]
H A Dproperty.h48 void hal_property_free (HalProperty *prop);
62 const char *hal_property_get_key (HalProperty *prop);
63 int hal_property_get_type (HalProperty *prop);
73 void hal_property_set_string (HalProperty *prop,
75 void hal_property_set_int (HalProperty *prop,
77 void hal_property_set_uint64 (HalProperty *prop,
79 void hal_property_set_bool (HalProperty *prop,
81 void hal_property_set_double (HalProperty *prop,
83 gboolean hal_property_strlist_append (HalProperty *prop,
97 void hal_property_set_attribute (HalProperty *prop,
[all …]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-install152 net_install_name=$prop
165 case $prop in
167 net_install_addrtype=$prop
198 net_install_addr=$prop
231 net_install_route=$prop
258 net_install_name=$prop
271 case $prop in
303 net_install_addr=$prop
342 case $prop in
372 case $prop in
[all …]
/illumos-gate/usr/src/test/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)
118 typeset prop
120 zfs inherit $prop $dt
257 typeset prop=$1
282 typeset prop="$2"
308 typeset prop="$2"
[all …]
/illumos-gate/usr/src/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.c544 if (prop == ZFS_PROP_MLSLABEL) in zfs_prop_delegatable()
603 zfs_userquota_prop_t prop; in zfs_prop_userquota() local
605 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) { in zfs_prop_userquota()
659 zfs_prop_get_type(zfs_prop_t prop) in zfs_prop_get_type() argument
668 zfs_prop_readonly(zfs_prop_t prop) in zfs_prop_readonly() argument
679 zfs_prop_visible(zfs_prop_t prop) in zfs_prop_visible() argument
688 zfs_prop_setonce(zfs_prop_t prop) in zfs_prop_setonce() argument
711 zfs_prop_to_name(zfs_prop_t prop) in zfs_prop_to_name() argument
737 return (prop == ZFS_PROP_PBKDF2_SALT || prop == ZFS_PROP_PBKDF2_ITERS || in zfs_prop_encryption_key_param()
738 prop == ZFS_PROP_KEYFORMAT); in zfs_prop_encryption_key_param()
[all …]
H A Dzpool_prop.c167 zpool_prop_to_name(zpool_prop_t prop) in zpool_prop_to_name() argument
169 return (zpool_prop_table[prop].pd_name); in zpool_prop_to_name()
173 zpool_prop_get_type(zpool_prop_t prop) in zpool_prop_get_type() argument
175 return (zpool_prop_table[prop].pd_proptype); in zpool_prop_get_type()
179 zpool_prop_readonly(zpool_prop_t prop) in zpool_prop_readonly() argument
185 zpool_prop_default_string(zpool_prop_t prop) in zpool_prop_default_string() argument
239 zpool_prop_values(zpool_prop_t prop) in zpool_prop_values() argument
241 return (zpool_prop_table[prop].pd_values); in zpool_prop_values()
245 zpool_prop_column_name(zpool_prop_t prop) in zpool_prop_column_name() argument
247 return (zpool_prop_table[prop].pd_colname); in zpool_prop_column_name()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c1468 prop = di_prop_drv_next(node, prop); in di_prop_next()
1471 prop = di_prop_sys_next(node, prop); in di_prop_next()
1474 prop = di_prop_global_next(node, prop); in di_prop_next()
1477 prop = di_prop_hw_next(node, prop); in di_prop_next()
1500 return ((caddr_t)prop - DI_PROP(prop)->self + DI_PROP(prop)->prop_name); in di_prop_name()
1676 di_prop_name(prop), di_prop_devt(prop), in di_prop_search()
1698 di_prop_name(prop), di_prop_devt(prop), in di_prop_find()
2174 pa = (caddr_t)prop - DI_PATHPROP(prop)->self; in di_path_prop_name()
2962 bcopy(opp->oprom_array, prop->data, prop->len); in di_prom_prop_found()
3128 if ((prop->data = malloc(prop->len)) == NULL) { in di_prom_prop_lookup_common()
[all …]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_property.c45 zfs_prop_t prop; member
520 if (prop == props_custom[i].prop) { in zjni_get_default_property()
539 return (prop); in zjni_get_property_from_name_cb()
547 zfs_prop_t prop; in zjni_get_property_from_name() local
551 return (prop == ZPROP_CONT ? ZPROP_INVAL : prop); in zjni_get_property_from_name()
574 jobject prop; in zjni_get_Dataset_properties() local
587 if (prop != NULL) { in zjni_get_Dataset_properties()
610 if (prop != NULL) { in zjni_get_Dataset_properties()
632 if (prop != NULL) { in zjni_get_Dataset_properties()
651 prop = create_ObjectProperty(env, zhp, props_custom[i].prop, in zjni_get_Dataset_properties()
[all …]
/illumos-gate/usr/src/lib/libscf/common/
H A Dmidlevel.c2323 prop = prop->pr_next; in scf_simple_app_props_search()
2364 if ((prop == NULL) || (prop->pr_propname == NULL)) { in scf_simple_prop_name()
2376 if ((prop == NULL) || (prop->pr_pgname == NULL)) { in scf_simple_prop_pgname()
2417 if (prop->pr_iter >= prop->pr_numvalues) { in scf_next_val()
2422 return (&prop->pr_vallist[prop->pr_iter++]); in scf_next_val()
2597 for (prop = propvec; prop->pv_prop != NULL; prop++) { in scf_clean_propvec()
2664 for (prop = properties; prop->pv_prop != NULL; prop++) { in scf_read_propvec()
2699 for (prop = properties; prop->pv_prop != NULL; prop++) { in scf_read_propvec()
2871 for (prop = properties, i = 0; prop->pv_prop != NULL; prop++, i++) { in scf_write_propvec()
2876 prop->pv_prop, prop->pv_type); in scf_write_propvec()
[all …]
H A Dhighlevel.c180 scf_propvec_t *prop; in scf_get_boot_config() local
182 for (prop = ua_boot_config; prop->pv_prop != NULL; prop++) in scf_get_boot_config()
183 prop->pv_ptr = &ret; in scf_get_boot_config()
184 prop = NULL; in scf_get_boot_config()
200 if (prop != NULL) { in scf_get_boot_config()
240 scf_propvec_t *prop; in scf_getset_boot_config_ovr() local
256 for (prop = ua_boot_config_ovr; prop->pv_prop != NULL; prop++) in scf_getset_boot_config_ovr()
258 prop = NULL; in scf_getset_boot_config_ovr()
266 &prop); in scf_getset_boot_config_ovr()
270 if (prop != NULL) { in scf_getset_boot_config_ovr()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcpu_event.c832 prop = kmem_zalloc(sizeof (*prop) * CPU_IDLE_VALUE_GROUP_SIZE, in cpu_idle_prop_allocate_impl()
862 for (prop = cpu_idle_prop_busy; prop != NULL; prop = prop->next) { in cpu_idle_prop_create_property()
869 if (prop == NULL) { in cpu_idle_prop_create_property()
881 prop->type = type; in cpu_idle_prop_create_property()
884 prop->refcnt = 1; in cpu_idle_prop_create_property()
885 *hdlp = prop; in cpu_idle_prop_create_property()
917 bzero(prop, sizeof (*prop)); in cpu_idle_prop_destroy_property()
947 for (prop = cpu_idle_prop_busy; prop != NULL; prop = prop->next) { in cpu_idle_prop_create_handle()
976 for (prop = cpu_idle_prop_busy; prop != NULL; prop = prop->next) { in cpu_idle_prop_destroy_handle()
977 if (prop == hdl) { in cpu_idle_prop_destroy_handle()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/inheritance/
H A Dinherit.kshlib38 typeset prop=$1
41 prop_val=`zfs get -H -o source $prop $dataset`
63 typeset prop=$2
66 prop_src=`get_prop_src $prop $target`
77 log_note "Property $prop of $target has source"\
83 log_note "Property $prop of $target has source"\
88 log_note "Property $prop of $expected has source $prop_src"\
103 typeset prop=$1
107 zfs set $prop=$prop_val $dataset
108 check_val=`get_prop $prop $dataset`
[all …]
H A Dinherit_001_pos.ksh102 if [[ ${prop[i]} == "recordsize" ]]; then
106 set_n_verify_prop ${prop[i]} \
109 set_n_verify_prop ${prop[i]} \
226 typeset prop=$1
235 prop_val=`get_prop $prop $dataset`
238 if [[ $prop == "mountpoint" ]]; then
250 exp_val=`get_prop $prop $src`
260 if [[ $prop != "aclinherit" || \
344 for p in ${prop[i]} ${prop[((i+1))]}; do
354 for p in ${prop[i]} ${prop[((i+1))]}; do
[all …]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c229 prop = new; in dump_node()
328 prop = prop->next; in has_board_num()
351 prop = prop->next; in get_board_num()
412 Prop *prop; in get_node_name() local
422 prop = prop->next; in get_node_name()
434 Prop *prop; in get_node_type() local
444 prop = prop->next; in get_node_type()
616 Prop *prop; in find_prop() local
630 prop = prop->next; in find_prop()
632 return (prop); in find_prop()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/dladm/
H A Dset-linkprop.ksh76 typeset prop=$2
81 [[ -z "$prop" ]] && fatal "missing required prop"
84 [[ $? -eq 0 ]] || fatal "failed to get $prop for $dev"
95 typeset prop=$2
100 [[ -z "$prop" ]] && fatal "missing required prop"
117 typeset prop=$2
120 [[ -z "$prop" ]] && fatal "missing required prop"
136 typeset prop=$3
138 typeset msg="failed to set prop $prop on $dev"
142 [[ -z "$prop" ]] && fatal "missing required prop"
[all …]
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_strprop.c108 smbios_strprop_t prop; in smbios_test_strprop_verify_badtable() local
147 smbios_strprop_t prop; in smbios_test_strprop_verify_badtype() local
179 smbios_strprop_t prop; in smbios_test_strprop_verify_basic() local
196 SMB_STRP_UEFI_DEVPATH, prop.smbsp_prop_id); in smbios_test_strprop_verify_basic()
203 smbios_strprop_id_desc(prop.smbsp_prop_id)); in smbios_test_strprop_verify_basic()
209 prop.smbsp_prop_val); in smbios_test_strprop_verify_basic()
220 smbios_strprop_t prop; in smbios_test_strprop_verify_badstr() local
237 SMB_STRP_UEFI_DEVPATH, prop.smbsp_prop_id); in smbios_test_strprop_verify_badstr()
244 smbios_strprop_id_desc(prop.smbsp_prop_id)); in smbios_test_strprop_verify_badstr()
248 if (strcmp(prop.smbsp_prop_val, "") != 0) { in smbios_test_strprop_verify_badstr()
[all …]
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c155 while (prop[i].ip_name != NULL && strcmp(name, prop[i].ip_name) != 0) in find_prop()
158 if (prop[i].ip_name == NULL) in find_prop()
161 if (prop[i].ip_type != type) in find_prop()
164 return ((inetd_prop_t *)prop + i); in find_prop()
599 prop[i].ip_error = IVE_VALID; in valid_props()
982 if (prop[i].ip_default && in valid_props()
983 !valid_default_prop(prop[i].ip_name, &prop[i].ip_value)) in valid_props()
1210 if (prop == NULL) in free_instance_props()
1220 free(prop); in free_instance_props()
1431 scf_property_t *prop = NULL; in store_inetd_hash() local
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dconsconfig_dacf.c1577 ASSERT((prop->cp_type == CONS_KBD) || (prop->cp_type == CONS_MS)); in do_config()
1629 ASSERT((prop->cp_type == CONS_KBD) || (prop->cp_type == CONS_MS)); in do_unconfig()
1731 cons_prop_t *prop; in kb_ms_unconfig() local
1822 cons_prop_t *prop; in consconfig_link() local
2033 for (prop = sp->cons_km_prop; prop; prop = prop->cp_next) { in consconfig_check_phys_kbd()
2034 if ((prop->cp_type != CONS_KBD) || (prop->cp_muxid == -1)) in consconfig_check_phys_kbd()
2069 for (prop = sp->cons_km_prop; prop != NULL; ) { in consconfig_rem_dev()
2080 prop = prop->cp_next; in consconfig_rem_dev()
2104 for (prop = sp->cons_km_prop; prop; prop = prop->cp_next) { in consconfig_find_dev()
2109 return (prop); in consconfig_find_dev()
[all …]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_impl.c168 ddi_hp_property_t prop; in private_options() local
188 free_properties(&prop); in private_options()
199 &prop, &results)) in private_options()
204 &prop, &results)) in private_options()
219 free_properties(&prop); in private_options()
325 prop->nvlist_buf = buf; in pack_properties()
326 prop->buf_size = len; in pack_properties()
354 if ((prop->nvlist_buf == NULL) || (prop->buf_size == 0)) { in unpack_properties()
360 if (nvlist_unpack(prop->nvlist_buf, prop->buf_size, &nvl, 0) != 0) { in unpack_properties()
430 if (prop) { in free_properties()
[all …]
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c127 getpropval(struct openpromio *opp, char *prop) in getpropval() argument
131 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); in getpropval()
140 getnextprop(struct openpromio *opp, char *prop) in getnextprop() argument
169 prom_getprop(char *prop, int *lenp) in prom_getprop() argument
173 if (!getpropval(opp, prop)) in prom_getprop()
180 prom_nextprop(char *prop) in prom_nextprop() argument
184 if (!getnextprop(opp, prop)) in prom_nextprop()
231 ddi_prop_t *prop, *plist; in get_propval() local
236 for (prop = plist; prop != NULL; prop = prop->prop_next) in get_propval()
237 if (strcmp(prop->prop_name, name) == 0) in get_propval()
[all …]
/illumos-gate/usr/src/psm/stand/cpr/common/
H A Dsupport.c95 cprop_t *prop, *tail; in cpr_reset_properties() local
133 for (prop_errors = 0, prop = cdef.props, tail = prop + CPR_MAXPROP; in cpr_reset_properties()
134 prop < tail; prop++) { in cpr_reset_properties()
137 prop->mod, prop->name, prop->value); in cpr_reset_properties()
139 if (prop->mod != PROP_MOD) in cpr_reset_properties()
142 len = prom_strlen(prop->value); in cpr_reset_properties()
143 if (prom_setprop(node, prop->name, prop->value, len + 1) < 0 || in cpr_reset_properties()
144 prom_getproplen(node, prop->name) != len) { in cpr_reset_properties()
146 str, prop->name, prop->value); in cpr_reset_properties()
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c1665 return (pinfo->p_chkfn(prop)); in smbadm_prop_validate()
1672 prop->p_name); in smbadm_prop_validate()
1686 prop->p_name = prop->p_value = NULL; in smbadm_prop_parse()
1693 prop->p_name = arg; in smbadm_prop_parse()
1701 prop->p_value = equal; in smbadm_prop_parse()
1765 if (strcasecmp(prop->p_value, "on") == 0) { in smbadm_group_setpriv()
1866 smbadm_chkprop_priv(smbadm_prop_t *prop) in smbadm_chkprop_priv() argument
1868 if (prop->p_value == NULL || *prop->p_value == '\0') { in smbadm_chkprop_priv()
1874 if (strcasecmp(prop->p_value, "on") == 0) in smbadm_chkprop_priv()
1877 if (strcasecmp(prop->p_value, "off") == 0) in smbadm_chkprop_priv()
[all …]
/illumos-gate/usr/src/lib/libpicltree/
H A Dptree_impl.h152 picl_prop_t prop; member
156 #define pinfo_ver u.prop.info.version
161 #define prop_val u.prop.pvalue
162 #define next_row u.prop.next_by_row
163 #define next_col u.prop.next_by_col
164 #define next_prop u.prop.next_in_list
165 #define table_prop u.prop.next_in_list
166 #define prop_node u.prop.nodep
167 #define prop_table u.prop.nodep
168 #define read_func u.prop.info.read
[all …]

12345678910>>...23