Lines Matching defs:mpath
1277 struct msu_path *mpath;
1284 mpath = (struct msu_path *)kmem_zalloc((size_t)len, KM_SLEEP);
1285 mpath->num = 1;
1286 mdev = (struct msu_dev *)(mpath + 1);
1290 if ((oplmsu_config_del(mpath)) == 0) {
1295 kmem_free(mpath, (size_t)len);
1309 struct msu_path *mpath;
1416 mpath = (struct msu_path *)kmem_zalloc((size_t)len, KM_SLEEP);
1417 mpath->num = 1;
1418 mdev = (struct msu_dev *)(mpath + 1);
1422 rval = oplmsu_config_del(mpath);
1428 kmem_free(mpath, (size_t)len);
1552 struct msu_path *mpath;
1583 mpath = (struct msu_path *)kmem_zalloc((size_t)size, KM_SLEEP);
1586 mdev = (struct msu_dev *)(mpath + 1);
1628 kmem_free(mpath, size);
1633 mpath->num = connected;
1634 rval = oplmsu_config_new(mpath);
1642 kmem_free(mpath, size);
1653 rval = oplmsu_config_del(mpath);
1662 kmem_free(mpath, size);
1764 oplmsu_config_new(struct msu_path *mpath)
1771 ASSERT(mpath);
1773 if (mpath->num == 0) {
1775 "Number of paths = %d", mpath->num);
1826 mdev = (struct msu_dev *)(mpath + 1);
1827 for (i = 0; i < mpath->num; i++) {
1854 oplmsu_uinst->path_num = mpath->num;
1910 oplmsu_config_del(struct msu_path *mpath)
1920 ASSERT(mpath);
1922 mdev = (struct msu_dev *)(mpath + 1);
1926 for (i = 0; i < mpath->num; i++) {