Searched refs:migp (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_ioctl.c | 136 md_i_get_t *migp = d; in trans_get_transstats() local 138 mdclrerror(&migp->mde); in trans_get_transstats() 140 if (migp->size == 0) { in trans_get_transstats() 141 migp->size = sizeof (struct transstats); in trans_get_transstats() 145 if (migp->size < sizeof (struct transstats)) in trans_get_transstats() 148 if (ddi_copyout(&transstats, (caddr_t)(uintptr_t)migp->mdp, in trans_get_transstats() 170 md_i_get_t *migp = d; in trans_test_trygetblk() local 172 mdclrerror(&migp->mde); in trans_test_trygetblk() 173 migp->size = 0; in trans_test_trygetblk() 175 un = trans_getun(migp->id, &migp->mde, in trans_test_trygetblk() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/hotspares/ |
H A D | hotspares.c | 1077 md_i_get_t *migp = (md_i_get_t *)d; in get_hsp() local 1080 setno = migp->md_driver.md_setno; in get_hsp() 1082 mdclrerror(&migp->mde); in get_hsp() 1085 hsp = find_hot_spare_pool(setno, migp->id); in get_hsp() 1087 return (mdhsperror(&migp->mde, MDE_INVAL_HSP, in get_hsp() 1088 migp->id)); in get_hsp() 1094 if (migp->size == 0) { in get_hsp() 1095 migp->size = (int)size; in get_hsp() 1099 if (migp->size < size) in get_hsp() 1108 if (ddi_copyout(ghsp, (caddr_t)(uintptr_t)migp->mdp, size, mode)) in get_hsp()
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 597 md_i_get_t *migp = d; in sp_get() local 600 mnum = migp->id; in sp_get() 601 mdep = &migp->mde; in sp_get() 622 if (migp->size == 0) { in sp_get() 623 migp->size = un->c.un_size; in sp_get() 626 if (migp->size < un->c.un_size) { in sp_get() 631 if (ddi_copyout(un, (void *)(uintptr_t)migp->mdp, in sp_get()
|
/titanic_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 305 md_i_get_t *migp = d; in stripe_get() local 308 mnum = migp->id; in stripe_get() 309 mdep = &migp->mde; in stripe_get() 322 if (migp->size == 0) { in stripe_get() 323 migp->size = un->c.un_size; in stripe_get() 327 if (migp->size < un->c.un_size) { in stripe_get() 331 if (ddi_copyout(un, (void *)(uintptr_t)migp->mdp, in stripe_get()
|
/titanic_41/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_ioctl.c | 1061 void *migp, in raid_get() argument 1068 md_i_get_t *migph = migp; in raid_get()
|
/titanic_41/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_ioctl.c | 286 void *migp, in mirror_get() argument 292 md_i_get_t *migph = migp; in mirror_get()
|