Lines Matching refs:hd

224 vlan_register(rcm_handle_t *hd)
228 if (cache_update(hd) < 0)
236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL)
256 vlan_unregister(rcm_handle_t *hd)
266 if (rcm_unregister_interest(hd, node->vc_resource, 0)
284 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0)
304 vlan_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
325 if (vlan_consumer_offline(hd, node, errorp, flags, info) ==
362 vlan_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
391 vlan_consumer_online(hd, node, errorp, flags, info);
465 vlan_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
473 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
506 vlan_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval,
518 vlan_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
531 vlan_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags,
553 ret = rcm_notify_remove(hd, rsrc, flags, info);
570 vlan_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
579 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
592 rv = vlan_consumer_remove(hd, node, flags, info);
606 vlan_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
624 if (cache_update(hd) < 0) {
646 if (vlan_configure(hd, linkid) != 0) {
653 if (vlan_consumer_notify(hd, linkid, errorp, flags,
762 cache_lookup(rcm_handle_t *hd, char *rsrc, char options)
772 (void) cache_update(hd);
837 rcm_handle_t *hd;
848 rcm_handle_t *hd = vlan_update_argp->hd;
879 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
945 vlan_update_all(rcm_handle_t *hd)
952 arg.hd = hd;
962 cache_update(rcm_handle_t *hd)
980 rv = vlan_update_all(hd);
1008 (void) rcm_unregister_interest(hd, node->vc_resource,
1021 if (rcm_register_interest(hd, node->vc_resource, 0, NULL) !=
1109 vlan_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1125 if (rcm_notify_online(hd, rsrc, flags, info) == RCM_SUCCESS)
1138 vlan_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1152 ret = rcm_request_offline(hd, rsrc, flags, info);
1160 vlan_consumer_online(hd, node, errorp, flags, info);
1171 vlan_notify_new_vlan(rcm_handle_t *hd, char *rsrc)
1182 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) {
1209 if (rcm_notify_event(hd, RCM_RESOURCE_LINK_NEW, 0, nvl, NULL) !=
1227 vlan_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp,
1242 if (vlan_notify_new_vlan(hd, rsrc) != 0) {
1244 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) {
1301 vlan_configure(rcm_handle_t *hd, datalink_id_t linkid)
1314 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) &&