/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | cpu.c | 64 Prop *prop; local 68 if ((prop = find_prop(pnode, "clock-frequency")) == NULL) { 72 if ((value = (uint_t *)get_prop_val(prop)) == NULL) {
|
H A D | libdevinfo_sun4u.c | 200 Prop *prop = NULL; /* tail of properties list */ local 331 else if (prop != NULL) 332 prop->next = temp; 333 prop = temp; 334 prop->next = NULL; 398 } else if (prop != NULL) { 399 prop->next = temp; 401 prop = temp; 402 prop->next = NULL;
|
H A D | pdevinfo_funcs.c | 117 Prop *prop = NULL; /* tail of properties list */ local 123 /* get first prop by asking for null string */ 224 else if (prop != NULL) 225 prop->next = new; 226 prop = new; 227 prop->next = NULL; 315 Prop *prop = node->props; local 319 * board# prop 321 while (prop != NULL) { 322 if (strcmp(prop 338 Prop *prop = node->props; local 409 Prop *prop; local 431 Prop *prop; local 595 get_prop_val(Prop *prop) argument 613 Prop *prop; local 757 Prop *prop; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_protocol.c | 43 nvlist_t *prop, *ap; local 46 TOPO_PROP_ASRU, priv, &prop, err) < 0) 49 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &ap) != 0 || 52 nvlist_free(prop); 56 nvlist_free(prop); 64 nvlist_t *prop, *fp; local 67 priv, &prop, err) < 0) 70 if (nvlist_lookup_nvlist(prop, TOPO_PROP_VAL_VAL, &fp) != 0 || 73 nvlist_free(prop); 77 nvlist_free(prop); [all...] |
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | property.c | 120 char *prop; local 136 } else if (os_get_prop_common(pd->common, node, name, inherit, &prop, 140 PUSH(DS, (fstack_t)prop);
|
/osnet-11/usr/src/lib/libc/sparc/sys/ |
H A D | uadmin.c | 103 scf_simple_prop_t *prop = NULL; local 120 prop = real_scf_simple_prop_get(NULL, fmri, "config", 122 if (prop) { 123 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != 127 real_scf_simple_prop_free(prop);
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 58 scf_simple_prop_t *prop = NULL; local 84 if ((prop = scf_simple_prop_get(NULL, FMRI_BOOT_CONFIG, 88 numvals = scf_simple_prop_numvalues(prop); 91 platform_name = scf_simple_prop_next_astring(prop); 102 scf_simple_prop_free(prop); 175 scf_propvec_t *prop; local 178 for (prop = ua_boot_config; prop->pv_prop != NULL; prop++) 179 prop [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | LzmaDec.h | 71 CLzmaProps prop; member in struct:__anon777 156 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc);
|
/osnet-11/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 119 scf_simple_prop_t *prop = NULL; local 136 prop = real_scf_simple_prop_get(NULL, fmri, "config", 138 if (prop) { 139 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != 143 real_scf_simple_prop_free(prop);
|
/osnet-11/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 118 scf_simple_prop_t *prop = NULL; local 135 prop = real_scf_simple_prop_get(NULL, fmri, "config", 137 if (prop) { 138 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != 142 real_scf_simple_prop_free(prop);
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_smf.c | 253 scf_simple_prop_t *prop; local 256 prop = scf_simple_prop_get(NULL, svc_name, SCF_PG_GENERAL, 259 if (scf_simple_prop_numvalues(prop) == 1) { 260 if (*scf_simple_prop_next_boolean(prop) != 0) 264 scf_simple_prop_free(prop);
|
/osnet-11/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 51 * The prop structures associated with a Prom_node were formerly statically 56 * structs, and altering the prop structure. The prop structure's name and value 60 * as the former prop structure, but the *next element now points to a 61 * static_prop structure instead of a prop structure. 110 typedef struct prop Prop; 111 struct prop { struct
|
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_scfutil.c | 412 scf_property_t *prop; local 418 prop = scf_property_create(handle->scf_handle); 419 if (value && prop && 420 (scf_pg_get_property(handle->scf_pg, propname, prop) == 0)) { 421 if (scf_property_get_value(prop, value) == 0) { 433 if (prop != NULL) 434 scf_property_destroy(prop); 564 scf_property_t *prop = NULL; local 570 prop = scf_property_create(handle->scf_handle); 571 if ((prop) 601 scf_property_t *prop = NULL; local 696 scf_property_t *prop = NULL; local 795 scf_property_t *prop = NULL; local [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_file.c | 504 scf_property_t *prop = NULL; local 511 prop = scf_property_create(hd->scf_handle); 513 if (prop == NULL || value == NULL) 516 if (scf_pg_get_property(hd->scf_pg, propname, prop) == 0) { 517 if (scf_property_get_value(prop, value) == 0) 523 scf_property_destroy(prop); 534 scf_property_t *prop = NULL; local 541 prop = scf_property_create(hd->scf_handle); 543 if (prop == NULL || value == NULL) 546 if (scf_pg_get_property(hd->scf_pg, propname, prop) [all...] |
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_smf.c | 97 scf_simple_prop_t *prop; local 115 prop = (scf_simple_prop_t *)scf_simple_app_props_next(props, NULL); 116 while (err == PM_SUCCESS && prop != NULL) { 117 propname = scf_simple_prop_name(prop); 118 pgname = scf_simple_prop_pgname(prop); 119 propval = pm_smf_tonvpair(prop, &proptype, &propc); 178 prop = (scf_simple_prop_t *)scf_simple_app_props_next(props, 179 prop); 195 scf_simple_prop_t *prop; local 216 prop 305 pm_smf_tonvpair(scf_simple_prop_t *prop, data_type_t *valtype, uint_t *propc) argument 393 scf_simple_prop_t *prop; local 456 pm_smf_validate(scf_simple_prop_t *prop, const char *val, void **result) argument 483 pm_smf_validate_authority(scf_simple_prop_t *prop, const char *val, void **result) argument 510 pm_smf_validate_boolean(scf_simple_prop_t *prop, const char *val, void **result) argument 549 pm_smf_validate_integer(scf_simple_prop_t *prop, const char *val, void **result) argument [all...] |
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 75 scf_simple_prop_t *prop; local 86 prop = scf_simple_prop_get(NULL, FEDFS_CLIENT, pgname, "binddn"); 87 if (!prop) { 95 p = scf_simple_prop_next_astring(prop); 100 scf_simple_prop_free(prop); 102 prop = scf_simple_prop_get(NULL, FEDFS_CLIENT, pgname, "bindpw"); 103 if (!prop) { 111 p = scf_simple_prop_next_astring(prop); 138 scf_simple_prop_free(prop); 140 prop 215 get_pg_value(scf_handle_t *h, scf_propertygroup_t *pg, scf_property_t *prop, char *name) argument 253 scf_property_t *prop = NULL; local 390 scf_property_t *prop = NULL; local 552 scf_simple_prop_t *prop = NULL; local 594 scf_simple_prop_t *prop = NULL; local 637 scf_simple_prop_t *prop = NULL; local 663 fedfs_set_default(char *prop, char *value) argument [all...] |
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_scf.c | 64 asr_scf_prop_t *prop; local 66 if ((prop = (asr_scf_prop_t *)malloc( 71 bzero(prop, sizeof (asr_scf_prop_t)); 73 prop->entry = scf_entry_create(scf_hdl); 74 if (prop->entry == NULL) { 75 free(prop); 78 prop->value = scf_value_create(scf_hdl); 79 if (prop->value == NULL) { 80 free(prop); 83 return (prop); 90 asr_scf_free_prop_item(asr_scf_prop_t *prop) argument 107 asr_scf_free_prop(asr_scf_prop_t *prop) argument 136 asr_scf_prop_t *prop = NULL; local 259 asr_scf_prop_t *prop = NULL; local 379 asr_scf_add(nvlist_t *nvl, const scf_simple_prop_t *prop, ssize_t num) argument 460 const scf_simple_prop_t *prop; local [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_fac.c | 251 "%s: no indicator mode prop\n", f); 483 const char *prop, int s_units, int s_type) 509 nvlist_add_string(nvl, "propname", prop) != 0) { 482 bay_add_sensor(topo_mod_t *mod, tnode_t *pnode, const char *name, const char *prop, int s_units, int s_type) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/ieee1275/ |
H A D | ofdisk.c | 247 char prop[64]; local 266 if (grub_ieee1275_get_property (dev, "device_type", prop, sizeof (prop), 273 if (grub_strcmp (prop, "block"))
|
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | theme_loader.c | 366 parse_proportional_spec (char *value, signed *abs, grub_fixed_signed_t *prop) argument 372 *prop = 0; 392 *prop += grub_fixed_fsf_divide (grub_signed_to_fixed (num), 100);
|
/osnet-11/usr/src/cmd/hal/hald/ |
H A D | property.c | 55 hal_property_free (HalProperty *prop) argument 58 g_free (prop->key); 60 if (prop->type == HAL_PROPERTY_TYPE_STRING) { 61 g_free (prop->v.str_value); 62 } else if (prop->type == HAL_PROPERTY_TYPE_STRLIST) { 64 for (i = prop->v.strlist_value; i != NULL; i = g_slist_next (i)) { 67 g_slist_free (prop->v.strlist_value); 70 g_free (prop); 76 HalProperty *prop; local 80 prop 103 HalProperty *prop; local 117 HalProperty *prop; local 131 HalProperty *prop; local 145 HalProperty *prop; local 157 hal_property_get_key(HalProperty *prop) argument 165 hal_property_get_type(HalProperty *prop) argument 173 hal_property_get_string(HalProperty *prop) argument 182 hal_property_get_int(HalProperty *prop) argument 191 hal_property_get_uint64(HalProperty *prop) argument 200 hal_property_get_bool(HalProperty *prop) argument 209 hal_property_to_string(HalProperty *prop) argument 258 hal_property_get_double(HalProperty *prop) argument 267 hal_property_set_string(HalProperty *prop, const char *value) argument 294 hal_property_set_int(HalProperty *prop, dbus_int32_t value) argument 305 hal_property_set_uint64(HalProperty *prop, dbus_uint64_t value) argument 316 hal_property_set_bool(HalProperty *prop, dbus_bool_t value) argument 327 hal_property_set_double(HalProperty *prop, double value) argument 338 hal_property_set_attribute(HalProperty *prop, enum PropertyAttribute attr, gboolean val) argument 358 hal_property_get_attribute(HalProperty *prop, enum PropertyAttribute attr) argument 378 HalProperty *prop; local 390 hal_property_get_strlist(HalProperty *prop) argument 399 hal_property_strlist_append(HalProperty *prop, const char *value) argument 410 hal_property_strlist_prepend(HalProperty *prop, const char *value) argument 421 hal_property_strlist_remove_elem(HalProperty *prop, guint index) argument 442 hal_property_strlist_add(HalProperty *prop, const char *value) argument 459 hal_property_strlist_remove(HalProperty *prop, const char *value) argument 477 hal_property_strlist_clear(HalProperty *prop) argument [all...] |
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 74 void process_property(LibHalContext *hal_ctx, char *buf, lh_prop_t **prop); 75 int add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop); 76 lh_prop_t *free_properties(lh_prop_t *prop); 345 lh_prop_t *prop; local 386 prop = NULL; 389 process_property(hal_ctx, buf, &prop); 392 err = add_properties(hal_ctx, &new_dev, prop); 394 prop = free_properties(prop); 447 void process_property(LibHalContext *hal_ctx, char *buf, lh_prop_t **prop) argument 545 add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop) argument 633 free_properties(lh_prop_t *prop) argument [all...] |
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | svc.c | 109 const scf_simple_prop_t *prop; local 118 prop = scf_simple_app_props_search(fs->fs_scf_props, "filesys", 120 if (prop == NULL) 123 if (scf_simple_prop_numvalues(prop) != 1) 126 found_exec = scf_simple_prop_next_astring((scf_simple_prop_t *)prop); 136 const scf_simple_prop_t *prop; local 145 prop = scf_simple_app_props_search(fs->fs_scf_props, "filesys", "fsid"); 146 if (prop == NULL) 149 if (scf_simple_prop_numvalues(prop) != 1) 152 found_fsid = scf_simple_prop_next_integer((scf_simple_prop_t *)prop); 365 scf_simple_prop_t *prop = NULL; local [all...] |
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_property.c | 45 zfs_prop_t prop; member in struct:custom_prop_desct 162 create_BasicProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop, argument 173 int result = zfs_prop_get(zhp, prop, propbuf, 181 zhp, prop, &value, &srctype, source, sizeof (source)); 194 env, zfs_prop_to_name(prop)); 196 jboolean readOnly = zfs_prop_readonly(prop) ? 234 create_BooleanProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) argument 236 return (create_BasicProperty(env, zhp, prop, NULL, zjni_int_to_boolean, 241 create_LongProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) argument 243 return (create_BasicProperty(env, zhp, prop, NUL 248 create_StringProperty(JNIEnv *env, zfs_handle_t *zhp, zfs_prop_t prop) argument 255 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) argument 318 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) argument 366 create_default_BooleanProperty(JNIEnv *env, zfs_prop_t prop) argument 374 create_default_LongProperty(JNIEnv *env, zfs_prop_t prop) argument 382 create_default_StringProperty(JNIEnv *env, zfs_prop_t prop) argument 389 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) argument 486 zjni_get_default_property(JNIEnv *env, zfs_prop_t prop) argument 522 zjni_get_property_from_name_cb(int prop, void *cb) argument 535 zfs_prop_t prop; local 562 jobject prop; local 579 ((zjni_Collection_t *)proplist)->method_add, prop); local 602 ((zjni_Collection_t *)proplist)->method_add, prop); local 624 ((zjni_Collection_t *)proplist)->method_add, prop); local 648 ((zjni_Collection_t *)proplist)->method_add, prop); local [all...] |
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nscd.py | 113 prop = self.join(self.configPG, p) variable in class:Nscd.init 114 self.ALLPROPS[prop] = self.configPROPS[p] 119 prop = self.join(pg, p) variable in class:Nscd.init 120 self.ALLPROPS[prop] = self.cachePROPS[p] 168 list = self.get_prop_val_list(prop='config/debug_components') 207 list = self.get_prop_val_list(prop='config/debug_level') 241 prop = self.join(self.DEFPG, p) 242 pval = self.get_prop_val(prop=prop) 247 self.traceit('export prop 292 prop = self.join(pg, tag) variable in class:Nscd.init [all...] |