/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db_balance.c | 82 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 D | meta_set_drv.c | 141 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 D | meta_devadm.c | 1006 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 D | meta_check.c | 807 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 D | meta_set_prv.c | 688 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 D | meta_import.c | 3054 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 D | meta_set.c | 1355 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 D | meta_metad_subr.c | 1926 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 D | meta_set_hst.c | 1960 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 D | meta_sp.c | 4071 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 D | metad_svc_subr.c | 707 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()
|