Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c54 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in verror()
60 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in verror()
68 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vwarn_e()
75 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vwarn_e()
81 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vwarn()
84 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vwarn()
95 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in vcont()
101 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in vcont()
112 dm_assert(pthread_mutex_lock(&log_mutex) == 0); in log_msg()
116 dm_assert(pthread_mutex_unlock(&log_mutex) == 0); in log_msg()
[all …]
H A Dschg_mgr.c113 dm_assert(pthread_mutex_lock(&diskp->fault_indicator_mutex) == 0); in dm_fault_indicator_set()
120 dm_assert(pthread_mutex_unlock(&diskp->fault_indicator_mutex) in dm_fault_indicator_set()
145 dm_assert(pthread_mutex_unlock(&diskp->fault_indicator_mutex) == 0); in dm_fault_indicator_set()
187 dm_assert(astring != NULL); in schg_execute_state_change_action()
234 dm_assert(pthread_mutex_lock(&diskp->fru_mutex) == 0); in schg_update_fru_info()
240 dm_assert(pthread_mutex_unlock(&diskp->fru_mutex) == 0); in schg_update_fru_info()
250 dm_assert(pthread_mutex_lock(&g_schgt_add_mutex) == 0); in block_state_change_events()
256 dm_assert(pthread_mutex_unlock(&g_schgt_add_mutex) == 0); in unblock_state_change_events()
305 dm_assert(pthread_mutex_lock(&g_schgt_state_mutex) == 0); in disk_state_change_thread()
308 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.h49 #define dm_assert(EX) (void)((EX) ? 0 : \ macro
52 #define dm_assert(EX) (void)((EX) ? 0 : \ macro
56 #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()