Lines Matching refs:hd

224 vnic_register(rcm_handle_t *hd)
228 if (cache_update(hd) < 0)
236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL)
256 vnic_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 vnic_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
325 if (vnic_consumer_offline(hd, node, errorp, flags, info) ==
362 vnic_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
391 vnic_consumer_online(hd, node, errorp, flags, info);
468 vnic_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
476 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
509 vnic_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval,
521 vnic_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
534 vnic_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags,
556 ret = rcm_notify_remove(hd, rsrc, flags, info);
573 vnic_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
582 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
595 rv = vnic_consumer_remove(hd, node, flags, info);
609 vnic_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
627 if (cache_update(hd) < 0) {
649 if (vnic_configure(hd, linkid) != 0) {
656 if (vnic_consumer_notify(hd, linkid, errorp, flags,
765 cache_lookup(rcm_handle_t *hd, char *rsrc, char options)
775 (void) cache_update(hd);
840 rcm_handle_t *hd;
851 rcm_handle_t *hd = vnic_update_argp->hd;
891 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
957 vnic_update_all(rcm_handle_t *hd)
964 arg.hd = hd;
974 cache_update(rcm_handle_t *hd)
992 rv = vnic_update_all(hd);
1020 (void) rcm_unregister_interest(hd, node->vc_resource,
1033 if (rcm_register_interest(hd, node->vc_resource, 0, NULL) !=
1121 vnic_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1137 if (rcm_notify_online(hd, rsrc, flags, info) == RCM_SUCCESS)
1150 vnic_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1164 ret = rcm_request_offline(hd, rsrc, flags, info);
1172 vnic_consumer_online(hd, node, errorp, flags, info);
1183 vnic_notify_new_vnic(rcm_handle_t *hd, char *rsrc)
1194 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) {
1220 if (rcm_notify_event(hd, RCM_RESOURCE_LINK_NEW, 0, nvl, NULL) !=
1238 vnic_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp,
1253 if (vnic_notify_new_vnic(hd, rsrc) != 0) {
1255 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) {
1312 vnic_configure(rcm_handle_t *hd, datalink_id_t linkid)
1325 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) &&