/titanic_51/usr/src/cmd/hal/hald/ |
H A D | property.c | 55 hal_property_free (HalProperty *prop) in hal_property_free() argument 58 g_free (prop->key); in hal_property_free() 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { in hal_property_free() 61 g_free (prop->v.str_value); in hal_property_free() 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { in hal_property_free() 64 for (i = prop->v.strlist_value; i != NULL; i = g_slist_next (i)) { in hal_property_free() 67 g_slist_free (prop->v.strlist_value); in hal_property_free() 70 g_free (prop); in hal_property_free() 76 HalProperty *prop; in hal_property_new_string() local 80 prop in hal_property_new_string() 103 HalProperty *prop; hal_property_new_int() local 117 HalProperty *prop; hal_property_new_uint64() local 131 HalProperty *prop; hal_property_new_bool() local 145 HalProperty *prop; hal_property_new_double() local 157 hal_property_get_key(HalProperty * prop) hal_property_get_key() argument 165 hal_property_get_type(HalProperty * prop) hal_property_get_type() argument 173 hal_property_get_string(HalProperty * prop) hal_property_get_string() argument 182 hal_property_get_int(HalProperty * prop) hal_property_get_int() argument 191 hal_property_get_uint64(HalProperty * prop) hal_property_get_uint64() argument 200 hal_property_get_bool(HalProperty * prop) hal_property_get_bool() argument 209 hal_property_to_string(HalProperty * prop) hal_property_to_string() argument 258 hal_property_get_double(HalProperty * prop) hal_property_get_double() argument 267 hal_property_set_string(HalProperty * prop,const char * value) hal_property_set_string() argument 294 hal_property_set_int(HalProperty * prop,dbus_int32_t value) hal_property_set_int() argument 305 hal_property_set_uint64(HalProperty * prop,dbus_uint64_t value) hal_property_set_uint64() argument 316 hal_property_set_bool(HalProperty * prop,dbus_bool_t value) hal_property_set_bool() argument 327 hal_property_set_double(HalProperty * prop,double value) hal_property_set_double() argument 338 hal_property_set_attribute(HalProperty * prop,enum PropertyAttribute attr,gboolean val) hal_property_set_attribute() argument 358 hal_property_get_attribute(HalProperty * prop,enum PropertyAttribute attr) hal_property_get_attribute() argument 378 HalProperty *prop; hal_property_new_strlist() local 390 hal_property_get_strlist(HalProperty * prop) hal_property_get_strlist() argument 399 hal_property_strlist_append(HalProperty * prop,const char * value) hal_property_strlist_append() argument 410 hal_property_strlist_prepend(HalProperty * prop,const char * value) hal_property_strlist_prepend() argument 421 hal_property_strlist_remove_elem(HalProperty * prop,guint index) hal_property_strlist_remove_elem() argument 442 hal_property_strlist_add(HalProperty * prop,const char * value) hal_property_strlist_add() argument 459 hal_property_strlist_remove(HalProperty * prop,const char * value) hal_property_strlist_remove() argument 477 hal_property_strlist_clear(HalProperty * prop) hal_property_strlist_clear() argument [all...] |
H A D | device.c | 496 HalProperty *prop; in hal_device_property_to_string() local 498 prop = hal_device_property_find (device, key); in hal_device_property_to_string() 499 if (!prop) in hal_device_property_to_string() 502 return hal_property_to_string (prop); in hal_device_property_to_string() 529 HalProperty *prop; in hal_device_property_get_type() local 534 prop = hal_device_property_find (device, key); in hal_device_property_get_type() 536 if (prop != NULL) in hal_device_property_get_type() 537 return hal_property_get_type (prop); in hal_device_property_get_type() 545 HalProperty *prop; in hal_device_property_get_string() local 550 prop in hal_device_property_get_string() 561 HalProperty *prop; hal_device_property_get_as_string() local 625 HalProperty *prop; hal_device_property_get_int() local 641 HalProperty *prop; hal_device_property_get_uint64() local 657 HalProperty *prop; hal_device_property_get_bool() local 673 HalProperty *prop; hal_device_property_get_double() local 690 HalProperty *prop; hal_device_property_set_string() local 726 HalProperty *prop; hal_device_property_set_int() local 760 HalProperty *prop; hal_device_property_set_uint64() local 794 HalProperty *prop; hal_device_property_set_bool() local 828 HalProperty *prop; hal_device_property_set_double() local 896 HalProperty *prop; hal_device_property_remove() local 919 HalProperty *prop; hal_device_property_set_attribute() local 1042 HalProperty *prop; hal_device_async_wait_property() local 1089 HalProperty *prop; hal_device_property_get_strlist() local 1126 HalProperty *prop; hal_device_property_strlist_append() local 1158 HalProperty *prop; hal_device_property_strlist_prepend() local 1190 HalProperty *prop; hal_device_property_strlist_remove_elem() local 1214 HalProperty *prop; hal_device_property_strlist_clear() local 1248 HalProperty *prop; hal_device_property_strlist_add() local 1287 HalProperty *prop; hal_device_property_strlist_remove() local [all...] |
H A D | property.h | 48 void hal_property_free (HalProperty *prop); 62 const char *hal_property_get_key (HalProperty *prop); 63 int hal_property_get_type (HalProperty *prop); 64 char *hal_property_to_string (HalProperty *prop); 66 const char *hal_property_get_string (HalProperty *prop); 67 dbus_int32_t hal_property_get_int (HalProperty *prop); 68 dbus_uint64_t hal_property_get_uint64 (HalProperty *prop); 69 dbus_bool_t hal_property_get_bool (HalProperty *prop); 70 double hal_property_get_double (HalProperty *prop); 71 GSList *hal_property_get_strlist (HalProperty *prop); [all...] |
/titanic_51/usr/src/cmd/svc/milestone/ |
H A D | net-install | 148 prop=`$SVCPROP -p $NET_V4IF/name $NET_INSTALL_FMRI` 149 if [ $? -ne 0 -o "$prop" = "$NET_UNDEFINED_STRING_PROP" ]; then 152 net_install_name=$prop 158 prop=`$SVCPROP -p $NET_V4IF/address_type $NET_INSTALL_FMRI` 159 if [ $? -ne 0 -o "$prop" = "$NET_UNDEFINED_STRING_PROP" ]; then 165 case $prop in 167 net_install_addrtype=$prop 170 msg="Bad value, \"$prop\", defined for the \"address_type\" " 183 prop=`$SVCPROP -p $NET_V4IF/static_address $NET_INSTALL_FMRI` 184 if [ $? -eq 0 -a "$prop" ! [all...] |
/titanic_51/usr/src/common/zfs/ |
H A D | zprop_common.c | 71 zprop_register_impl(int prop, const char *name, zprop_type_t type, in zprop_register_impl() argument 79 pd = &prop_tbl[prop]; in zprop_register_impl() 86 pd->pd_propnum = prop; in zprop_register_impl() 103 zprop_register_string(int prop, const char *name, const char *def, in zprop_register_string() argument 107 zprop_register_impl(prop, name, PROP_TYPE_STRING, 0, def, attr, in zprop_register_string() 113 zprop_register_number(int prop, const char *name, uint64_t def, in zprop_register_number() argument 117 zprop_register_impl(prop, name, PROP_TYPE_NUMBER, def, NULL, attr, in zprop_register_number() 122 zprop_register_index(int prop, const char *name, uint64_t def, in zprop_register_index() argument 126 zprop_register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr, in zprop_register_index() 131 zprop_register_hidden(int prop, cons argument 169 int i, num_props, size, prop; zprop_iter_common() local 242 zprop_name_to_prop_cb(int prop,void * cb_data) zprop_name_to_prop_cb() argument 256 int prop; zprop_name_to_prop() local 269 zprop_string_to_index(int prop,const char * string,uint64_t * index,zfs_type_t type) zprop_string_to_index() argument 295 zprop_index_to_string(int prop,uint64_t index,const char ** string,zfs_type_t type) zprop_index_to_string() argument 324 zprop_random_value(int prop,uint64_t seed,zfs_type_t type) zprop_random_value() argument 340 zprop_values(int prop,zfs_type_t type) zprop_values() argument 356 zprop_valid_for_type(int prop,zfs_type_t type) zprop_valid_for_type() argument 375 zprop_width(int prop,boolean_t * fixed,zfs_type_t type) zprop_width() argument [all...] |
H A D | zpool_prop.c | 149 zpool_prop_to_name(zpool_prop_t prop) in zpool_prop_to_name() argument 151 return (zpool_prop_table[prop].pd_name); in zpool_prop_to_name() 155 zpool_prop_get_type(zpool_prop_t prop) in zpool_prop_get_type() argument 157 return (zpool_prop_table[prop].pd_proptype); in zpool_prop_get_type() 161 zpool_prop_readonly(zpool_prop_t prop) in zpool_prop_readonly() argument 163 return (zpool_prop_table[prop].pd_attr == PROP_READONLY); in zpool_prop_readonly() 167 zpool_prop_default_string(zpool_prop_t prop) in zpool_prop_default_string() argument 169 return (zpool_prop_table[prop].pd_strdefault); in zpool_prop_default_string() 173 zpool_prop_default_numeric(zpool_prop_t prop) in zpool_prop_default_numeric() argument 175 return (zpool_prop_table[prop] in zpool_prop_default_numeric() 199 zpool_prop_string_to_index(zpool_prop_t prop,const char * string,uint64_t * index) zpool_prop_string_to_index() argument 206 zpool_prop_index_to_string(zpool_prop_t prop,uint64_t index,const char ** string) zpool_prop_index_to_string() argument 213 zpool_prop_random_value(zpool_prop_t prop,uint64_t seed) zpool_prop_random_value() argument 221 zpool_prop_values(zpool_prop_t prop) zpool_prop_values() argument 227 zpool_prop_column_name(zpool_prop_t prop) zpool_prop_column_name() argument 233 zpool_prop_align_right(zpool_prop_t prop) zpool_prop_align_right() argument [all...] |
H A D | zfs_prop.c | 455 zfs_prop_delegatable(zfs_prop_t prop) in zfs_prop_delegatable() argument 457 zprop_desc_t *pd = &zfs_prop_table[prop]; in zfs_prop_delegatable() 460 if (prop == ZFS_PROP_MLSLABEL) in zfs_prop_delegatable() 519 zfs_userquota_prop_t prop; in zfs_prop_userquota() local 521 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) { in zfs_prop_userquota() 522 if (strncmp(name, zfs_userquota_prop_prefixes[prop], in zfs_prop_userquota() 523 strlen(zfs_userquota_prop_prefixes[prop])) == 0) { in zfs_prop_userquota() 548 zfs_prop_string_to_index(zfs_prop_t prop, cons argument 554 zfs_prop_index_to_string(zfs_prop_t prop,uint64_t index,const char ** string) zfs_prop_index_to_string() argument 560 zfs_prop_random_value(zfs_prop_t prop,uint64_t seed) zfs_prop_random_value() argument 569 zfs_prop_valid_for_type(int prop,zfs_type_t types) zfs_prop_valid_for_type() argument 575 zfs_prop_get_type(zfs_prop_t prop) zfs_prop_get_type() argument 584 zfs_prop_readonly(zfs_prop_t prop) zfs_prop_readonly() argument 594 zfs_prop_setonce(zfs_prop_t prop) zfs_prop_setonce() argument 600 zfs_prop_default_string(zfs_prop_t prop) zfs_prop_default_string() argument 606 zfs_prop_default_numeric(zfs_prop_t prop) zfs_prop_default_numeric() argument 616 zfs_prop_to_name(zfs_prop_t prop) zfs_prop_to_name() argument 625 zfs_prop_inheritable(zfs_prop_t prop) zfs_prop_inheritable() argument 638 zfs_prop_values(zfs_prop_t prop) zfs_prop_values() argument 649 zfs_prop_is_string(zfs_prop_t prop) zfs_prop_is_string() argument 660 zfs_prop_column_name(zfs_prop_t prop) zfs_prop_column_name() argument 670 zfs_prop_align_right(zfs_prop_t prop) zfs_prop_align_right() argument [all...] |
/titanic_51/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 1447 di_prop_next(di_node_t node, di_prop_t prop) in di_prop_next() argument 1460 * Find which prop list we are at in di_prop_next() 1462 if (prop != DI_PROP_NIL) in di_prop_next() 1463 list = DI_PROP(prop)->prop_list; in di_prop_next() 1468 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() 1489 di_prop_devt(di_prop_t prop) di_prop_devt() argument 1495 di_prop_name(di_prop_t prop) di_prop_name() argument 1504 di_prop_type(di_prop_t prop) di_prop_type() argument 1547 di_prop_ints(di_prop_t prop,int ** prop_data) di_prop_ints() argument 1567 di_prop_int64(di_prop_t prop,int64_t ** prop_data) di_prop_int64() argument 1587 di_prop_strings(di_prop_t prop,char ** prop_data) di_prop_strings() argument 1607 di_prop_bytes(di_prop_t prop,uchar_t ** prop_data) di_prop_bytes() argument 1630 match_prop(di_prop_t prop,dev_t match_dev,const char * name,int type) match_prop() argument 1662 di_prop_t prop = DI_PROP_NIL; di_prop_search() local 1688 di_prop_t prop = DI_PROP_NIL; di_prop_find() local 1714 di_prop_t prop; di_prop_lookup_ints() local 1727 di_prop_t prop; di_prop_lookup_int64() local 1740 di_prop_t prop; di_prop_lookup_strings() local 1753 di_prop_t prop; di_prop_lookup_bytes() local 1773 di_prop_next_common(di_node_t node,di_prop_t prop,int prop_type) di_prop_next_common() argument 1833 di_prop_drv_next(di_node_t node,di_prop_t prop) di_prop_drv_next() argument 1839 di_prop_sys_next(di_node_t node,di_prop_t prop) di_prop_sys_next() argument 1845 di_prop_global_next(di_node_t node,di_prop_t prop) di_prop_global_next() argument 1851 di_prop_hw_next(di_node_t node,di_prop_t prop) di_prop_hw_next() argument 1857 di_prop_rawdata(di_prop_t prop,uchar_t ** prop_data) di_prop_rawdata() argument 2128 di_path_prop_next(di_path_t path,di_path_prop_t prop) di_path_prop_next() argument 2171 di_path_prop_name(di_path_prop_t prop) di_path_prop_name() argument 2179 di_path_prop_len(di_path_prop_t prop) di_path_prop_len() argument 2185 di_path_prop_type(di_path_prop_t prop) di_path_prop_type() argument 2201 di_path_prop_bytes(di_path_prop_t prop,uchar_t ** prop_data) di_path_prop_bytes() argument 2218 di_path_prop_ints(di_path_prop_t prop,int ** prop_data) di_path_prop_ints() argument 2238 di_path_prop_int64s(di_path_prop_t prop,int64_t ** prop_data) di_path_prop_int64s() argument 2258 di_path_prop_strings(di_path_prop_t prop,char ** prop_data) di_path_prop_strings() argument 2280 di_path_prop_t prop = DI_PROP_NIL; di_path_prop_search() local 2313 di_path_prop_t prop; di_path_prop_lookup_bytes() local 2326 di_path_prop_t prop; di_path_prop_lookup_ints() local 2339 di_path_prop_t prop; di_path_prop_lookup_int64s() local 2351 di_path_prop_t prop; di_path_prop_lookup_strings() local 2898 struct di_prom_prop *prop = (struct di_prom_prop *)prom_prop; di_prom_prop_found() local 3048 struct di_prom_prop *prop; di_prom_prop_lookup_common() local 3148 struct di_prom_prop *prop; di_prom_prop_lookup_ints() local 3174 struct di_prom_prop *prop; di_prom_prop_lookup_strings() local 3217 struct di_prom_prop *prop; di_prom_prop_lookup_bytes() local 3244 di_prop_slot_names(di_prop_t prop,di_slot_name_t ** prop_data) di_prop_slot_names() argument 3273 di_prop_t prop; di_prop_lookup_slot_names() local [all...] |
/titanic_51/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_property.c | 45 zfs_prop_t prop; member 168 create_BasicProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop, in create_BasicProperty() argument 179 int result = zfs_prop_get(zhp, prop, propbuf, in create_BasicProperty() 187 zhp, prop, &value, &srctype, source, sizeof (source)); in create_BasicProperty() 200 env, zfs_prop_to_name(prop)); in create_BasicProperty() 202 jboolean readOnly = zfs_prop_readonly(prop) ? in create_BasicProperty() 240 create_BooleanProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) in create_BooleanProperty() argument 242 return (create_BasicProperty(env, zhp, prop, NULL, zjni_int_to_boolean, in create_BooleanProperty() 247 create_LongProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) in create_LongProperty() argument 249 return (create_BasicProperty(env, zhp, prop, NUL in create_LongProperty() 254 create_StringProperty(JNIEnv * env,zfs_handle_t * zhp,zfs_prop_t prop) create_StringProperty() argument 261 create_ObjectProperty(JNIEnv * env,zfs_handle_t * zhp,zfs_prop_t prop,str_to_obj_f convert_str,uint64_to_obj_f convert_uint64,char * propClass,char * valueClass) create_ObjectProperty() argument 324 create_default_BasicProperty(JNIEnv * env,zfs_prop_t prop,str_to_obj_f convert_str,uint64_to_obj_f convert_uint64,char * propClass,char * valueClass) create_default_BasicProperty() argument 372 create_default_BooleanProperty(JNIEnv * env,zfs_prop_t prop) create_default_BooleanProperty() argument 380 create_default_LongProperty(JNIEnv * env,zfs_prop_t prop) create_default_LongProperty() argument 388 create_default_StringProperty(JNIEnv * env,zfs_prop_t prop) create_default_StringProperty() argument 395 create_default_ObjectProperty(JNIEnv * env,zfs_prop_t prop,str_to_obj_f convert_str,uint64_to_obj_f convert_uint64,char * propClass,char * valueClass) create_default_ObjectProperty() argument 499 zjni_get_default_property(JNIEnv * env,zfs_prop_t prop) zjni_get_default_property() argument 535 zjni_get_property_from_name_cb(int prop,void * cb) zjni_get_property_from_name_cb() argument 548 zfs_prop_t prop; zjni_get_property_from_name() local 575 jobject prop; zjni_get_Dataset_properties() local [all...] |
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | zfs_set_common.kshlib | 52 typeset prop=$2 59 [[ -n $prop ]] && old_value=$(get_prop $prop $dataset) 62 [[ -z $prop || -z $dataset ]] && \ 65 log_must $ZFS set $prop=$expect_value $dataset 70 [[ -n $prop ]] && cur_value=$(get_prop $prop $dataset) 72 case $prop in 76 log_fail "The '$dataset' '$prop' value \ 79 log_fail "The '$dataset' '$prop' valu [all...] |
/titanic_51/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 76 const char *prop) in assemble_fmri() argument 82 if (prop == NULL) { in assemble_fmri() 101 strlen(prop) + 1; in assemble_fmri() 125 (void) strcat(fmri_buf, prop); in assemble_fmri() 135 fill_prop(scf_property_t *prop, const char *pgname, const char *propname, in fill_prop() argument 172 if (scf_property_type(prop, &ret->pr_type) == -1) in fill_prop() 182 if (scf_iter_property_values(iter, prop) == -1) in fill_prop() 360 scf_simple_pg *thispg, scf_property_t *prop, size_t namelen, in insert_app_props() argument 367 while ((propiter_ret = scf_iter_next_property(propiter, prop)) == 1) { in insert_app_props() 369 if (scf_property_get_name(prop, propnam in insert_app_props() 718 scf_property_t *prop = NULL; set_inst_action_inst() local 965 scf_property_t *prop = NULL; get_inst_state() local 1226 scf_simple_prop_t *prop; smf_degrade_instance() local 1254 scf_simple_prop_t *prop; smf_restore_instance() local 1282 scf_simple_prop_t *prop; smf_get_state() local 1452 scf_property_t *prop = scf_property_create(simple_h->h); scf_read_count_property() local 1655 scf_property_t *prop = NULL; scf_simple_prop_get() local 1746 scf_simple_prop_free(scf_simple_prop_t * prop) scf_simple_prop_free() argument 1790 scf_property_t *prop = NULL; scf_simple_app_props_get() local 2233 scf_simple_prop_t *prop; scf_simple_app_props_search() local 2274 scf_simple_prop_next_reset(scf_simple_prop_t * prop) scf_simple_prop_next_reset() argument 2282 scf_simple_prop_numvalues(const scf_simple_prop_t * prop) scf_simple_prop_numvalues() argument 2292 scf_simple_prop_type(const scf_simple_prop_t * prop) scf_simple_prop_type() argument 2302 scf_simple_prop_name(const scf_simple_prop_t * prop) scf_simple_prop_name() argument 2314 scf_simple_prop_pgname(const scf_simple_prop_t * prop) scf_simple_prop_pgname() argument 2326 scf_next_val(scf_simple_prop_t * prop,scf_type_t type) scf_next_val() argument 2367 scf_simple_prop_next_boolean(scf_simple_prop_t * prop) scf_simple_prop_next_boolean() argument 2381 scf_simple_prop_next_count(scf_simple_prop_t * prop) scf_simple_prop_next_count() argument 2395 scf_simple_prop_next_integer(scf_simple_prop_t * prop) scf_simple_prop_next_integer() argument 2408 scf_simple_prop_next_time(scf_simple_prop_t * prop,int32_t * nsec) scf_simple_prop_next_time() argument 2424 scf_simple_prop_next_astring(scf_simple_prop_t * prop) scf_simple_prop_next_astring() argument 2437 scf_simple_prop_next_ustring(scf_simple_prop_t * prop) scf_simple_prop_next_ustring() argument 2450 scf_simple_prop_next_opaque(scf_simple_prop_t * prop,size_t * length) scf_simple_prop_next_opaque() argument 2535 scf_propvec_t *prop; scf_clean_propvec() local 2601 scf_propvec_t *prop; scf_read_propvec() local 2770 scf_propvec_t *prop; scf_write_propvec() local 3034 scf_simple_prop_t *prop; is_auto_enabled() local [all...] |
H A D | highlevel.c | 59 scf_simple_prop_t *prop = NULL; in scf_is_fb_blacklisted() local 85 if ((prop = scf_simple_prop_get(NULL, FMRI_BOOT_CONFIG, in scf_is_fb_blacklisted() 89 numvals = scf_simple_prop_numvalues(prop); in scf_is_fb_blacklisted() 92 platform_name = scf_simple_prop_next_astring(prop); in scf_is_fb_blacklisted() 103 scf_simple_prop_free(prop); in scf_is_fb_blacklisted() 178 scf_propvec_t *prop; in scf_get_boot_config() local 180 for (prop = ua_boot_config; prop->pv_prop != NULL; prop++) in scf_get_boot_config() 181 prop in scf_get_boot_config() 238 scf_propvec_t *prop; scf_getset_boot_config_ovr() local [all...] |
/titanic_51/usr/src/test/zfs-tests/tests/functional/inheritance/ |
H A D | inherit.kshlib | 38 typeset prop=$1 41 prop_val=`$ZFS get -H -o source $prop $dataset` 44 log_fail "Unable to determine the source of $prop " \ 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 [all...] |
H A D | inherit_001_pos.ksh | 100 while (( i < ${#prop[*]} )); do 101 if [[ ${prop[i]} == "recordsize" ]]; then 104 if [[ ${prop[i]} == "mountpoint" ]]; then 105 set_n_verify_prop ${prop[i]} \ 108 set_n_verify_prop ${prop[i]} \ 134 while (( idx < ${#prop[*]} )); do 135 [[ ${prop[idx]} == "recordsize" ]] && break 220 typeset prop=$1 229 prop_val=`get_prop $prop $dataset` 232 if [[ $prop [all...] |
/titanic_51/usr/src/uts/common/os/ |
H A D | cpu_event.c | 828 cpu_idle_prop_impl_t *prop; in cpu_idle_prop_allocate_impl() local 832 prop = kmem_zalloc(sizeof (*prop) * CPU_IDLE_VALUE_GROUP_SIZE, in cpu_idle_prop_allocate_impl() 840 for (i = 0; i < CPU_IDLE_VALUE_GROUP_SIZE; i++, prop++, valp++) { in cpu_idle_prop_allocate_impl() 841 prop->value = valp; in cpu_idle_prop_allocate_impl() 842 prop->next = cpu_idle_prop_free; in cpu_idle_prop_allocate_impl() 843 cpu_idle_prop_free = prop; in cpu_idle_prop_allocate_impl() 852 cpu_idle_prop_impl_t *prop; in cpu_idle_prop_create_property() local 862 for (prop = cpu_idle_prop_busy; prop ! in cpu_idle_prop_create_property() 897 cpu_idle_prop_impl_t *prop, **propp; cpu_idle_prop_destroy_property() local 937 cpu_idle_prop_impl_t *prop; cpu_idle_prop_create_handle() local 966 cpu_idle_prop_impl_t *prop; cpu_idle_prop_destroy_handle() local 1009 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_get_value() local 1038 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_get_uint32() local 1051 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_get_uint64() local 1064 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_get_intptr() local 1077 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_get_hrtime() local 1090 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_set_value() local 1102 cpu_idle_prop_impl_t *prop = (cpu_idle_prop_impl_t *)hdl; cpu_idle_prop_set_all() local [all...] |
/titanic_51/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 120 Prop *prop = NULL; /* tail of properties list */ in dump_node() local 126 /* get first prop by asking for null string */ in dump_node() 227 else if (prop != NULL) in dump_node() 228 prop->next = new; in dump_node() 229 prop = new; in dump_node() 230 prop->next = NULL; in dump_node() 318 Prop *prop = node->props; in has_board_num() local 322 * board# prop in has_board_num() 324 while (prop != NULL) { in has_board_num() 325 if (strcmp(prop in has_board_num() 341 Prop *prop = node->props; get_board_num() local 412 Prop *prop; get_node_name() local 434 Prop *prop; get_node_type() local 598 get_prop_val(Prop * prop) get_prop_val() argument 616 Prop *prop; find_prop() local 760 Prop *prop; dev_find_node_by_compatible() local [all...] |
/titanic_51/usr/src/test/util-tests/tests/dladm/ |
H A D | set-linkprop.ksh | 76 typeset prop=$2 81 [[ -z "$prop" ]] && fatal "missing required prop" 83 oval=$(dladm show-linkprop -c -o value -p $prop $dev | tr -d ' ') 84 [[ $? -eq 0 ]] || fatal "failed to get $prop for $dev" 86 "$prop mismatch on $dev: expected $val, got $oval" 95 typeset prop=$2 100 [[ -z "$prop" ]] && fatal "missing required prop" 104 awk -F, "BEGIN { RS=\";\"; } /^$prop/ { prin [all...] |
/titanic_51/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 151 find_prop(const inetd_prop_t *prop, const char *name, inet_type_t type) in find_prop() argument 155 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() 173 get_prop_value_int(const inetd_prop_t *prop, const char *name) in get_prop_value_int() argument 177 p = find_prop(prop, name, INET_TYPE_INTEGER); in get_prop_value_int() 187 get_prop_value_count(const inetd_prop_t *prop, const char *name) in get_prop_value_count() argument 191 p = find_prop(prop, nam in get_prop_value_count() 201 get_prop_value_boolean(const inetd_prop_t * prop,const char * name) get_prop_value_boolean() argument 215 get_prop_value_string(const inetd_prop_t * prop,const char * name) get_prop_value_string() argument 229 get_prop_value_string_list(const inetd_prop_t * prop,const char * name) get_prop_value_string_list() argument 243 put_prop_value_int(inetd_prop_t * prop,const char * name,int64_t value) put_prop_value_int() argument 258 put_prop_value_count(inetd_prop_t * prop,const char * name,uint64_t value) put_prop_value_count() argument 273 put_prop_value_boolean(inetd_prop_t * prop,const char * name,boolean_t value) put_prop_value_boolean() argument 289 put_prop_value_string(inetd_prop_t * prop,const char * name,const char * value) put_prop_value_string() argument 310 put_prop_value_string_list(inetd_prop_t * prop,const char * name,char ** value) put_prop_value_string_list() argument 572 valid_props(inetd_prop_t * prop,const char * fmri,basic_cfg_t ** cfgpp,uu_list_pool_t * proto_info_pool,uu_list_pool_t * tlx_ci_pool) valid_props() argument 1206 free_instance_props(inetd_prop_t * prop) free_instance_props() argument 1431 scf_property_t *prop = NULL; store_inetd_hash() local [all...] |
/titanic_51/usr/src/psm/stand/cpr/common/ |
H A D | support.c | 95 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 in cpr_reset_properties() [all...] |
/titanic_51/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 33 static int getpropval(struct openpromio *opp, char *prop); 127 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 144 (void) strlcpy(opp->oprom_array, prop, MAXPROPSIZE); in getnextprop() 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, *plis in get_propval() local [all...] |
/titanic_51/usr/src/cmd/hotplugd/ |
H A D | hotplugd_impl.c | 168 ddi_hp_property_t prop; in private_options() local 177 if ((rv = pack_properties(options, &prop)) != 0) { in private_options() 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() 262 pack_properties(const char *options, ddi_hp_property_t *prop) in pack_properties() argument 269 (void) memset(prop, 0, sizeof (ddi_hp_property_t)); in pack_properties() 325 prop->nvlist_buf = buf; in pack_properties() 326 prop in pack_properties() 342 unpack_properties(ddi_hp_property_t * prop,char ** optionsp) unpack_properties() argument 428 free_properties(ddi_hp_property_t * prop) free_properties() argument [all...] |
/titanic_51/usr/src/uts/common/io/ |
H A D | consconfig_dacf.c | 160 static void consconfig_free_prop(cons_prop_t *prop); 1572 do_config(cons_state_t *sp, cons_prop_t *prop) in do_config() argument 1578 ASSERT((prop->cp_type == CONS_KBD) || (prop->cp_type == CONS_MS)); in do_config() 1580 dev = prop->cp_dev; in do_config() 1586 ASSERT(dev == prop->cp_dev); /* clone not supported */ in do_config() 1592 consconfig_prepare_dev(lh, prop->cp_pushmod, TR_CAN, in do_config() 1593 sp->cons_input_type, prop->cp_type); in do_config() 1595 if (prop->cp_type == CONS_KBD) { in do_config() 1605 error = consconfig_relink_conskbd(sp, lh, &prop in do_config() 1628 do_unconfig(cons_state_t * sp,cons_prop_t * prop) do_unconfig() argument 1646 cons_prop_t *prop; kb_ms_config() local 1732 cons_prop_t *prop; kb_ms_unconfig() local 1823 cons_prop_t *prop; consconfig_link() local 1857 cons_prop_t *prop; consconfig_unlink() local 2030 cons_prop_t *prop; consconfig_check_phys_kbd() local 2063 cons_prop_t *prop; consconfig_rem_dev() local 2091 consconfig_add_dev(cons_state_t * sp,cons_prop_t * prop) consconfig_add_dev() argument 2103 cons_prop_t *prop; consconfig_find_dev() local 2117 consconfig_free_prop(cons_prop_t * prop) consconfig_free_prop() argument [all...] |
/titanic_51/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 117 picl_obj_t *nodep; /* prop's node or table */ 154 picl_prop_t prop; member 158 #define pinfo_ver u.prop.info.version 159 #define prop_type u.prop.info.piclinfo.type 160 #define prop_size u.prop.info.piclinfo.size 161 #define prop_mode u.prop.info.piclinfo.accessmode 162 #define prop_name u.prop.info.piclinfo.name 163 #define prop_val u.prop.pvalue 164 #define next_row u.prop.next_by_row 165 #define next_col u.prop [all...] |
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_inherit/ |
H A D | zfs_inherit_002_neg.ksh | 71 for prop in ${props[@]}; do 72 log_mustnot eval "$ZFS inherit $opt $prop $ds \ 78 for prop in "${illprops[@]}"; do 79 log_mustnot eval "$ZFS inherit $prop $ds >/dev/null 2>&1" 80 log_mustnot eval "$ZFS inherit -r $prop $ds >/dev/null 2>&1" 97 for prop in ${props[@]}; do 98 log_mustnot eval "$ZFS inherit $prop >/dev/null 2>&1" 99 log_mustnot eval "$ZFS inherit -r $prop >/dev/null 2>&1"
|
/titanic_51/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 258 scf_property_t *prop; in smb_smf_get_string_property() local 264 prop = scf_property_create(handle->scf_handle); in smb_smf_get_string_property() 265 if (value && prop && in smb_smf_get_string_property() 266 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { in smb_smf_get_string_property() 267 if (scf_property_get_value(prop, value) == 0) { in smb_smf_get_string_property() 279 if (prop != NULL) in smb_smf_get_string_property() 280 scf_property_destroy(prop); in smb_smf_get_string_property() 352 scf_property_t *prop = NULL; in smb_smf_get_integer_property() local 358 prop = scf_property_create(handle->scf_handle); in smb_smf_get_integer_property() 359 if ((prop) in smb_smf_get_integer_property() 447 scf_property_t *prop = NULL; smb_smf_get_boolean_property() local 546 scf_property_t *prop = NULL; smb_smf_get_opaque_property() local [all...] |