Home
last modified time | relevance | path

Searched refs:md_nsets (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/cmd/mdb/common/modules/md/
H A Dsnarf.c38 set_t md_nsets = 0; variable
66 for (i = 0; i < md_nsets; i++) { in dumpsetaddr()
150 if (mdb_vread(&md_nsets, sizeof (set_t), mdsetsym.st_value) == -1) { in snarf_sets()
162 for (i = 0; i < md_nsets; i++) { in snarf_sets()
202 mdb_printf("Max number of sets: %u\n", md_nsets); in snarf_sets()
H A Dwalk_units.c67 for (i = 0; i < md_nsets; i++) { in units_walk_init()
87 if ((un->setno < md_nsets) && (un->do_all == 1)) { in units_walk_step()
H A Dmdinclude.h58 extern set_t md_nsets;
H A Dfindset.c48 for (i = 0; i < md_nsets; i++) { in findset()
H A Dwalk_sets.c54 if (*((int *)wsp->walk_data) >= md_nsets) in sets_walk_step()
H A Dwalk_hsp.c58 if (*((int *)wsp->walk_data) < md_nsets) { in hotsparepool_walk_step()
H A Dwalk_nm.c56 if (*((int *)wsp->walk_data) < md_nsets) { in namespace_walk_step()
H A Dwalk_didnm.c56 if (*((int *)wsp->walk_data) < md_nsets) { in didnamespace_walk_step()
H A Ddumpnamespace.c472 for (j = 0; j < md_nsets; j++) { in dumpnamespace()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c59 extern set_t md_nsets;
173 if (setno >= md_nsets || (MD_MIN2UNIT(mnum) >= md_nunits)) { in verify_minor()
193 if (setno >= md_nsets) in get_lb_inittime_ioctl()
734 if (nm->setno >= md_nsets) in getnextkey_ioctl()
945 if (ds->setno >= md_nsets) { in didstat_ioctl()
985 if (nm->setno >= md_nsets) { in getdid_ioctl()
1036 if (info->c_setno >= md_nsets) in mddb_setmaster_ioctl()
1084 if (nm->setno >= md_nsets) in setdid_ioctl()
1117 if (nm->setno >= md_nsets) in getdidmin_ioctl()
1159 if (ur->ur_setno >= md_nsets) in mddb_userreq_ioctl()
[all …]
H A Dmd.c166 set_t md_nsets = MD_MAXSETS; variable
638 md_nsets = MD_MAXSETS; in mdattach()
755 for (s = 0; s < md_nsets; s++) { in mddetach()
767 md_nsets = 0; in mddetach()
1478 if ((setno >= md_nsets) || (unit >= md_nunits)) { in mdopen()
1626 if ((setno >= md_nsets) || (unit >= md_nunits) || in mdclose()
1673 (MD_MIN2SET(mnum) >= md_nsets) || in mdread()
1707 (MD_MIN2SET(mnum) >= md_nsets) || in mdaread()
1741 (MD_MIN2SET(mnum) >= md_nsets) || in mdwrite()
1776 (MD_MIN2SET(mnum) >= md_nsets) || in mdawrite()
[all …]
H A Dmd_subr.c83 extern set_t md_nsets;
650 for (i = 1; i < md_nsets; i++) { in md_ioctl_lock_exit()
1322 if ((MD_MIN2SET(md_getminor(dev)) >= md_nsets) || in md_get_named_service()
1778 for (i = 0; i < md_nsets; i++) in md_halt()
1804 for (i = 0; i < md_nsets; i++) in md_halt()
1816 for (j = 0; j < md_nsets; j++) in md_halt()
1828 for (i = 0; i < md_nsets; i++) { in md_halt()
1898 for (i = 0; i < md_nsets; i++) in md_halt()
2237 if (setno >= md_nsets) in md_getmodindex()
2394 if ((MD_MIN2SET(md_getminor(dev)) >= md_nsets) || in md_dev_exists()
[all …]
H A Dmd_mddb.c103 extern set_t md_nsets; /* md.c */
7395 if (setno >= md_nsets || cp->c_id < 0 || in getdeldev()
7986 if (cp->c_setno >= md_nsets || cp->c_devt <= 0) in setdid()
8067 if (setno >= md_nsets || cp->c_locator.l_dev <= 0) in delnewside()
8304 if (setno >= md_nsets || cp->c_locator.l_dev <= 0) in newdev()
8662 for (i = 0; i < md_nsets; i++) { in mddb_check()
8719 if (setno >= md_nsets) in mddb_configure()
8776 if (setno >= md_nsets) in mddb_getoptloc()
8816 for (i = 0; i < md_nsets; i++) { in mddb_unload()
10163 if (setno >= md_nsets) in getmed_ioctl()
[all …]
H A Dmd_rename.c49 extern set_t md_nsets;
1387 if ((MD_MIN2SET(to_min) >= md_nsets) || in validate_txn_parms()
1676 if (setno >= md_nsets) { in md_rename()
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c89 extern set_t md_nsets;
113 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) { in sp_getun()
251 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in sp_update_watermarks()
467 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in sp_set()
606 if ((MD_MIN2SET(mnum) >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in sp_get()
768 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in sp_grow()
932 if ((MD_MIN2SET(mnum) >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in sp_getdevs()
1250 if ((MD_MIN2SET(mnum) >= md_nsets) || in md_sp_ioctl()
H A Dsp.c111 extern set_t md_nsets;
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c59 extern set_t md_nsets;
156 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) { in stripe_set()
313 if ((MD_MIN2SET(mnum) >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in stripe_get()
347 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in stripe_reset()
433 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in stripe_grow()
767 if ((MD_MIN2SET(mnum) >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in stripe_getdevs()
824 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) in stripe_change()
1075 if ((MD_MIN2SET(mnum) >= md_nsets) || in md_stripe_ioctl()
H A Dstripe.c63 extern set_t md_nsets;
/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c60 extern set_t md_nsets;
75 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) { in trans_getun()
1947 if ((MD_MIN2SET(mnum) >= md_nsets) || in md_trans_ioctl()
H A Dtrans_log.c50 extern set_t md_nsets;
H A Dmdtrans.c66 extern set_t md_nsets;
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c61 extern set_t md_nsets;
2974 if ((setno >= md_nsets) || in mirror_ioctl_resync()
3652 if ((setno >= md_nsets) || in mirror_set_dirty_rr()
3805 if ((setno >= md_nsets) || in mirror_set_clean_rr()
H A Dmirror.c75 extern set_t md_nsets;
735 for (x = 0; x < md_nsets; x++) in check_4_hotspares()
780 for (x = 0; x < md_nsets; x++) in check_4_hotspares()
1723 if ((MD_MIN2SET(md_getminor(tmpdev)) >= md_nsets) || in mirror_are_submirrors_available()
4688 if (setno >= md_nsets) { in mirror_resync_message()
H A Dmirror_ioctl.c66 extern set_t md_nsets;
112 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) { in mirror_getun()
3032 if ((MD_MIN2SET(mnum) >= md_nsets) || in md_mirror_ioctl()
/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c91 extern set_t md_nsets;
148 if ((setno >= md_nsets) || (MD_MIN2UNIT(mnum) >= md_nunits)) { in raid_getun()
2665 if ((MD_MIN2SET(mnum) >= md_nsets) || in md_raid_ioctl()

12