Home
last modified time | relevance | path

Searched refs:md_unit_t (Results 1 – 25 of 27) sorted by relevance

12

/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_rename.h123 md_unit_t *unp;
145 md_unit_t *unp;
160 md_dev64_t, md_rendelta_t *, md_unit_t *, mdi_unit_t *, md_error_t *);
161 extern void md_store_recid(int *, mddb_recid_t *, md_unit_t *);
H A Dmdvar.h701 extern int md_checkbuf(mdi_unit_t *, md_unit_t *, buf_t *);
764 extern void md_get_geom(md_unit_t *, struct dk_geom *);
765 extern int md_set_vtoc(md_unit_t *, struct vtoc *);
766 extern void md_get_vtoc(md_unit_t *, struct vtoc *);
767 extern int md_set_extvtoc(md_unit_t *, struct extvtoc *);
768 extern void md_get_extvtoc(md_unit_t *, struct extvtoc *);
769 extern void md_get_cgapart(md_unit_t *, struct dk_map *);
770 extern void md_get_efi(md_unit_t *, char *);
771 extern int md_set_efi(md_unit_t *, char *);
H A Dmdiox.x2021 typedef struct md_unit md_unit_t; typedef
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c456 md_unit_t *child_un; in sp_set()
662 md_unit_t *child_un; in sp_reset()
1308 md_get_geom((md_unit_t *)un, p); in md_sp_ioctl()
1321 md_get_cgapart((md_unit_t *)un, &dmp); in md_sp_ioctl()
1352 md_get_vtoc((md_unit_t *)un, vtoc); in md_sp_ioctl()
1404 err = md_set_vtoc((md_unit_t *)un, vtoc); in md_sp_ioctl()
1419 md_get_extvtoc((md_unit_t *)un, extvtoc); in md_sp_ioctl()
1441 err = md_set_extvtoc((md_unit_t *)un, extvtoc); in md_sp_ioctl()
H A Dsp.c990 if (md_checkbuf(ui, (md_unit_t *)un, parent_buf) != 0) { in md_sp_strategy()
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c273 md_unit_t *comp_un; in stripe_set()
611 md_unit_t *comp_un; in stripe_grow()
686 md_get_geom((md_unit_t *)un, geomp); in stripe_get_geom()
697 md_get_vtoc((md_unit_t *)un, vtocp); in stripe_get_vtoc()
708 return (md_set_vtoc((md_unit_t *)un, vtocp)); in stripe_set_vtoc()
717 md_get_extvtoc((md_unit_t *)un, vtocp); in stripe_get_extvtoc()
728 return (md_set_extvtoc((md_unit_t *)un, vtocp)); in stripe_set_extvtoc()
737 md_get_cgapart((md_unit_t *)un, dkmapp); in stripe_get_cgapart()
H A Dstripe.c415 md_unit_t *child_un; in reset_stripe()
744 if (md_checkbuf(ui, (md_unit_t *)un, pb) != 0) { in md_stripe_strategy()
1484 md_unit_t *comp_un = MD_UNIT(comp_mnum); in stripe_replace_dev()
1506 md_unit_t *comp_un = MD_UNIT(comp_mnum); in stripe_replace_dev()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_attach.c88 md_unit_t *mup; in meta_concat_parent()
H A Dmeta_init.c143 md_unit_t *md, in meta_setup_geom()
176 md_unit_t *md, in meta_adjust_geom()
H A Dmeta_nameinfo.c98 meta_efi_to_mdgeom(md_unit_t *mdev, struct dk_gpt *gpt, mdgeom_t *mdgp) in meta_efi_to_mdgeom()
606 md_unit_t *mdev = NULL; in metagetvtoc()
1088 md_unit_t *
1124 return ((md_unit_t *)(uintptr_t)mig.mdp); in meta_get_mdunit()
H A Dmeta_stripe.c1471 if (meta_adjust_geom((md_unit_t *)new_un, stripenp, in meta_stripe_attach()
1851 if (meta_setup_geom((md_unit_t *)ms, stripep->common.namep, geomp, in stripe_geom()
1875 md_unit_t *md = (md_unit_t *)ms; in stripe_geom()
H A Dmeta_sp.c433 if (meta_setup_geom((md_unit_t *)mp, np, geomp, geomp->write_reinstruct, in meta_sp_setgeom()
2279 md_unit_t *mdp; in meta_sp_print()
2428 md_unit_t *mdp; in meta_sp_update_wm_common()
3586 if (meta_adjust_geom((md_unit_t *)new_un, np, in meta_sp_updateunit()
6551 md_unit_t *un; in meta_sp_update_abr()
H A Dmeta_raid.c1177 if (meta_adjust_geom((md_unit_t *)mr, raidnp, geomp->write_reinstruct, in adjust_geom()
2039 if (meta_setup_geom((md_unit_t *)mr, raidp->common.namep, geomp, in raid_geom()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c1373 md_unit_t *un; in setuserflags()
1385 un = (md_unit_t *)md_ioctl_writerlock(lock, ui); in setuserflags()
3585 md_unit_t *un, in md_get_geom()
3605 md_get_vtoc(md_unit_t *un, struct vtoc *vtoc) in md_get_vtoc()
3658 md_set_vtoc(md_unit_t *un, struct vtoc *vtoc) in md_set_vtoc()
3752 md_get_extvtoc(md_unit_t *un, struct extvtoc *extvtoc) in md_get_extvtoc()
3806 md_set_extvtoc(md_unit_t *un, struct extvtoc *extvtoc) in md_set_extvtoc()
3908 md_get_cgapart(md_unit_t *un, struct dk_map *dkmapp) in md_get_cgapart()
3939 md_get_efi(md_unit_t *un, char *buf) in md_get_efi()
4028 md_set_efi(md_unit_t *un, char *buf) in md_set_efi()
[all …]
H A Dmd_subr.c2027 md_checkbuf(mdi_unit_t *ui, md_unit_t *un, buf_t *bp) in md_checkbuf()
2407 md_unit_t *un; in md_get_parent()
2416 un = (md_unit_t *)md_unit_readerlock(ui); in md_get_parent()
2426 md_unit_t *un; in md_set_parent()
2434 un = (md_unit_t *)md_unit_readerlock(ui); in md_set_parent()
2442 md_unit_t *un; in md_reset_parent()
2450 un = (md_unit_t *)md_unit_readerlock(ui); in md_reset_parent()
2868 if (((md_unit_t *)MD_UNIT(mnum))->c.un_revision & MD_64BIT_META_DEV) { in md_create_unit_incore()
H A Dmd_rename.c262 md_unit_t *unp, in md_build_rendelta()
335 md_unit_t *un) in md_store_recid()
1437 md_unit_t *from_un; in set_list_rels_funcp()
H A Dmd.c1364 md_unit_t *un; in get_minfo()
1374 un = (md_unit_t *)md_unit_readerlock(ui); in get_minfo()
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c432 md_get_geom((md_unit_t *)un, geomp); in mirror_get_geom()
443 md_get_vtoc((md_unit_t *)un, vtocp); in mirror_get_vtoc()
454 return (md_set_vtoc((md_unit_t *)un, vtocp)); in mirror_set_vtoc()
463 md_get_extvtoc((md_unit_t *)un, vtocp); in mirror_get_extvtoc()
474 return (md_set_extvtoc((md_unit_t *)un, vtocp)); in mirror_set_extvtoc()
483 md_get_cgapart((md_unit_t *)un, dkmapp); in mirror_get_cgapart()
854 md_unit_t *su; in mirror_attach()
905 su = (md_unit_t *)MD_UNIT(sm_mnum); in mirror_attach()
1018 md_unit_t *su; in mirror_detach()
1074 su = (md_unit_t *)MD_UNIT(md_getminor(sm_dev)); in mirror_detach()
[all …]
H A Dmirror.c1443 md_unit_t *su; in mirror_commit()
1738 md_unit_t *su; in build_submirror()
2047 md_unit_t *su; in reset_mirror()
3905 if (md_checkbuf(ui, (md_unit_t *)un, pb)) { in mirror_write_strategy()
4200 if (md_checkbuf(ui, (md_unit_t *)un, pb)) { in mirror_read_strategy()
/titanic_41/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c1019 md_unit_t *comp_un; in raid_set()
1278 md_unit_t *new_un = MD_UNIT(new_mnum); in raid_replace()
1297 md_unit_t *old_un = MD_UNIT(old_mnum); in raid_replace()
1888 md_unit_t *comp_un; in raid_grow()
2059 md_get_geom((md_unit_t *)un, geomp); in raid_get_geom()
2079 md_get_vtoc((md_unit_t *)un, vtocp); in raid_get_vtoc()
2099 return (md_set_vtoc((md_unit_t *)un, vtocp)); in raid_set_vtoc()
2118 md_get_extvtoc((md_unit_t *)un, vtocp); in raid_get_extvtoc()
2138 return (md_set_extvtoc((md_unit_t *)un, vtocp)); in raid_set_extvtoc()
2159 md_get_cgapart((md_unit_t *)un, dkmapp); in raid_get_cgapart()
/titanic_41/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c1451 md_get_geom((md_unit_t *)un, geomp); in trans_get_geom()
1459 md_get_vtoc((md_unit_t *)un, vtocp); in trans_get_vtoc()
1467 md_get_extvtoc((md_unit_t *)un, vtocp); in trans_get_extvtoc()
1486 return (md_set_vtoc((md_unit_t *)un, vtocp)); in trans_set_vtoc()
1492 return (md_set_extvtoc((md_unit_t *)un, vtocp)); in trans_set_extvtoc()
1501 md_get_cgapart((md_unit_t *)un, dkmapp); in trans_get_cgapart()
H A Dmdtrans.c216 md_unit_t *su; in trans_commit()
664 if (md_checkbuf(ui, (md_unit_t *)un, pb) != 0) { in md_trans_strategy()
/titanic_41/usr/src/head/
H A Dmeta.h844 extern int meta_setup_geom(md_unit_t *md, mdname_t *np,
848 extern int meta_adjust_geom(md_unit_t *md, mdname_t *np,
1295 extern md_unit_t *meta_get_mdunit(mdsetname_t *sp, mdname_t *np,
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetaclust.c295 md_unit_t *mm; in reset_state()
H A Dmetastat.c1586 md_unit_t *u; in print_concise_md()

12