Home
last modified time | relevance | path

Searched refs:diskmon_t (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dschg_mgr.c49 static void dm_state_change_nolock(diskmon_t *diskp, hotplug_state_t newstate);
56 diskmon_t *diskp;
61 new_statechange(diskmon_t *diskp, hotplug_state_t state) in new_statechange()
83 add_to_statechange_queue(diskmon_t *diskp, hotplug_state_t newstate) in add_to_statechange_queue()
109 dm_fault_indicator_set(diskmon_t *diskp, ind_state_t istate) in dm_fault_indicator_set()
149 schg_execute_state_change_action(diskmon_t *diskp, hotplug_state_t oldstate, in schg_execute_state_change_action()
212 schg_send_fru_update(diskmon_t *diskp, dm_fru_t *frup) in schg_send_fru_update()
229 schg_update_fru_info(diskmon_t *diskp) in schg_update_fru_info()
260 disk_state_change_first_time(diskmon_t *diskp) in disk_state_change_first_time()
287 diskmon_t *disklistp = (diskmon_t *)vdisklistp; in disk_state_change_thread()
[all …]
H A Dhotplug_mgr.c183 disk_ap_state_to_hotplug_state(diskmon_t *diskp) in disk_ap_state_to_hotplug_state()
277 disk_sysev_to_state(diskmon_t *diskp, sysevent_t *evp) in disk_sysev_to_state()
428 static diskmon_t *
429 disk_match_by_device_path(diskmon_t *disklistp, const char *dev_path) in disk_match_by_device_path()
472 static diskmon_t *
473 disk_match_by_ap_id(diskmon_t *disklistp, const char *ap_id) in disk_match_by_ap_id()
497 static diskmon_t *
498 disk_match_by_target_id(diskmon_t *disklistp, const char *target_path) in disk_match_by_target_id()
530 static diskmon_t *
531 match_sysevent_to_disk(diskmon_t *disklistp, sysevent_t *evp) in match_sysevent_to_disk()
[all …]
H A Ddiskmon_conf.h184 } diskmon_t; typedef
188 diskmon_t *disk_list;
213 extern diskmon_t *new_diskmon(nvlist_t *app_props, indicator_t *indp,
215 extern void diskmon_free(diskmon_t *dmp);
232 extern void cfgdata_add_diskmon(cfgdata_t *cfgp, diskmon_t *dmp);
H A Dtopo_gather.c78 static diskmon_t * in NONUNIQUE_NVLIST_FN()
81 diskmon_t *p = NULL; in NONUNIQUE_NVLIST_FN()
91 p = (diskmon_t *)(uintptr_t)u64val; in NONUNIQUE_NVLIST_FN()
99 diskmon_t *
104 diskmon_t *diskp; in dm_fmri_to_diskmon()
222 diskmon_t *target;
229 diskmon_t *target_diskp = wdp->target; in topo_add_disk()
240 diskmon_t *diskp; in topo_add_disk()
258 diskp = (diskmon_t *)(uintptr_t)ptr; in topo_add_disk()
464 diskmon_t *target_diskp = wdp->target; in topo_add_bay()
[all …]
H A Ddisk_monitor.c88 count_disks(diskmon_t *disklistp) in count_disks()
144 dm_fault_execute_actions(fmd_hdl_t *hdl, diskmon_t *diskp, nvlist_t *nvl) in dm_fault_execute_actions()
180 diskmon_t *diskp; in diskmon_agent_repair()
221 diskmon_t *diskp; in diskmon_agent_suspect()
261 diskmon_t *diskp; in diskmon_recv()
H A Dtopo_gather.h56 int update_configuration_from_topo(fmd_hdl_t *, diskmon_t *diskp);
59 diskmon_t *dm_fmri_to_diskmon(fmd_hdl_t *hdl, nvlist_t *fmri);
H A Dschg_mgr.h47 extern void dm_state_change(diskmon_t *diskp, hotplug_state_t newstate);
48 extern void dm_fault_indicator_set(diskmon_t *diskp, ind_state_t istate);
H A Ddiskmon_conf.c330 diskmon_t *
334 diskmon_t *dmp = (diskmon_t *)dmalloc(sizeof (diskmon_t)); in new_diskmon()
368 diskmon_free(diskmon_t *dmp) in diskmon_free()
370 diskmon_t *nextp; in diskmon_free()
386 dfree(dmp, sizeof (diskmon_t)); in diskmon_free()
393 new_cfgdata(namevalpr_t *nvp, diskmon_t *dmp) in new_cfgdata()
419 cfgdata_add_diskmon(cfgdata_t *cfgp, diskmon_t *dmp) in cfgdata_add_diskmon()
424 diskmon_t *disklist = cfgp->disk_list; in cfgdata_add_diskmon()
741 print_disks(diskmon_t *dmp, FILE *fp, char *prefix) in print_disks()
H A Dhotplug_mgr.h46 extern hotplug_state_t disk_ap_state_to_hotplug_state(diskmon_t *diskp);