/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db.c | 84 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 85 (void) mdstealerror(ep, &c->c_mde); in getlongname() 99 if (metaioctl(MD_DB_ENDDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 100 (void) mdstealerror(ep, &c->c_mde); in getlongname() 109 if (metaioctl(MD_DB_GETDEV, c, &c->c_mde, NULL) != 0) { in getlongname() 110 (void) mdstealerror(ep, &c->c_mde); in getlongname() 155 if (metaioctl(MD_DB_LBINITTIME, &c, &c.c_mde, NULL) != 0) { in meta_get_lb_inittime() 156 (void) mdstealerror(ep, &c.c_mde); in meta_get_lb_inittime() 990 if (metaioctl(MD_DB_NEWSIDE, &c, &c.c_mde, NULL) != 0) { in meta_db_addsidenms() 991 rval = mdstealerror(ep, &c.c_mde); in meta_db_addsidenms() [all …]
|
H A D | meta_mn_handlers.c | 1006 ret = metaioctl(MD_MN_MDDB_PARSE, &mpp, &mpp.c_mde, NULL); in mdmn_do_mddb_parse() 1008 (void) mdstealerror(&(resp->mmr_ep), &mpp.c_mde); in mdmn_do_mddb_parse() 1042 ret = metaioctl(MD_MN_MDDB_BLOCK, &mbp, &mbp.c_mde, NULL); in mdmn_do_mddb_block() 1044 (void) mdstealerror(&(resp->mmr_ep), &mbp.c_mde); in mdmn_do_mddb_block() 1247 ret = metaioctl(MD_DB_NEWDEV, &c, &c.c_mde, NULL); in mdmn_do_sm_mddb_attach() 1257 (void) mdstealerror(&(resp->mmr_ep), &c.c_mde); in mdmn_do_sm_mddb_attach() 1309 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in mdmn_do_sm_mddb_detach() 1311 (void) mdstealerror(&(resp->mmr_ep), &c.c_mde); in mdmn_do_sm_mddb_detach() 1318 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in mdmn_do_sm_mddb_detach() 1320 (void) mdstealerror(&(resp->mmr_ep), &c.c_mde); in mdmn_do_sm_mddb_detach() [all …]
|
H A D | meta_set_prv.c | 335 if (metaioctl(MD_RELEASE_SET, &c, &c.c_mde, NULL) != 0) in halt_set() 336 return (mdstealerror(ep, &c.c_mde)); in halt_set() 817 if (metaioctl(MD_DB_USEDEV, &c, &c.c_mde, NULL) != 0) { in setup_db_bydd() 831 return (mdstealerror(ep, &c.c_mde)); in setup_db_bydd() 868 if (metaioctl(MD_GRAB_SET, &c, &c.c_mde, NULL) != 0) in snarf_set() 869 return (mdstealerror(ep, &c.c_mde)); in snarf_set()
|
H A D | meta_smf.c | 167 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0 || c.c_dbcnt == 0) in meta_smf_getmask()
|
H A D | meta_import.c | 3295 if (metaioctl(MD_IOCUPDATE_NM_RR_DID, &c, &c.c_mde, NULL) != 0) { in meta_update_nm_rr_did() 3296 (void) mdstealerror(ep, &c.c_mde); in meta_update_nm_rr_did() 3607 if (metaioctl(MD_DB_USEDEV, &c, &c.c_mde, NULL) != 0) { in meta_imp_set() 3612 return (mdstealerror(ep, &c.c_mde)); in meta_imp_set() 3639 if (metaioctl(MD_IOCIMP_LOAD, &c, &c.c_mde, NULL) != 0) { in meta_imp_set() 3643 return (mdstealerror(ep, &c.c_mde)); in meta_imp_set() 3670 if (metaioctl(MD_RELEASE_SET, &c, &c.c_mde, NULL) != 0) { in meta_imp_set() 3672 (void) mdstealerror(ep, &c.c_mde); in meta_imp_set()
|
H A D | meta_set.c | 3074 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_set_withdraw() 3075 (void) mdstealerror(ep, &c.c_mde); in meta_set_withdraw() 5545 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_mnsync_diskset_mddbs() 5546 (void) mdstealerror(ep, &c.c_mde); in meta_mnsync_diskset_mddbs() 5648 if (metaioctl(MD_MN_CHK_WRT_MDDB, &c, &c.c_mde, NULL) != 0) in meta_mnsync_diskset_mddbs() 5835 (void) metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL); in meta_mnjoin_all()
|
H A D | meta_mn_subr.c | 289 (void) metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL); in meta_mn_send_command()
|
H A D | meta_devadm.c | 967 &db_c.c_mde, NULL) != 0) { in replica_update_devid() 969 (void) mdstealerror(ep, &db_c.c_mde); in replica_update_devid()
|
H A D | meta_set_drv.c | 1465 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_set_deletedrives() 1466 (void) mdstealerror(ep, &c.c_mde); in meta_set_deletedrives()
|
H A D | meta_set_hst.c | 2607 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_multinode_set_addhosts() 2608 (void) mdstealerror(ep, &c.c_mde); in meta_multinode_set_addhosts() 4364 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in meta_set_deletehosts() 4365 (void) mdstealerror(ep, &c.c_mde); in meta_set_deletehosts()
|
H A D | meta_mirror.c | 1167 if (metaioctl(MD_DB_ENDDEV, &dbconf, &dbconf.c_mde, in mirror_report() 1170 return (mdstealerror(ep, &dbconf.c_mde)); in mirror_report()
|
/titanic_41/usr/src/cmd/lvm/util/ |
H A D | metaclust.c | 940 &mbp.c_mde, NULL)) { in main() 941 (void) mdstealerror(ep, &mbp.c_mde); in main() 1146 &mbp.c_mde, NULL)) { in main() 1147 (void) mdstealerror(ep, &mbp.c_mde); in main() 1606 if (metaioctl(MD_DB_GETDEV, &cfg, &cfg.c_mde, in main() 1608 (void) mdstealerror(ep, &cfg.c_mde); in main() 1770 if (metaioctl(MD_DB_GETDEV, &cfg, &cfg.c_mde, in main() 1772 (void) mdstealerror(ep, &cfg.c_mde); in main() 1797 &mbp.c_mde, NULL)) { in main() 1798 (void) mdstealerror(ep, &mbp.c_mde); in main()
|
H A D | metainit.c | 399 if (metaioctl(MD_RELEASE_SET, &c, &c.c_mde, NULL) != 0) { in auto_take_cleanup() 400 mde_perror(&c.c_mde, "auto_take_cleanup"); in auto_take_cleanup()
|
H A D | metastat.c | 223 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in check_replica_state() 224 if (mdismddberror(&c.c_mde, MDE_DB_INVALID)) in check_replica_state() 225 (void) mdstealerror(ep, &c.c_mde); in check_replica_state()
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | mdio.h | 574 md_error_t c_mde; member 599 md_error_t c_mde; member 605 md_error_t c_mde; member 612 md_error_t c_mde; member 618 md_error_t c_mde; /* error return */ member
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_mddb.c | 8679 md_error_t *ep = &cp->c_mde; in mddb_configure() 10264 md_error_t *ep = &cp->c_mde; in take_set() 10323 md_error_t *ep = &cp->c_mde; in release_set() 10504 if (! mdisok(&cp->c_mde)) { in usetag_ioctl() 10505 (void) mdstealerror(ep, &cp->c_mde); in usetag_ioctl() 10535 if (! mdisok(&cp->c_mde)) in usetag_ioctl() 10536 (void) mdstealerror(ep, &cp->c_mde); in usetag_ioctl() 10629 if (! mdisok(&cp->c_mde)) { in accept_ioctl() 10630 (void) mdstealerror(ep, &cp->c_mde); in accept_ioctl() 10663 if (! mdisok(&cp->c_mde)) in accept_ioctl() [all …]
|
H A D | md_ioctl.c | 1874 if (! mdisok(&cp->c_mde)) in md_base_ioctl() 1912 if (! err && mdisok(&cp->c_mde)) in md_base_ioctl() 1913 (void) md_snarf_db_set(setno, &cp->c_mde); in md_base_ioctl() 1989 if (err || ! mdisok(&cp->c_mde)) in md_base_ioctl() 1993 err = mdmddberror(&cp->c_mde, MDE_DB_ACCOK, NODEV32, in md_base_ioctl()
|
/titanic_41/usr/src/cmd/lvm/rpc.metad/ |
H A D | metad_svc_subr.c | 2981 (void) metaioctl(MD_SETMASTER, &sm, &sm.c_mde, NULL); in upd_setmaster() 2982 mdclrerror(&sm.c_mde); in upd_setmaster() 3136 &mbp.c_mde, NULL)) { in joinset() 3137 (void) mdstealerror(&xep, &mbp.c_mde); in joinset() 5004 if (metaioctl(MD_DB_GETDEV, &c, &c.c_mde, NULL) != 0) { in mdrpc_mn_is_stale_2_svc() 5005 (void) mdstealerror(ep, &c.c_mde); in mdrpc_mn_is_stale_2_svc()
|