/titanic_44/usr/src/lib/libnwam/common/ |
H A D | libnwam_loc.c | 281 nwam_loc_get_name(nwam_loc_handle_t loch, char **namep) in nwam_loc_get_name() argument 283 return (nwam_get_name(loch, namep)); in nwam_loc_get_name() 287 nwam_loc_set_name(nwam_loc_handle_t loch, const char *name) in nwam_loc_set_name() argument 289 return (nwam_set_name(loch, name)); in nwam_loc_set_name() 293 nwam_loc_can_set_name(nwam_loc_handle_t loch) in nwam_loc_can_set_name() argument 295 return (!loch->nwh_committed); in nwam_loc_can_set_name() 302 nwam_loc_handle_t loch = hp; in loc_selectcb() local 308 if (nwam_loc_get_name(loch, &locname) != NWAM_SUCCESS) in loc_selectcb() 320 if (nwam_loc_get_prop_value(loch, NWAM_LOC_PROP_ACTIVATION_MODE, in loc_selectcb() 353 nwam_loc_free(nwam_loc_handle_t loch) in nwam_loc_free() argument [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | loc.c | 56 loc_create_init_fini_event(nwam_loc_handle_t loch, void *data) in loc_create_init_fini_event() argument 62 if (nwam_loc_get_name(loch, &name) != NWAM_SUCCESS) { in loc_create_init_fini_event() 104 loc_is_enabled(nwam_loc_handle_t loch) in loc_is_enabled() argument 109 if (nwam_loc_get_prop_value(loch, NWAM_LOC_PROP_ENABLED, in loc_is_enabled() 127 loc_get_activation_mode(nwam_loc_handle_t loch) in loc_get_activation_mode() argument 133 if (nwam_loc_get_prop_value(loch, NWAM_LOC_PROP_ACTIVATION_MODE, in loc_get_activation_mode() 250 nwam_loc_handle_t loch = object->nwamd_object_handle; in nwamd_loc_check() local 266 if (loc_is_enabled(loch)) { in nwamd_loc_check() 287 if (loc_is_enabled(loch)) { in nwamd_loc_check() 295 if (nwam_loc_get_prop_value(loch, in nwamd_loc_check() [all …]
|
H A D | conditions.c | 219 nwam_loc_handle_t loch; in test_condition_loc() local 224 if (nwam_loc_read(loc_name, 0, &loch) != NWAM_SUCCESS) in test_condition_loc() 226 if (nwam_loc_get_name(loch, &real_name) != NWAM_SUCCESS) { in test_condition_loc() 227 nwam_loc_free(loch); in test_condition_loc() 230 nwam_loc_free(loch); in test_condition_loc()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 292 nwam_loc_handle_t loch; in valid_loc() local 294 if (nwam_loc_read(name, 0, &loch) != NWAM_SUCCESS) in valid_loc() 296 nwam_loc_free(loch); in valid_loc() 463 nwam_loc_handle_t loch; in loc_action() local 466 if ((ret = nwam_loc_read(name, 0, &loch)) != NWAM_SUCCESS) in loc_action() 470 ret = nwam_loc_enable(loch); in loc_action() 472 ret = nwam_loc_disable(loch); in loc_action() 474 (void) nwam_loc_get_name(loch, realnamep); in loc_action() 475 nwam_loc_free(loch); in loc_action() 824 list_loc_cb(nwam_loc_handle_t loch, void *arg) in list_loc_cb() argument [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 589 picl_nodehdl_t loch; in get_fru_path() local 597 &loch, sizeof (loch))) != PICL_SUCCESS) { in get_fru_path() 601 if ((rc = ptree_get_propval_by_name(loch, PICL_PROP_SLOT_TYPE, in get_fru_path() 608 if (ptree_get_propval_by_name(loch, PICL_PROP_PROBE_PATH, in get_fru_path() 631 if (ptree_get_propval_by_name(loch, PICL_PROP_BUS_ADDR, in get_fru_path()
|
H A D | piclfrutree.c | 2010 picl_nodehdl_t loch; in update_fru_state() local 2062 &loch, sizeof (loch))) != PICL_SUCCESS) { in update_fru_state() 2066 if ((rc = hash_lookup_entry(loch, (void **)&hashptr)) != in update_fru_state() 2143 picl_nodehdl_t loch; in update_fru_condition() local 2188 &loch, sizeof (loch))) != PICL_SUCCESS) { in update_fru_condition() 2192 if ((rc = hash_lookup_entry(loch, (void **)&hashptr)) != in update_fru_condition() 2557 picl_nodehdl_t child, loch; in probe_fru() local 2569 &loch, sizeof (loch))) != PICL_SUCCESS) { in probe_fru() 2575 if ((rc = ptree_get_propval_by_name(loch, PICL_PROP_DEVFS_PATH, in probe_fru() 2595 rc = ptree_get_propval_by_name(loch, PICL_PROP_PROBE_PATH, in probe_fru() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 2175 picl_nodehdl_t loch, fruh; in frudata_state_change_evhandler() local 2188 &loch) == -1) { in frudata_state_change_evhandler() 2193 if (ptree_get_propval_by_name(loch, PICL_PROP_CLASSNAME, name, in frudata_state_change_evhandler() 2211 rc = ptree_get_propval_by_name(loch, PICL_PROP_CHILD, in frudata_state_change_evhandler()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 3011 picl_nodehdl_t loch; in get_op_status() local 3038 err = ptree_get_propval_by_name(arg->nodeh, PICL_PROP_PARENT, &loch, in get_op_status() 3039 sizeof (loch)); in get_op_status() 3042 err = ptree_get_propval_by_name(loch, PICL_PROP_PARENT, &parentfruh, in get_op_status()
|