Home
last modified time | relevance | path

Searched refs:MDI_UNIT (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dmdtrans.c391 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in trans_detach()
451 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in trans_attach()
645 ui = MDI_UNIT(getminor(pb->b_edev)); in md_trans_strategy()
964 if ((ui = MDI_UNIT(mnum)) == NULL) in trans_halt()
974 if ((ui = MDI_UNIT(mnum)) == NULL) in trans_halt()
989 if ((ui = MDI_UNIT(mnum)) == NULL) in trans_halt()
1001 if ((ui = MDI_UNIT(mnum)) == NULL) in trans_halt()
1014 if ((ui = MDI_UNIT(mnum)) == NULL) in trans_halt()
1040 mdi_unit_t *ui = MDI_UNIT(mnum); in trans_open()
1094 mdi_unit_t *ui = MDI_UNIT(mnum); in trans_close()
H A Dtrans_ioctl.c87 ui = MDI_UNIT(mnum); in trans_getun()
1236 ui = MDI_UNIT(mnum); in trans_replace()
1429 if (md_unit_isopen(MDI_UNIT(mnum))) { in trans_reset_ioctl()
2557 if (!MDI_UNIT(from_min) || !(from_un = MD_UNIT(from_min))) { in trans_rename_listkids()
2573 MDI_UNIT(master_min), &rtxnp->mde); in trans_rename_listkids()
2592 MDI_UNIT(log_min), &rtxnp->mde); in trans_rename_listkids()
/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c160 ui = MDI_UNIT(mnum); in raid_getun()
231 ASSERT(MDI_UNIT(MD_SID(un)) ? UNIT_WRITER_HELD(un) : 1); in raid_commit()
469 ui = MDI_UNIT(mnum); in raid_init_columns()
656 ui = MDI_UNIT(mnum); in raid_init_unit()
714 mdi_unit_t *ui = MDI_UNIT(mnum); in regen_unit()
801 ui = MDI_UNIT(mnum); in raid_regen_unit()
835 un = md_unit_readerlock(MDI_UNIT(mnum)); in raid_regen()
838 md_unit_readerexit(MDI_UNIT(mnum)); in raid_regen()
844 md_unit_readerexit(MDI_UNIT(mnum)); in raid_regen()
849 md_unit_readerexit(MDI_UNIT(mnum)); in raid_regen()
[all …]
H A Draid_hotspare.c148 ui = MDI_UNIT(mnum); in check_comp_4_hs()
341 ui = MDI_UNIT(next->ln_id); in check_4_hs()
H A Draid.c213 ASSERT(MDI_UNIT(MD_SID(un)) ? UNIT_WRITER_HELD(un) : 1); in raid_set_state()
676 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in raid_free_pwinvalidate()
1053 ASSERT((MDI_UNIT(mnum)->ui_io_lock->io_list_front == NULL) && in reset_raid()
1054 (MDI_UNIT(mnum)->ui_io_lock->io_list_back == NULL)); in reset_raid()
1257 md_unit_readerexit(MDI_UNIT(MD_SID(un))); in raid_free_child()
1292 mdi_unit_t *ui = MDI_UNIT(un->c.un_self_id); in raid_regen_parity()
1864 mdi_unit_t *ui = MDI_UNIT(un->c.un_self_id); in raid_io_startup()
3506 ui = MDI_UNIT(getminor(pb->b_edev)); in md_raid_strategy()
3766 if ((ui = MDI_UNIT(mnum)) == NULL) in raid_halt()
3781 if ((ui = MDI_UNIT(mnum)) == NULL) in raid_halt()
[all …]
H A Draid_resync.c624 ui = MDI_UNIT(mnum); in resync_comp()
978 ui = MDI_UNIT(mnum); in resync_unit()
1050 ui = MDI_UNIT(mnum); in raid_resync_unit()
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c282 mdi_unit_t *ui = MDI_UNIT(mnum); in process_resync_regions_non_owner()
410 mdi_unit_t *ui = MDI_UNIT(mnum); in process_resync_regions_owner()
590 ui = MDI_UNIT(next->ln_id); in check_resync_regions()
779 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in unit_setup_resync()
979 md_unit_readerexit(MDI_UNIT(MD_SID(un))); in resync_read_buffer()
986 (void) md_unit_readerlock(MDI_UNIT(MD_SID(un))); in resync_read_buffer()
1019 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in send_mn_resync_done_message()
1131 mdi_unit_t *ui = MDI_UNIT(MD_SID(un)); in send_mn_resync_next_message()
1268 if (resync_kill_pending(un, MDI_UNIT(MD_SID(un)), type)) in resync_read_blk_range()
1302 if (resync_kill_pending(un, MDI_UNIT(MD_SID(un)), type)) in resync_read_blk_range()
[all …]
H A Dmirror.c464 md_unit_writerexit(MDI_UNIT(mnum)); in check_comp_4_hotspares()
538 new_un = md_unit_writerlock(MDI_UNIT(mnum)); in check_comp_4_hotspares()
547 md_unit_writerexit(MDI_UNIT(mnum)); in check_comp_4_hotspares()
650 md_unit_writerexit(MDI_UNIT(mnum)); in check_comp_4_hotspares()
657 new_un = md_ioctl_writerlock(lockp, MDI_UNIT(mnum)); in check_comp_4_hotspares()
659 new_un = md_unit_writerlock(MDI_UNIT(mnum)); in check_comp_4_hotspares()
740 ui = MDI_UNIT(next->ln_id); in check_4_hotspares()
1004 ui = MDI_UNIT(getminor(ci_dev)); in mirror_check_failfast()
1134 ui = MDI_UNIT(mnum); in mirror_open_all_devs()
1179 sm_ui = MDI_UNIT(getminor(md_dev64_to_dev(tmpdev))); in mirror_open_all_devs()
[all …]
H A Dmirror_ioctl.c124 ui = MDI_UNIT(mnum); in mirror_getun()
381 ui = MDI_UNIT(mnum); in mirror_reset()
621 ui = MDI_UNIT(mnum); in comp_replace()
790 ms_ui = MDI_UNIT(ms_mnum); in comp_replace()
899 if (md_unit_isopen(MDI_UNIT(sm_mnum))) { in mirror_attach()
921 if (md_unit_isopen(MDI_UNIT(mnum))) { in mirror_attach()
1032 ui = MDI_UNIT(mnum); in mirror_detach()
1098 if (md_unit_isopen(MDI_UNIT(mnum))) in mirror_detach()
1177 mdi_unit_t *ui = MDI_UNIT(mnum); in mirror_offline()
1792 ui = MDI_UNIT(p->d.mnum); in mirror_set_owner()
[all …]
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c123 ui = MDI_UNIT(mnum); in sp_getun()
194 (void) md_ioctl_writerlock(lockp, MDI_UNIT(minors[i])); in sp_setstatus()
610 if ((ui = MDI_UNIT(mnum)) == NULL) { in sp_get()
679 ui = MDI_UNIT(mnum); in sp_reset()
774 ui = MDI_UNIT(mnum); in sp_grow()
799 MDI_UNIT(par[i])); in sp_grow()
935 if ((ui = MDI_UNIT(mnum)) == NULL) { in sp_getdevs()
982 ui = MDI_UNIT(p->mnum); in sp_set_capability()
1252 ((ui = MDI_UNIT(mnum)) == NULL) || in md_sp_ioctl()
H A Dsp.c474 ps->ps_ui = MDI_UNIT(mnum); in sp_send_stat_ok()
489 ps->ps_ui = MDI_UNIT(mnum); in sp_send_stat_err()
969 ui = MDI_UNIT(getminor(parent_buf->b_edev)); in md_sp_strategy()
1111 ui = MDI_UNIT(mnum); in sp_directed_read()
1414 if ((ui = MDI_UNIT(mnum)) == NULL) in sp_halt()
1429 if ((ui = MDI_UNIT(mnum)) == NULL) in sp_halt()
1497 mdi_unit_t *ui = MDI_UNIT(mnum); in sp_open()
1631 mdi_unit_t *ui = MDI_UNIT(mnum); in sp_close()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd.c1371 if ((ui = MDI_UNIT(mnum)) == NULL) { in get_minfo()
1496 if ((ui = MDI_UNIT(mnum)) == NULL) { in mdopen()
1627 ((ui = MDI_UNIT(mnum)) == NULL)) { in mdclose()
1675 ((ui = MDI_UNIT(mnum)) == NULL)) in mdread()
1709 ((ui = MDI_UNIT(mnum)) == NULL)) in mdaread()
1743 ((ui = MDI_UNIT(mnum)) == NULL)) in mdwrite()
1778 ((ui = MDI_UNIT(mnum)) == NULL)) in mdawrite()
1805 ((ui = MDI_UNIT(mnum)) == NULL)) { in mdstrategy()
1928 ((ui = MDI_UNIT(mnum)) == NULL)) { in mdioctl()
1956 ((ui = MDI_UNIT(mnum)) == NULL)) in mddump()
H A Dmd_subr.c1061 mdi_unit_t *ui = MDI_UNIT(mnum); in md_unit_incopen()
1100 mdi_unit_t *ui = MDI_UNIT(mnum); in md_unit_decopen()
1327 if ((ui = MDI_UNIT(md_getminor(dev))) == NULL) in md_get_named_service()
1938 ui = MDI_UNIT(mnum); in md_layered_open()
1989 mdi_unit_t *ui = MDI_UNIT(mnum); in md_layered_close()
2316 ui = MDI_UNIT(getminor(bp->b_edev)); in md_call_strategy()
2353 ui = MDI_UNIT(md_getminor(dev)); in md_call_ioctl()
2398 if (MDI_UNIT(md_getminor(dev)) != NULL) in md_dev_exists()
2414 ui = MDI_UNIT(md_getminor(dev)); in md_get_parent()
2432 ui = MDI_UNIT(md_getminor(dev)); in md_set_parent()
[all …]
H A Dmd_rename.c404 MDI_UNIT(MD_PARENT(rtxnp->from.unp)), in md_rename_listfolks()
1298 if ((rtxnp->from.uip = MDI_UNIT(from_min)) == NULL) { in validate_txn_parms()
1324 rtxnp->to.uip = MDI_UNIT(to_min); in validate_txn_parms()
1375 if (MDI_UNIT(to_min) || in validate_txn_parms()
1447 from_ui = MDI_UNIT(from_min); in set_list_rels_funcp()
H A Dmd_ioctl.c785 ui = MDI_UNIT(mnum); in getdrvnm_ioctl()
1381 if ((ui = MDI_UNIT(mnum)) == NULL) { in setuserflags()
1646 ui = MDI_UNIT(gu->id); in get_tstate()
1682 if ((ui = MDI_UNIT(mnum)) == NULL) { in md_clu_ioctl()
2483 if ((ui = MDI_UNIT(mnum)) == NULL) { in md_base_ioctl()
4144 if ((ui = MDI_UNIT(mnum)) == NULL) in md_dkiocgetefi()
4177 if ((ui = MDI_UNIT(mnum)) == NULL) in md_dkiocsetefi()
4235 if ((ui = MDI_UNIT(mnum)) == NULL) in md_dkiocpartition()
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdvar.h300 (MDI_UNIT(MD_SID(un))->ui_lock & MD_UL_WRITER)
302 (MDI_UNIT(MD_SID(un))->ui_readercnt != 0)
304 (MDI_UNIT(MD_SID(un))->ui_io_lock->io_lock & MD_UL_WRITER)
306 (MDI_UNIT(MD_SID(un))->ui_io_lock->io_readercnt != 0)
360 #define MDI_UNIT(m) ((mdi_unit_t *) \ macro
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c723 ui = MDI_UNIT(getminor(pb->b_edev)); in md_stripe_strategy()
937 if ((ui = MDI_UNIT(mnum)) == NULL) in stripe_halt()
952 if ((ui = MDI_UNIT(mnum)) == NULL) in stripe_halt()
967 mdi_unit_t *ui = MDI_UNIT(mnum); in stripe_open()
1015 mdi_unit_t *ui = MDI_UNIT(mnum); in stripe_close()
1260 md_unit_writerexit(MDI_UNIT(mnum)); in stripe_replace_done()
1287 ui = MDI_UNIT(mnum); in stripe_replace_dev()
1543 ui = MDI_UNIT(mnum); in stripe_hotspare_dev()
H A Dstripe_ioctl.c316 if ((ui = MDI_UNIT(mnum)) == NULL) { in stripe_get()
367 ui = MDI_UNIT(mnum); in stripe_reset()
439 ui = MDI_UNIT(mnum); in stripe_grow()
464 MDI_UNIT(par[i])); in stripe_grow()
770 if ((ui = MDI_UNIT(mnum)) == NULL) { in stripe_getdevs()
830 if ((ui = MDI_UNIT(mnum)) == NULL) { in stripe_change()