Searched refs:loch (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/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 …]
|
/illumos-gate/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()
|
/illumos-gate/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 …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 3009 picl_nodehdl_t loch; in get_op_status() local 3036 err = ptree_get_propval_by_name(arg->nodeh, PICL_PROP_PARENT, &loch, in get_op_status() 3037 sizeof (loch)); in get_op_status() 3040 err = ptree_get_propval_by_name(loch, PICL_PROP_PARENT, &parentfruh, in get_op_status()
|