Lines Matching refs:hd

224 ibpart_register(rcm_handle_t *hd)
228 if (cache_update(hd) < 0)
236 if (rcm_register_event(hd, RCM_RESOURCE_LINK_NEW, 0, NULL)
256 ibpart_unregister(rcm_handle_t *hd)
266 if (rcm_unregister_interest(hd, node->pc_resource, 0)
284 if (rcm_unregister_event(hd, RCM_RESOURCE_LINK_NEW, 0)
304 ibpart_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
325 if (ibpart_consumer_offline(hd, node, errorp, flags, info) ==
362 ibpart_undo_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
391 ibpart_consumer_online(hd, node, errorp, flags, info);
475 ibpart_get_info(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
483 node = cache_lookup(hd, rsrc, CACHE_REFRESH);
516 ibpart_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval,
528 ibpart_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
541 ibpart_consumer_remove(rcm_handle_t *hd, link_cache_t *node, uint_t flags,
564 ret = rcm_notify_remove(hd, rsrc, flags, info);
581 ibpart_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
590 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
603 rv = ibpart_consumer_remove(hd, node, flags, info);
617 ibpart_notify_event(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
635 if (cache_update(hd) < 0) {
657 if (ibpart_configure(hd, linkid) != 0) {
664 if (ibpart_consumer_notify(hd, linkid, errorp, flags,
778 cache_lookup(rcm_handle_t *hd, char *rsrc, char options)
788 (void) cache_update(hd);
853 rcm_handle_t *hd;
864 rcm_handle_t *hd = ibpart_update_argp->hd;
906 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH);
973 ibpart_update_all(rcm_handle_t *hd)
980 arg.hd = hd;
990 cache_update(rcm_handle_t *hd)
1009 rv = ibpart_update_all(hd);
1037 (void) rcm_unregister_interest(hd, node->pc_resource,
1050 if (rcm_register_interest(hd, node->pc_resource, 0, NULL) !=
1138 ibpart_consumer_online(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1155 if (rcm_notify_online(hd, rsrc, flags, info) == RCM_SUCCESS)
1168 ibpart_consumer_offline(rcm_handle_t *hd, link_cache_t *node, char **errorp,
1183 ret = rcm_request_offline(hd, rsrc, flags, info);
1191 ibpart_consumer_online(hd, node, errorp, flags, info);
1202 ibpart_notify_new_ibpart(rcm_handle_t *hd, char *rsrc)
1214 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) {
1241 if (rcm_notify_event(hd, RCM_RESOURCE_LINK_NEW, 0, nvl, NULL) !=
1259 ibpart_consumer_notify(rcm_handle_t *hd, datalink_id_t linkid, char **errorp,
1275 if (ibpart_notify_new_ibpart(hd, rsrc) != 0) {
1277 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) {
1336 ibpart_configure(rcm_handle_t *hd, datalink_id_t linkid)
1349 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) &&