Home
last modified time | relevance | path

Searched refs:local_sp (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/lvm/util/
H A Dmetaset.c423 mdsetname_t *local_sp = NULL; in parse_add() local
498 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) { in parse_add()
500 md_exit(local_sp, 1); in parse_add()
503 if (meta_lock(local_sp, TRUE, ep) != 0) { in parse_add()
505 md_exit(local_sp, 1); in parse_add()
561 md_exit(local_sp, 1); in parse_add()
564 md_exit(local_sp, 1); in parse_add()
571 md_exit(local_sp, 1); in parse_add()
587 md_exit(local_sp, 1); in parse_add()
614 md_exit(local_sp, 1); in parse_add()
[all …]
H A Dmetaclust.c224 mdsetname_t *local_sp = NULL; in load_local_set() local
227 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) { in load_local_set()
244 return (local_sp); in load_local_set()
674 mdsetname_t *local_sp = NULL; in main() local
892 if ((local_sp = load_local_set(ep)) == NULL) { in main()
894 md_exit(local_sp, 1); in main()
1021 if ((local_sp = load_local_set(ep)) == NULL) { in main()
1022 md_exit(local_sp, 0); in main()
1080 if ((local_sp = load_local_set(ep)) == NULL) { in main()
1081 md_exit(local_sp, 0); in main()
[all …]
H A Dmetadevadm.c62 mdsetname_t *local_sp = NULL; in main() local
174 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) { in main()
177 md_exit(local_sp, 1); in main()
181 if (meta_lock(local_sp, TRUE, ep) != 0) { in main()
184 md_exit(local_sp, 1); in main()
191 md_exit(local_sp, 1); in main()
210 md_exit(local_sp, 1); in main()
223 md_exit(local_sp, 1); in main()
237 md_exit(local_sp, ret); in main()
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c88 mdsetname_t *local_sp; in add_sideno_sidenm() local
91 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) in add_sideno_sidenm()
132 if (add_name(local_sp, sideno, local_key, in add_sideno_sidenm()
137 if (add_name(local_sp, sideno+SKEW, local_key, in add_sideno_sidenm()
158 mdsetname_t *local_sp; in del_sideno_sidenm() local
160 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) in del_sideno_sidenm()
163 if (del_name(local_sp, sideno, sidekey, ep) == -1) in del_sideno_sidenm()
549 mdsetname_t *local_sp; in add_sidenamelist() local
554 if ((local_sp = metasetname(MD_LOCAL_NAME, ep)) == NULL) in add_sidenamelist()
599 if ((err = add_name(local_sp, sn->sideno, key, in add_sidenamelist()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_tkr.c512 mdsetname_t *local_sp = NULL; in meta_set_take() local
793 local_sp = metasetname(MD_LOCAL_NAME, ep); in meta_set_take()
798 ret = meta_upd_ctdnames(&local_sp, 0, side, d->dd_dnp, &newname, in meta_set_take()
H A Dmeta_devadm.c1606 mdsetname_t *local_sp = NULL; in meta_fixdevid() local
1637 local_sp = metasetname(MD_LOCAL_NAME, ep); in meta_fixdevid()
1643 ret = meta_upd_ctdnames(&local_sp, 0, sideno, in meta_fixdevid()
H A Dmeta_import.c3356 mdsetname_t *local_sp = NULL; in meta_unrslv_replicated_nm() local
3401 local_sp = metasetname(MD_LOCAL_NAME, ep); in meta_unrslv_replicated_nm()
3404 (void) meta_upd_ctdnames(&local_sp, 0, (myside + SKEW), in meta_unrslv_replicated_nm()