Lines Matching refs:ep

64 	md_error_t	*ep  in sp_attach()  argument
96 if (meta_sp_attach(*spp, spnp, argv[0], options, alignment, ep) != 0) { in sp_attach()
101 if (meta_update_md_cf(*spp, ep) != 0) in sp_attach()
116 md_error_t *ep in stripe_attach() argument
143 &interlace, ep) != 0) { in stripe_attach()
147 stripenp->cname, ep)) in stripe_attach()
166 UNKNOWN, ep) < 0) in stripe_attach()
173 if (meta_sp_issp(*spp, compnp, ep) != 0) { in stripe_attach()
175 if (metachkcomp(compnp, ep) != 0) in stripe_attach()
181 if ((currootnp = meta_get_current_root_dev(*spp, ep)) != NULL) { in stripe_attach()
187 if ((stripep = meta_get_stripe(*spp, stripenp, ep)) == NULL) in stripe_attach()
192 if (metachkcomp(cp->compnamep, ep) == 0) { in stripe_attach()
206 ep) != 0) { in stripe_attach()
211 if (meta_update_md_cf(*spp, ep) != 0) in stripe_attach()
228 md_error_t *ep in raid_attach() argument
260 UNKNOWN, ep) < 0) in raid_attach()
267 if (meta_sp_issp(*spp, compnp, ep) != 0) { in raid_attach()
269 if (metachkcomp(compnp, ep) != 0) in raid_attach()
275 if (meta_raid_attach(*spp, raidnp, compnlp, options, ep) != 0) in raid_attach()
279 if (meta_update_md_cf(*spp, ep) != 0) in raid_attach()
296 md_error_t *ep in mirror_attach() argument
323 ep)) == NULL) || in mirror_attach()
324 (metachkmeta(submirnp, ep) != 0)) { in mirror_attach()
334 if (meta_mirror_attach(*spp, mirnp, submirnp, options, ep) != 0) in mirror_attach()
338 if (meta_update_md_cf(*spp, ep) != 0) in mirror_attach()
361 md_error_t *ep = &status; in main() local
389 if (md_init(argc, argv, 0, 1, ep) != 0 || in main()
390 meta_check_root(ep) != 0) { in main()
391 mde_perror(ep, ""); in main()
426 if ((sp = metasetname(sname, ep)) == NULL) { in main()
427 mde_perror(ep, ""); in main()
432 if (((np = metaname(&sp, argv[optind], META_DEVICE, ep)) == NULL) || in main()
433 (metachkmeta(np, ep) != 0)) { in main()
434 mde_perror(ep, ""); in main()
440 meta_is_mn_name(&sp, argv[optind], ep)) { in main()
454 if ((miscname = metagetmiscname(np, ep)) == NULL) { in main()
455 mde_perror(ep, ""); in main()
467 MD_DISP_STDERR | MD_DRYRUN, NO_CONTEXT_STRING, ep); in main()
482 NO_CONTEXT_STRING, ep); in main()
491 if ((result = meta_mn_send_resync_starting(np, ep)) in main()
493 mde_perror(ep, "Unable to start resync"); in main()
497 if (meta_lock(sp, TRUE, ep)) { in main()
498 mde_perror(ep, ""); in main()
502 if (meta_check_ownership(sp, ep) != 0) { in main()
503 mde_perror(ep, ""); in main()
506 if ((miscname = metagetmiscname(np, ep)) == NULL) { in main()
507 mde_perror(ep, ""); in main()
513 if (stripe_attach(&sp, np, argc, argv, options, ep) != 0) { in main()
514 mde_perror(ep, ""); in main()
518 if (raid_attach(&sp, np, argc, argv, options, ep) != 0) { in main()
519 mde_perror(ep, ""); in main()
523 if (mirror_attach(&sp, np, argc, argv, options, ep) != 0) { in main()
524 mde_perror(ep, ""); in main()
531 if (sp_attach(&sp, np, argc, argv, options, ep) != 0) { in main()
532 mde_perror(ep, ""); in main()