Searched refs:metaioctl (Results 1 - 25 of 36) sorted by relevance

12

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_admin.c70 if (metaioctl(MD_IOCGVERSION, &dversion, ep, NULL) != 0)
119 if (metaioctl(MD_IOCGETNUNITS, &max_nunits, ep, NULL) != 0)
H A Dmeta_namespace.c68 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, NULL) != 0) {
113 if (metaioctl(MD_IOCGET_HSP_NM, &nm, &nm.mde, NULL) != 0) {
156 if (metaioctl(MD_IOCGET_HSP_NM, &nm, &nm.mde, NULL) != 0) {
194 if (metaioctl(MD_IOCGET_DIDMIN, &nm, &nm.mde, NULL) != 0) {
227 if (metaioctl(MD_IOCGET_DID, &nm, &nm.mde, NULL) != 0) {
247 if (metaioctl(MD_IOCGET_DID, &nm, &nm.mde, NULL) != 0) {
275 if (metaioctl(MD_IOCSET_DID, &nm, &nm.mde, NULL) != 0) {
302 if (metaioctl(MD_IOCSET_DID, &nm, &nm.mde, NULL) != 0) {
361 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, NULL) != 0) {
429 if (metaioctl(MD_IOCSET_N
[all...]
H A Dmeta_attach.c66 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, namep->cname) != 0)
H A Dmeta_userflags.c91 if (metaioctl(MD_IOCSET_FLAGS, &msu, &msu.mde, np->cname) != 0)
H A Dmeta_rename.c202 if (metaioctl(MD_IOCRENAME, &txn, &txn.mde, from_np->cname) != 0) {
208 (void) metaioctl(MD_IOCREM_DEV, &txn.from.mnum,
217 (void) metaioctl(MD_IOCREM_DEV, &txn.to.mnum,
320 (void) metaioctl(MD_IOCREM_DEV, &to_minor, t_ep, NULL);
332 (void) metaioctl(MD_IOCREM_DEV, &to_minor, t_ep, NULL);
H A Dmeta_mn_handlers.c287 ret = metaioctl(MD_IOCISOPEN, d, &(d->mde), NULL);
342 while ((ret = metaioctl(MD_MN_SET_MM_OWNER, &setown, &setown.mde, NULL))
515 ret = metaioctl(MD_MN_SET_MM_OWNER, &setown,
544 ret = metaioctl(MD_MN_SUSPEND_WRITES, &suspwr_ioc,
578 ret = metaioctl(MD_MN_SET_STATE, &setstate_ioc,
664 ret = metaioctl(MD_MN_ALLOCATE_HOTSPARE, &allochsp_ioc,
736 if (metaioctl(MD_MN_GET_SETFLAGS, &sf, &sf.sf_mde, NULL) != 0) {
746 /* metaioctl returns successfully - is start flag cleared? */
771 ret = metaioctl(MD_MN_RESYNC, &respar, &respar.mde, NULL);
802 ret = metaioctl(MD_MN_SETSYN
[all...]
H A Dmeta_metad_subr.c152 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0)
159 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0)
176 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) {
190 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) {
248 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL)
267 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL) != 0) {
277 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL) != 0) {
438 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0)
488 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde,
535 if (metaioctl(MD_IOCGET_N
[all...]
H A Dmeta_raid_resync.c67 if (metaioctl(MD_IOCSETSYNC, &ri, &ri.mde, raidnp->cname) != 0)
H A Dmeta_mn_changelog.c191 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) {
484 if ((retval = metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde,
489 "mdmn_commitlog - metaioctl SETDATA failure\n%s",
504 if ((retval = metaioctl(MD_MN_DB_USERREQ, &req,
509 "mdmn_commitlog - metaioctl COMMIT_MANY"
544 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) {
562 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) {
H A Dmeta_getdevs.c165 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) {
184 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) {
510 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) {
526 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) {
H A Dmeta_reset.c62 if (metaioctl(MD_IOCRESET, &mir, &mir.mde, np->cname) != 0)
H A Dmeta_devadm.c257 if (metaioctl(MD_IOCUPD_LOCNM, &nm, &nm.mde, NULL) != 0) {
296 if (metaioctl(MD_IOCUPD_NM, &nm, &nm.mde, NULL) != 0) {
636 if (metaioctl(MD_IOCNXTKEY_NM, &nm, &nm.mde, NULL) != 0) {
836 if (metaioctl(MD_IOCDID_STAT, &ds, &ds.mde, NULL) != 0) {
853 if (metaioctl(MD_IOCDID_STAT, &ds, &ds.mde, NULL) != 0) {
953 if (metaioctl(MD_DB_SETDID, &db_c,
1131 if (metaioctl(MD_SETNMDID, &nm, &nm.mde, NULL) != 0) {
1159 if (metaioctl(MD_IOCNXTKEY_NM, &nm, &nm.mde, NULL) != 0) {
1234 if (metaioctl(MD_SETNMDID, &nm,
H A Dmeta_hotspares.c72 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) {
88 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) {
141 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) {
149 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) {
230 if (metaioctl(MD_IOCGET_HS, &ghs, &ghs.mde, NULL) != 0) {
1125 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde,
1178 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, NULL) != 0) {
1241 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde,
1304 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, hsnp->cname) != 0)
1488 if (metaioctl(MD_IOCSET_H
[all...]
H A Dmeta_mirror_resync.c106 if (metaioctl(MD_IOCSETSYNC, &ri, &ri.mde, mirnp->cname) != 0)
308 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde,
484 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde,
H A Dmeta_db.c83 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) {
98 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) {
108 if (metaioctl(MD_DB_GETDEV, c, &c->c_mde, NULL) != 0) {
154 if (metaioctl(MD_DB_LBINITTIME, &c, &c.c_mde, NULL) != 0) {
990 if (metaioctl(MD_DB_NEWSIDE, &c, &c.c_mde, NULL) != 0) {
1097 if (metaioctl(MD_DB_DELSIDE, &c, &c.c_mde, NULL) != 0)
1344 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) {
1627 if (metaioctl(MD_DB_NEWDEV, &c, &c.c_mde,
1819 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0)
1852 if (metaioctl(MD_DB_GETDE
[all...]
H A Dmeta_init.c234 if (metaioctl(MD_IOCMAKE_DEV, &params, &params.mde, NULL) != 0) {
455 (void) metaioctl(MD_IOCREM_DEV, &mnum, &t_e, NULL);
H A Dmeta_set_med.c504 if (metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde,
522 if (metaioctl(MD_MED_UPD_MED, &mup, &mup.med_mde, NULL) != 0)
611 (void) metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL);
1014 if (metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL) != 0) {
1167 (void) metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL);
H A Dmeta_mirror.c161 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, mirnp->cname) != 0) {
1096 if (metaioctl(MD_MN_GET_MM_OWNER, &ownpar, ep,
1147 if (metaioctl(MD_DB_GETOPTLOC, &optloc, ep,
1164 if (metaioctl(MD_DB_ENDDEV, &dbconf, &dbconf.c_mde,
1435 if (metaioctl(MD_IOCONLINE, &mio, &mio.mde, NULL) != 0)
1516 if (metaioctl(MD_IOCOFFLINE, &mio, &mio.mde, NULL) != 0)
1608 if (metaioctl(MD_IOCATTACH, &att, &att.mde, NULL) != 0) {
1684 if (metaioctl(MD_IOCDETACH, &detach, &detach.mde, NULL) != 0)
1762 if (metaioctl(MD_IOCCHANGE, &mmp, &mmp.mde, mirnp->cname) != 0)
1988 if (metaioctl(MD_IOCREPLAC
[all...]
H A Dmeta_mn_subr.c289 (void) metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL);
797 while ((rval = metaioctl(MD_MN_SET_MM_OWNER, ownpar, &ownpar->mde,
826 while ((rval = metaioctl(MD_MN_MM_OWNER_STATUS, ownstat,
H A Dmeta_nameinfo.c1075 if (metaioctl(MD_IOCGET_DRVNM, &mid, &mid.mde, np->cname) != 0) {
1110 if (metaioctl(MD_IOCGET, &mig, &mig.mde, np->cname) != 0) {
1118 if (metaioctl(MD_IOCGET, &mig, &mig.mde, np->cname) != 0) {
1246 if (metaioctl(MD_IOCISOPEN, &d, &d.mde, np->cname) != 0)
H A Dmeta_print.c357 if (metaioctl(MD_IOCGET_TSTATE, &params, &params.mde, NULL) != 0) {
H A Dmeta_set_prv.c63 if (metaioctl(MD_DID_DEVID, &idevid, &mderr, NULL) != 0)
424 if (metaioctl(MD_RELEASE_SET, &c, &c.c_mde, NULL) != 0)
907 if (metaioctl(MD_DB_USEDEV, &c, &c.c_mde, NULL) != 0) {
958 if (metaioctl(MD_GRAB_SET, &c, &c.c_mde, NULL) != 0)
H A Dmeta_smf.c166 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0 || c.c_dbcnt == 0)
H A Dmeta_raid.c219 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, raidnp->cname) != 0) {
1395 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, NULL) != 0) {
1495 if (metaioctl(MD_IOCCHANGE, &msp, &msp.mde, raidnp->cname) != 0)
1692 if (metaioctl(MD_IOCREPLACE, &params, &params.mde, NULL) != 0) {
1808 if (metaioctl(MD_IOCREPLACE, &params, &params.mde, NULL) != 0)
2373 if (metaioctl(MD_IOCSET, &set_params, &set_params.mde,
2763 if (metaioctl(MD_IOCSETREGEN, &ri, &ri.mde, raidnp->cname) != 0)
2808 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) {
2826 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, np->cname) != 0) {
H A Dmeta_set.c247 if (metaioctl(MD_IOCGETNSET, &max_sets, ep, NULL) != 0)
259 if (metaioctl(MD_MED_GET_NMED, &max_meds, ep, NULL) != 0)
1858 if (metaioctl(MD_MED_GET_TAG, &dtgp, &dtgp.dtgp_mde, NULL) != 0)
3119 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) {
4130 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, &sf.sf_mde,
4410 if ((metaioctl(MD_MN_GET_SETFLAGS, &sf,
4452 if (metaioctl(MD_MN_RESUME_SET, &setno, ep, NULL)) {
5301 (void) metaioctl(MD_MN_SET_SETFLAGS, &sf,
5569 (void) metaioctl(MD_MN_SET_SETFLAGS, &sf,
5602 if (metaioctl(MD_DB_GETDE
[all...]

Completed in 97 milliseconds

12