| /onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| H A D | meta_namespace.c | 68 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, NULL) != 0) { in meta_getnmentbykey() 113 if (metaioctl(MD_IOCGET_HSP_NM, &nm, &nm.mde, NULL) != 0) { in meta_gethspnmentbyid() 156 if (metaioctl(MD_IOCGET_HSP_NM, &nm, &nm.mde, NULL) != 0) { in meta_gethspnmentbyname() 194 if (metaioctl(MD_IOCGET_DIDMIN, &nm, &nm.mde, NULL) != 0) { in meta_getdidminorbykey() 227 if (metaioctl(MD_IOCGET_DID, &nm, &nm.mde, NULL) != 0) { in meta_getdidbykey() 247 if (metaioctl(MD_IOCGET_DID, &nm, &nm.mde, NULL) != 0) { in meta_getdidbykey() 275 if (metaioctl(MD_IOCSET_DID, &nm, &nm.mde, NULL) != 0) { in meta_setdid() 302 if (metaioctl(MD_IOCSET_DID, &nm, &nm.mde, NULL) != 0) { in meta_setdid() 361 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, NULL) != 0) { in meta_getnmentbydev() 429 if (metaioctl(MD_IOCSET_NM, &nm, &nm.mde, bname) < 0) in add_name() [all …]
|
| H A D | meta_metad_subr.c | 152 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) in ckncvt_set_record() 159 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) in ckncvt_set_record() 176 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in ckncvt_set_record() 190 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in ckncvt_set_record() 248 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL) in get_db_rec() 267 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL) != 0) { in get_db_rec() 277 if (metaioctl(ureq, reqp, &reqp->ur_mde, NULL) != 0) { in get_db_rec() 438 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) in sr_del_drv() 488 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, in sr_drvs() 535 if (metaioctl(MD_IOCGET_NM, &nm, &nm.mde, in sr_drvs() [all …]
|
| H A D | meta_mn_handlers.c | 287 ret = metaioctl(MD_IOCISOPEN, d, &(d->mde), NULL); in mdmn_do_clu() 342 while ((ret = metaioctl(MD_MN_SET_MM_OWNER, &setown, &setown.mde, NULL)) in mdmn_do_req_owner() 515 ret = metaioctl(MD_MN_SET_MM_OWNER, &setown, in mdmn_do_change_owner() 544 ret = metaioctl(MD_MN_SUSPEND_WRITES, &suspwr_ioc, in mdmn_do_susp_write() 578 ret = metaioctl(MD_MN_SET_STATE, &setstate_ioc, in mdmn_do_state_upd_reswr() 664 ret = metaioctl(MD_MN_ALLOCATE_HOTSPARE, &allochsp_ioc, in mdmn_do_allocate_hotspare() 736 if (metaioctl(MD_MN_GET_SETFLAGS, &sf, &sf.sf_mde, NULL) != 0) { in mdmn_do_resync() 771 ret = metaioctl(MD_MN_RESYNC, &respar, &respar.mde, NULL); in mdmn_do_resync() 802 ret = metaioctl(MD_MN_SETSYNC, &ri, &ri.mde, NULL); in mdmn_do_setsync() 835 ret = metaioctl(MD_MN_SET_CAP, &setcap_ioc, &setcap_ioc.mde, NULL); in mdmn_do_set_cap() [all …]
|
| H A D | meta_admin.c | 70 if (metaioctl(MD_IOCGVERSION, &dversion, ep, NULL) != 0) in open_admin() 119 if (metaioctl(MD_IOCGETNUNITS, &max_nunits, ep, NULL) != 0) in meta_get_nunits()
|
| H A D | meta_rename.c | 202 if (metaioctl(MD_IOCRENAME, &txn, &txn.mde, from_np->cname) != 0) { in meta_swap() 208 (void) metaioctl(MD_IOCREM_DEV, &txn.from.mnum, in meta_swap() 217 (void) metaioctl(MD_IOCREM_DEV, &txn.to.mnum, in meta_swap() 320 (void) metaioctl(MD_IOCREM_DEV, &to_minor, t_ep, NULL); in meta_rename() 332 (void) metaioctl(MD_IOCREM_DEV, &to_minor, t_ep, NULL); in meta_rename()
|
| H A D | meta_mn_changelog.c | 192 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in mdmn_allocate_changelog() 485 if ((retval = metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, in mdmn_commitlog() 505 if ((retval = metaioctl(MD_MN_DB_USERREQ, &req, in mdmn_commitlog() 545 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in mdmn_log_it() 563 if (metaioctl(MD_MN_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in mdmn_log_it()
|
| H A D | meta_db.c | 84 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 99 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 109 if (metaioctl(MD_DB_GETDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 155 if (metaioctl(MD_DB_LBINITTIME, &c, &c.c_mde, NULL) != 0) { in meta_get_lb_inittime() 990 if (metaioctl(MD_DB_NEWSIDE, &c, &c.c_mde, NULL) != 0) { in meta_db_addsidenms() 1097 if (metaioctl(MD_DB_DELSIDE, &c, &c.c_mde, NULL) != 0) in meta_db_delsidenm() 1345 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_db_attach() 1619 if (metaioctl(MD_DB_NEWDEV, &c, &c.c_mde, in meta_db_attach() 1821 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) in meta_db_detach() 1854 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) in meta_db_detach() [all …]
|
| H A D | meta_hotspares.c | 75 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) { in meta_get_hsp_names() 91 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) { in meta_get_hsp_names() 144 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) { in get_hspinfo() 152 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) { in get_hspinfo() 233 if (metaioctl(MD_IOCGET_HS, &ghs, &ghs.mde, NULL) != 0) { in meta_get_hsp_common() 1130 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, in meta_hs_add() 1184 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, NULL) != 0) { in meta_hs_add() 1247 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, in meta_hsp_delete() 1310 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, hsnp->cname) != 0) in meta_hs_delete() 1507 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, NULL) != 0) { in meta_hs_replace() [all …]
|
| H A D | meta_getdevs.c | 165 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) { in meta_getdevs() 184 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) { in meta_getdevs() 510 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) { in meta_get_names() 526 if (metaioctl(MD_IOCGET_NUM, &gn, &gn.mde, NULL) != 0) { in meta_get_names()
|
| H A D | meta_devadm.c | 257 if (metaioctl(MD_IOCUPD_LOCNM, &nm, &nm.mde, NULL) != 0) { in update_locator_namespace() 296 if (metaioctl(MD_IOCUPD_NM, &nm, &nm.mde, NULL) != 0) { in meta_update_namespace() 649 if (metaioctl(MD_IOCNXTKEY_NM, &nm, &nm.mde, NULL) != 0) { in pathname_reload() 849 if (metaioctl(MD_IOCDID_STAT, &ds, &ds.mde, NULL) != 0) { in pathname_reload() 866 if (metaioctl(MD_IOCDID_STAT, &ds, &ds.mde, NULL) != 0) { in pathname_reload() 966 if (metaioctl(MD_DB_SETDID, &db_c, in replica_update_devid() 1144 if (metaioctl(MD_SETNMDID, &nm, &nm.mde, NULL) != 0) { in devid_update() 1172 if (metaioctl(MD_IOCNXTKEY_NM, &nm, &nm.mde, NULL) != 0) { in devid_update() 1247 if (metaioctl(MD_SETNMDID, &nm, in devid_update()
|
| H A D | meta_mirror_resync.c | 106 if (metaioctl(MD_IOCSETSYNC, &ri, &ri.mde, mirnp->cname) != 0) in meta_mirror_resync() 308 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, in meta_mirror_resync_all() 484 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, in meta_mn_mirror_resync_all()
|
| H A D | meta_userflags.c | 91 if (metaioctl(MD_IOCSET_FLAGS, &msu, &msu.mde, np->cname) != 0) in meta_setuserflags()
|
| H A D | meta_mirror.c | 164 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, mirnp->cname) != 0) { in meta_get_mirror_common() 1099 if (metaioctl(MD_MN_GET_MM_OWNER, &ownpar, ep, in mirror_report() 1150 if (metaioctl(MD_DB_GETOPTLOC, &optloc, ep, in mirror_report() 1167 if (metaioctl(MD_DB_ENDDEV, &dbconf, &dbconf.c_mde, in mirror_report() 1438 if (metaioctl(MD_IOCONLINE, &mio, &mio.mde, NULL) != 0) in meta_mirror_online() 1519 if (metaioctl(MD_IOCOFFLINE, &mio, &mio.mde, NULL) != 0) in meta_mirror_offline() 1611 if (metaioctl(MD_IOCATTACH, &att, &att.mde, NULL) != 0) { in meta_mirror_attach() 1687 if (metaioctl(MD_IOCDETACH, &detach, &detach.mde, NULL) != 0) in meta_mirror_detach() 1765 if (metaioctl(MD_IOCCHANGE, &mmp, &mmp.mde, mirnp->cname) != 0) in meta_mirror_set_params() 1993 if (metaioctl(MD_IOCREPLACE, ¶ms, ¶ms.mde, NULL) != 0) { in meta_mirror_replace() [all …]
|
| H A D | meta_attach.c | 66 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, namep->cname) != 0) in meta_concat_generic()
|
| H A D | meta_raid_resync.c | 67 if (metaioctl(MD_IOCSETSYNC, &ri, &ri.mde, raidnp->cname) != 0) in meta_raid_resync()
|
| H A D | meta_set_med.c | 504 if (metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, in meta_set_addmeds() 522 if (metaioctl(MD_MED_UPD_MED, &mup, &mup.med_mde, NULL) != 0) in meta_set_addmeds() 611 (void) metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL); in meta_set_addmeds() 1014 if (metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL) != 0) { in meta_set_deletemeds() 1167 (void) metaioctl(MD_MED_SET_LST, &mp, &mp.med_mde, NULL); in meta_set_deletemeds()
|
| H A D | meta_init.c | 234 if (metaioctl(MD_IOCMAKE_DEV, ¶ms, ¶ms.mde, NULL) != 0) { in meta_init_make_device() 455 (void) metaioctl(MD_IOCREM_DEV, &mnum, &t_e, NULL); in meta_init_name()
|
| H A D | meta_mn_subr.c | 289 (void) metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL); in meta_mn_send_command() 797 while ((rval = metaioctl(MD_MN_SET_MM_OWNER, ownpar, &ownpar->mde, in meta_mn_change_owner() 826 while ((rval = metaioctl(MD_MN_MM_OWNER_STATUS, ownstat, in meta_mn_change_owner()
|
| H A D | meta_reset.c | 62 if (metaioctl(MD_IOCRESET, &mir, &mir.mde, np->cname) != 0) in meta_reset()
|
| H A D | meta_set.c | 245 if (metaioctl(MD_IOCGETNSET, &max_sets, ep, NULL) != 0) in get_max_sets() 257 if (metaioctl(MD_MED_GET_NMED, &max_meds, ep, NULL) != 0) in get_max_meds() 1833 if (metaioctl(MD_MED_GET_TAG, &dtgp, &dtgp.dtgp_mde, NULL) != 0) in meta_set_query() 3074 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_set_withdraw() 4085 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, &sf.sf_mde, in meta_reconfig_choose_master_for_set() 4365 if ((metaioctl(MD_MN_GET_SETFLAGS, &sf, in meta_reconfig_choose_master() 4407 if (metaioctl(MD_MN_RESUME_SET, &setno, ep, NULL)) { in meta_reconfig_choose_master() 5256 (void) metaioctl(MD_MN_SET_SETFLAGS, &sf, in meta_mnsync_user_records() 5523 (void) metaioctl(MD_MN_SET_SETFLAGS, &sf, in meta_mnsync_diskset_mddbs() 5545 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_mnsync_diskset_mddbs() [all …]
|
| H A D | meta_set_prv.c | 335 if (metaioctl(MD_RELEASE_SET, &c, &c.c_mde, NULL) != 0) in halt_set() 817 if (metaioctl(MD_DB_USEDEV, &c, &c.c_mde, NULL) != 0) { in setup_db_bydd() 868 if (metaioctl(MD_GRAB_SET, &c, &c.c_mde, NULL) != 0) in snarf_set()
|
| /onnv-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
| H A D | mdmn_commd_service.c | 268 (void) metaioctl(MD_MN_SET_COMMD_RUNNING, 0, &ep, "rpc.mdcommd"); in exit_commd() 340 (void) metaioctl(MD_MN_SET_COMMD_RUNNING, (void *)pid, &ep, in main() 382 (void) metaioctl(MD_MN_SET_COMMD_RUNNING, (void *)1, &ep, in main()
|
| /onnv-gate/usr/src/cmd/lvm/util/ |
| H A D | metaclust.c | 358 if (metaioctl(MD_MN_GET_MIRROR_STATE, mir_state, ep, in reset_state() 402 if (metaioctl(MD_MN_GET_MM_OWNER, ownpar, ep, in reset_state() 939 if (metaioctl(MD_MN_MDDB_BLOCK, &mbp, in main() 974 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, in main() 1145 if (metaioctl(MD_MN_MDDB_BLOCK, &mbp, in main() 1606 if (metaioctl(MD_DB_GETDEV, &cfg, &cfg.c_mde, in main() 1770 if (metaioctl(MD_DB_GETDEV, &cfg, &cfg.c_mde, in main() 1796 if (metaioctl(MD_MN_MDDB_BLOCK, &mbp, in main() 1851 if (metaioctl(MD_MN_GET_SETFLAGS, &sf, in main() 1875 if (metaioctl(MD_MN_SET_SETFLAGS, &sf, in main() [all …]
|
| H A D | metadevadm.c | 206 if (metaioctl(MD_UPGRADE_STAT, &md_upgd_stat, ep, NULL) != 0) { in main()
|
| /onnv-gate/usr/src/cmd/lvm/rpc.metad/ |
| H A D | metad_svc_subr.c | 744 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in imp_adddrvs() 855 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in adddrvs() 1081 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) in addhosts() 1116 if (metaioctl(MD_MN_SET_NODEID, &snp, in addhosts() 1157 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in addhosts() 1248 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in createset() 1335 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in mncreateset() 1356 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) != 0) { in mncreateset() 1428 if (metaioctl(MD_MN_SET_NODEID, &snp, &snp.sn_mde, NULL) != 0) { in mncreateset() 2001 if (metaioctl(MD_DB_USERREQ, &req, &req.ur_mde, NULL) in deldrvs() [all …]
|