Searched refs:diskmon_t (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | schg_mgr.c | 47 static void dm_state_change_nolock(diskmon_t *diskp, hotplug_state_t newstate); 54 diskmon_t *diskp; 59 new_statechange(diskmon_t *diskp, hotplug_state_t state) in new_statechange() 81 add_to_statechange_queue(diskmon_t *diskp, hotplug_state_t newstate) in add_to_statechange_queue() 107 dm_fault_indicator_set(diskmon_t *diskp, ind_state_t istate) in dm_fault_indicator_set() 147 schg_execute_state_change_action(diskmon_t *diskp, hotplug_state_t oldstate, in schg_execute_state_change_action() 210 schg_send_fru_update(diskmon_t *diskp, dm_fru_t *frup) in schg_send_fru_update() 227 schg_update_fru_info(diskmon_t *diskp) in schg_update_fru_info() 258 disk_state_change_first_time(diskmon_t *diskp) in disk_state_change_first_time() 285 diskmon_t *disklistp = (diskmon_t *)vdisklistp; in disk_state_change_thread() [all …]
|
H A D | hotplug_mgr.c | 183 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 D | topo_gather.c | 78 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 D | diskmon_conf.h | 184 } 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 D | disk_monitor.c | 89 count_disks(diskmon_t *disklistp) in count_disks() 145 dm_fault_execute_actions(fmd_hdl_t *hdl, diskmon_t *diskp, nvlist_t *nvl) in dm_fault_execute_actions() 185 diskmon_t *diskp; in diskmon_agent_repair() 226 diskmon_t *diskp; in diskmon_agent_suspect() 266 diskmon_t *diskp; in diskmon_recv()
|
H A D | diskmon_conf.c | 330 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 D | topo_gather.h | 54 int update_configuration_from_topo(fmd_hdl_t *, diskmon_t *diskp); 57 diskmon_t *dm_fmri_to_diskmon(fmd_hdl_t *hdl, nvlist_t *fmri);
|
H A D | schg_mgr.h | 45 extern void dm_state_change(diskmon_t *diskp, hotplug_state_t newstate); 46 extern void dm_fault_indicator_set(diskmon_t *diskp, ind_state_t istate);
|
H A D | hotplug_mgr.h | 44 extern hotplug_state_t disk_ap_state_to_hotplug_state(diskmon_t *diskp);
|