Lines Matching refs:hd

100 static void update_cache(rcm_handle_t *hd);
194 net_register(rcm_handle_t *hd)
196 update_cache(hd);
202 if (rcm_register_event(hd, RCM_RESOURCE_PHYSLINK_NEW, 0, NULL)
227 net_unregister(rcm_handle_t *hd)
231 assert(hd != NULL);
237 (void) rcm_unregister_interest(hd, probe->resource, 0);
248 if (rcm_unregister_event(hd, RCM_RESOURCE_PHYSLINK_NEW, 0)
270 net_passthru(rcm_handle_t *hd, int op, const char *rsrc, uint_t flag,
317 rv = rcm_request_suspend(hd, exported, flag,
321 rv = rcm_request_offline(hd, exported, flag, dependent_reason);
324 rv = rcm_notify_online(hd, exported, flag, dependent_reason);
327 rv = rcm_notify_remove(hd, exported, flag, dependent_reason);
343 rv = rcm_notify_resume(hd, exported, flag, dependent_reason);
370 net_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
373 assert(hd != NULL);
381 return (net_passthru(hd, NET_OFFLINE, rsrc, flags, reason,
391 net_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **reason,
394 assert(hd != NULL);
400 return (net_passthru(hd, NET_ONLINE, rsrc, flag, reason,
416 net_getinfo(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag,
427 assert(hd != NULL);
477 (void) rcm_get_info(hd, exported, flag, depend_info);
498 net_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval,
501 assert(hd != NULL);
510 return (net_passthru(hd, NET_SUSPEND, rsrc, flag, reason,
523 net_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **info,
526 assert(hd != NULL);
534 return (net_passthru(hd, NET_RESUME, rsrc, flag, info, dependent_info,
548 net_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **info,
551 assert(hd != NULL);
559 return (net_passthru(hd, NET_REMOVE, rsrc, flag, info, dependent_info,
727 update_cache(rcm_handle_t *hd)
756 (void) rcm_unregister_interest(hd, probe->resource, 0);
773 rv = rcm_register_interest(hd, probe->resource, 0, NULL);
817 net_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
834 update_cache(hd);
885 RCM_NV_LINKID, id64) != 0) || (rcm_notify_event(hd,