Home
last modified time | relevance | path

Searched refs:dm_assert (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c52 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in verror()
58 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in verror()
66 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vwarn_e()
73 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vwarn_e()
79 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vwarn()
82 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vwarn()
93 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vcont()
99 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vcont()
110 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in log_msg()
114 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in log_msg()
[all …]
H A Dschg_mgr.c111 dm_assert(pthread_mutex_lock(&diskp->fault_indicator_mutex) == 0); in dm_fault_indicator_set()
118 dm_assert(pthread_mutex_unlock(&diskp->fault_indicator_mutex) in dm_fault_indicator_set()
143 dm_assert(pthread_mutex_unlock(&diskp->fault_indicator_mutex) == 0); in dm_fault_indicator_set()
185 dm_assert(astring != NULL); in schg_execute_state_change_action()
232 dm_assert(pthread_mutex_lock(&diskp->fru_mutex) == 0); in schg_update_fru_info()
238 dm_assert(pthread_mutex_unlock(&diskp->fru_mutex) == 0); in schg_update_fru_info()
248 dm_assert(pthread_mutex_lock(&g_schgt_add_mutex) == 0); in block_state_change_events()
254 dm_assert(pthread_mutex_unlock(&g_schgt_add_mutex) == 0); in unblock_state_change_events()
303 dm_assert(pthread_mutex_lock(&g_schgt_state_mutex) == 0); in disk_state_change_thread()
306 dm_assert(pthread_cond_broadcast(&g_schgt_state_cvar) == 0); in disk_state_change_thread()
[all …]
H A Dhotplug_mgr.c138 dm_assert((strlen(apid) + 8 /* strlen("/devices") */) < MAXPATHLEN); in adjust_dynamic_ap()
163 dm_assert(nlist == 1); in adjust_dynamic_ap()
196 dm_assert(app != NULL); in disk_ap_state_to_hotplug_state()
227 dm_assert(nlist == 1); in disk_ap_state_to_hotplug_state()
356 dm_assert(p != NULL); in disk_split_ap_path_sata()
358 dm_assert(n == 1); in disk_split_ap_path_sata()
374 dm_assert(p != NULL); in disk_split_ap_path_scsi()
377 dm_assert(n == 1); in disk_split_ap_path_scsi()
411 dm_assert(t != NULL); in disk_split_device_path()
414 dm_assert(t != NULL); in disk_split_device_path()
[all …]
H A Dutil.h47 #define dm_assert(EX) (void)((EX) ? 0 : \ macro
50 #define dm_assert(EX) (void)((EX) ? 0 : \ macro
54 #define dm_assert(EX) (void)((EX) ? 0 : \ macro
H A Dtopo_gather.c161 dm_assert(nvlp != NULL); in find_disk_monitor_private_pgroup()
338 dm_assert(pthread_mutex_lock(&diskp->fru_mutex) == 0); in topo_add_disk()
339 dm_assert(diskp->frup == NULL); in topo_add_disk()
341 dm_assert(pthread_mutex_unlock(&diskp->fru_mutex) == 0); in topo_add_disk()
408 dm_assert(p != NULL); in topoprop_indrule_add()
510 dm_assert(pthread_mutex_lock(&diskp->fru_mutex) == 0); in topo_add_bay()
513 dm_assert(pthread_mutex_unlock(&diskp->fru_mutex) == 0); in topo_add_bay()
H A Ddiskmon_conf.c196 dm_assert(first != NULL); in link_indicator()
239 dm_assert(first != NULL); in link_indaction()
282 dm_assert(first != NULL); in link_indrule()
348 dm_assert(pthread_mutex_init(&dmp->manager_mutex, NULL) == 0); in new_diskmon()
354 dm_assert(pthread_mutex_init(&dmp->fault_indicator_mutex, NULL) == 0); in new_diskmon()
360 dm_assert(pthread_mutex_init(&dmp->fru_mutex, NULL) == 0); in new_diskmon()
717 dm_assert(nvpair_type(nvp) == DATA_TYPE_STRING); in print_props()