Searched refs:d_errstats (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 90 kstat_t *d_errstats; member 342 if (bd->d_errstats != NULL) in bd_create_errstats() 350 bd->d_errstats = kstat_create(ks_module, inst, ks_name, "device_error", in bd_create_errstats() 353 if (bd->d_errstats == NULL) { in bd_create_errstats() 365 if (bd->d_errstats->ks_lock == NULL) { in bd_create_errstats() 366 bd->d_errstats->ks_lock = kmem_zalloc(sizeof (kmutex_t), in bd_create_errstats() 368 mutex_init(bd->d_errstats->ks_lock, NULL, MUTEX_DRIVER, in bd_create_errstats() 372 bd->d_errmutex = bd->d_errstats->ks_lock; in bd_create_errstats() 373 bd->d_kerr = (struct bd_errstats *)bd->d_errstats->ks_data; in bd_create_errstats() 412 bd->d_errstats->ks_private = bd; in bd_create_errstats() [all …]
|
/titanic_50/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_subr.c | 140 if (fmd.d_errstats != NULL && err >= EFMD_UNKNOWN && err < EFMD_END) in fmd_verror() 141 fmd.d_errstats[err - EFMD_UNKNOWN].fmds_value.ui64++; in fmd_verror()
|
H A D | fmd.h | 125 fmd_stat_t *d_errstats; /* program-wide error statistics */ member
|
H A D | fmd.c | 542 dp->d_errstats = sp = fmd_zalloc(sizeof (fmd_stat_t) * in fmd_create() 552 EFMD_END - EFMD_UNKNOWN, dp->d_errstats, NULL); in fmd_create() 667 if (dp->d_errstats != NULL) { in fmd_destroy() 668 fmd_free(dp->d_errstats, in fmd_destroy()
|
H A D | fmd_api.c | 106 fmd.d_errstats[EFMD_MODULE - EFMD_UNKNOWN].fmds_value.ui64++; in fmd_api_vxerror() 109 fmd.d_errstats[err - EFMD_UNKNOWN].fmds_value.ui64++; in fmd_api_vxerror()
|