Lines Matching refs:hd
193 mnt_register(rcm_handle_t *hd)
195 assert(hd != NULL);
202 if (cache_sync(hd, &mnt_cache) < 0) {
225 mnt_unregister(rcm_handle_t *hd)
230 assert(hd != NULL);
241 unregister_rsrc(hd, entry->special);
265 mnt_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags,
273 assert(hd != NULL);
342 mnt_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp,
345 assert(hd != NULL);
362 mnt_getinfo(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **usagep,
368 assert(hd != NULL);
396 if ((rv = rcm_get_info_list(hd, dependents, flag,
416 mnt_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval,
422 assert(hd != NULL);
444 if ((rv = rcm_request_suspend_list(hd, dependents, flag,
460 mnt_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp,
466 assert(hd != NULL);
481 if ((rv = rcm_notify_resume_list(hd, dependents, flag,
655 mnt_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flag, char **errorp,
658 assert(hd != NULL);
862 cache_sync(rcm_handle_t *hd, cache_t **cachep)
871 if ((hd == NULL) || (cachep == NULL)) {
908 register_rsrc(hd, entry->special);
929 unregister_rsrc(hd, entry->special);
1104 register_rsrc(rcm_handle_t *hd, char *rsrc)
1107 if ((hd == NULL) || (rsrc == NULL))
1115 if (rcm_register_interest(hd, rsrc, 0, NULL) != RCM_SUCCESS) {
1130 unregister_rsrc(rcm_handle_t *hd, char *rsrc)
1132 assert(hd != NULL);
1138 (void) rcm_unregister_interest(hd, rsrc, 0);