Home
last modified time | relevance | path

Searched refs:rep_slice (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_db_balance.c82 uint_t rep_slice; in add_replica() local
84 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) in add_replica()
87 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) in add_replica()
116 uint_t rep_slice; in del_replica() local
118 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) in del_replica()
121 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) in del_replica()
181 uint_t rep_slice; in add_drv_to_ctl_lst() local
183 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) { in add_drv_to_ctl_lst()
195 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) in add_drv_to_ctl_lst()
535 uint_t rep_slice; in del_replicas() local
[all …]
H A Dmeta_set_drv.c141 uint_t rep_slice; in meta_make_sidenmlist() local
148 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) { in meta_make_sidenmlist()
154 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) in meta_make_sidenmlist()
524 uint_t rep_slice; in meta_set_adddrives() local
550 if (meta_replicaslice(ddp->dd_dnp, &rep_slice, in meta_set_adddrives()
556 if ((np = metaslicename(ddp->dd_dnp, rep_slice, in meta_set_adddrives()
866 uint_t rep_slice; in meta_set_adddrives() local
869 &rep_slice, &xep) != 0) || in meta_set_adddrives()
870 ((np = metaslicename(ddp->dd_dnp, rep_slice, in meta_set_adddrives()
1974 uint_t rep_slice; in meta_set_deletedrives() local
[all …]
H A Dmeta_devadm.c1006 uint_t rep_slice; in devid_update() local
1103 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) { in devid_update()
1109 mda_debug("slice no: %d disk %s\n", rep_slice, dnp->cname); in devid_update()
1111 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) { in devid_update()
1369 uint_t rep_slice; in meta_upd_ctdnames() local
1558 if (meta_replicaslice(newdnp, &rep_slice, ep) != 0) { in meta_upd_ctdnames()
1562 if ((np = metaslicename(newdnp, rep_slice, ep)) == NULL) { in meta_upd_ctdnames()
H A Dmeta_check.c807 uint_t rep_slice; in meta_check_inmeta() local
811 if (meta_replicaslice(np->drivenamep, &rep_slice, ep) in meta_check_inmeta()
814 if (partno == rep_slice) in meta_check_inmeta()
H A Dmeta_set_prv.c688 uint_t rep_slice; in setup_db_bydd() local
690 if ((meta_replicaslice(dnp, &rep_slice, ep) != 0) || in setup_db_bydd()
691 ((np = metaslicename(dnp, rep_slice, ep)) in setup_db_bydd()
H A Dmeta_import.c3054 uint_t rep_slice; in meta_unrslv_replicated_common() local
3124 if ((meta_replicaslice(*dnp_new, &rep_slice, ep) != 0) || in meta_unrslv_replicated_common()
3125 ((np = metaslicename(*dnp_new, rep_slice, ep)) in meta_unrslv_replicated_common()
3458 uint_t rep_slice; in meta_imp_set() local
3563 if ((meta_replicaslice(dnp, &rep_slice, ep) != 0) || in meta_imp_set()
3564 ((np = metaslicename(dnp, rep_slice, ep)) in meta_imp_set()
H A Dmeta_set.c1355 uint_t rep_slice; in meta_set_destroy() local
1358 if ((meta_replicaslice(dnp, &rep_slice, ep) != 0) || in meta_set_destroy()
1359 (((np = metaslicename(dnp, rep_slice, ep)) in meta_set_destroy()
1368 rep_slice, ep)) == NULL) { in meta_set_destroy()
2195 uint_t rep_slice; in meta_get_reserved_names() local
2204 (meta_replicaslice(di->dd_dnp, &rep_slice, ep) == 0) && in meta_get_reserved_names()
2205 (np = metaslicename(di->dd_dnp, rep_slice, ep)) && in meta_get_reserved_names()
H A Dmeta_metad_subr.c1926 uint_t rep_slice; in s_delset() local
1929 if (meta_replicaslice(dn, &rep_slice, in s_delset()
1931 np = metaslicename(dn, rep_slice, &xep); in s_delset()
H A Dmeta_set_hst.c1960 uint_t rep_slice; in make_sideno_sidenm() local
1973 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) in make_sideno_sidenm()
1976 if ((np = metaslicename(dnp, rep_slice, ep)) == NULL) in make_sideno_sidenm()
H A Dmeta_sp.c4071 uint_t rep_slice; in meta_check_sp() local
4105 if (meta_replicaslice(dnp, &rep_slice, ep) != 0) in meta_check_sp()
4129 if (slice == rep_slice) { in meta_check_sp()
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c707 uint_t rep_slice; in imp_adddrvs() local
769 if ((meta_replicaslice(dn, &rep_slice, &xep) == 0) && in imp_adddrvs()
770 ((np = metaslicename(dn, rep_slice, &xep)) != NULL)) in imp_adddrvs()
841 uint_t rep_slice; in adddrvs() local
877 if ((meta_replicaslice(dn, &rep_slice, &xep) == 0) && in adddrvs()
878 ((np = metaslicename(dn, rep_slice, &xep)) != NULL)) in adddrvs()
1980 uint_t rep_slice; in deldrvs() local
1985 &rep_slice, &xep) == 0) { in deldrvs()
1987 rep_slice, &xep); in deldrvs()