Home
last modified time | relevance | path

Searched refs:sideno (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_namespace.c49 side_t sideno, in meta_getnmentbykey() argument
62 nm.side = sideno; in meta_getnmentbykey()
92 side_t sideno, in meta_gethspnmentbyid() argument
105 nm.side = sideno; in meta_gethspnmentbyid()
129 side_t sideno, in meta_gethspnmentbyname() argument
145 nm.side = sideno; in meta_gethspnmentbyname()
178 side_t sideno, in meta_getdidminorbykey() argument
188 nm.side = sideno; in meta_getdidminorbykey()
208 side_t sideno, in meta_getdidbykey() argument
217 nm.side = sideno; in meta_getdidbykey()
[all …]
H A Dmeta_devadm.c239 side_t sideno, in update_locator_namespace() argument
251 nm.side = sideno; in update_locator_namespace()
275 side_t sideno, in meta_update_namespace() argument
288 nm.side = sideno; in meta_update_namespace()
398 has_devid(set_t setno, side_t sideno, mdkey_t key, md_error_t *ep) in has_devid() argument
400 return (meta_getdidbykey(setno, sideno, key, ep)); in has_devid()
423 side_t sideno; in fix_replicanames() local
431 sideno = getmyside(sp, ep); in fix_replicanames()
432 if (sideno == MD_SIDEWILD) { in fix_replicanames()
553 if (update_locator_namespace(setno, sideno, in fix_replicanames()
[all …]
H A Dmeta_set_prv.c273 side_t sideno; in getnodeside() local
290 for (sideno = 0; sideno < MD_MAXSIDES; sideno++) { in getnodeside()
291 if (sd->sd_nodes[sideno] == NULL || in getnodeside()
292 sd->sd_nodes[sideno][0] == '\0') in getnodeside()
295 if (strcmp(sd->sd_nodes[sideno], node) == 0) { in getnodeside()
296 return (sideno); in getnodeside()
307 for (sideno = 0; sideno < MD_MAXSIDES; sideno++) { in getnodeside()
308 if (sd->sd_nodes[sideno] == NULL || in getnodeside()
309 sd->sd_nodes[sideno][0] == '\0') in getnodeside()
311 if (atoi(sd->sd_nodes[sideno]) == nid) in getnodeside()
[all …]
H A Dmeta_set.c53 side_t sideno, in dr2drivedesc() argument
68 sideno = getnodeside(mynode(), sd); in dr2drivedesc()
75 assert(sideno != MD_SIDEWILD); in dr2drivedesc()
89 if ((dnp = metadrivename_withdrkey(sp, sideno, dr->dr_key, in dr2drivedesc()
131 sn->sideno = sd->sd_mn_mynode->nd_nodeid; in get_sidenmlist()
133 sn->sideno, dnp->side_names_key, &sn->dname, in get_sidenmlist()
153 sn->sideno = i; in get_sidenmlist()
268 side_t sideno; in getmyside() local
280 sideno = getnodeside(node, sd); in getmyside()
282 if (sideno != MD_SIDEWILD) in getmyside()
[all …]
H A Dmeta_set_hst.c114 add_md_sidenms(mdsetname_t *sp, side_t sideno, side_t otherside, md_error_t *ep) in add_md_sidenms() argument
138 md_as.msg_sideno = sideno; in add_md_sidenms()
193 if (add_name(sp, sideno, nm.key, MD_HOTSPARES, in add_md_sidenms()
206 nm.side = sideno; in add_md_sidenms()
208 tmp_sideno = sideno; in add_md_sidenms()
210 tmp_sideno = sideno - 1; in add_md_sidenms()
231 if (add_name(sp, sideno, nm.key, dname, mnum, in add_md_sidenms()
944 side_t sideno, in del_db_sidenms() argument
958 if (meta_db_delsidenm(sp, sideno, r->r_namep, r->r_blkno, ep)) { in del_db_sidenms()
1097 del_md_sidenms(mdsetname_t *sp, side_t sideno, md_error_t *ep) in del_md_sidenms() argument
[all …]
H A Dmeta_db.c855 side_t sideno; in meta_db_addsidenms() local
864 sideno = MD_SIDEWILD; in meta_db_addsidenms()
876 &sideno, &bname, &dname, &mnum, ep)) == -1) { in meta_db_addsidenms()
910 db_ns.msg_sideno = sideno; in meta_db_addsidenms()
980 c.c_sideno = sideno; in meta_db_addsidenms()
1013 side_t sideno, in meta_db_delsidenm() argument
1035 db_ds.msg_sideno = sideno; in meta_db_delsidenm()
1087 c.c_sideno = sideno; in meta_db_delsidenm()
1318 side_t sideno; in meta_db_attach() local
1462 if ((sideno = getmyside(sp, ep)) == MD_SIDEWILD) in meta_db_attach()
[all …]
H A Dmeta_set_drv.c140 side_t sideno = MD_SIDEWILD; in meta_make_sidenmlist() local
171 if ((done = meta_getnextside_devinfo(sp, bname, &sideno, in meta_make_sidenmlist()
190 sn->sideno = sideno; in meta_make_sidenmlist()
H A Dmeta_stripe.c2538 side_t sideno; in meta_stripe_check_component() local
2556 sideno = getmyside(sp, ep); in meta_stripe_check_component()
2604 sideno, compnp->dev, NULL, NULL, in meta_stripe_check_component()
2628 sideno, ctd_name, mydev[i], in meta_stripe_check_component()
H A Dmeta_raid.c2790 side_t sideno; in meta_raid_check_component() local
2808 sideno = getmyside(sp, ep); in meta_raid_check_component()
2851 if ((devname = meta_getnmentbydev(sp->setno, sideno, in meta_raid_check_component()
2874 if (meta_update_namespace(sp->setno, sideno, in meta_raid_check_component()
H A Dmeta_name.c2644 side_t sideno, in meta_getdnp_bydevid() argument
2689 if ((nm = meta_getnmbykey(MD_LOCAL_SET, sideno, in meta_getdnp_bydevid()
2694 sideno+SKEW, key, ep)) == NULL) in meta_getdnp_bydevid()
H A Dmeta_sp.c6721 side_t sideno; in meta_sp_check_component() local
6737 sideno = getmyside(sp, ep); in meta_sp_check_component()
6769 if ((devname = meta_getnmentbykey(sp->setno, sideno, in meta_sp_check_component()
6804 if (meta_update_namespace(sp->setno, sideno, in meta_sp_check_component()
H A Dmeta_import.c3116 if (sn->sideno == myside) in meta_unrslv_replicated_common()
3145 MD_LOCAL_SET, sn->sideno + SKEW, in meta_unrslv_replicated_common()
/titanic_41/usr/src/lib/lvm/libpreen/common/
H A Dmdpreen.c153 side_t sideno; in preen_build_devs() local
236 if ((sideno = getmyside(sp, ep)) == MD_SIDEWILD) { in preen_build_devs()
259 if (((md_did = meta_getdidbykey(sp->setno, sideno, in preen_build_devs()
261 meta_getdidminorbykey(sp->setno, sideno, in preen_build_devs()
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetainit.c391 auto_take_cleanup(mdsetname_t *sp, side_t sideno) in auto_take_cleanup() argument
397 c.c_sideno = sideno; in auto_take_cleanup()
424 side_t sideno; in take_set() local
468 if ((sideno = getmyside(&sn, &error)) == MD_SIDEWILD) { in take_set()
491 auto_take_cleanup(&sn, sideno); in take_set()
509 auto_take_cleanup(&sn, sideno); in take_set()
541 if ((dnp = metadrivename_withdrkey(&sn, sideno, dr->dr_key, in take_set()
545 auto_take_cleanup(&sn, sideno); in take_set()
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c82 side_t sideno, in add_sideno_sidenm() argument
95 if (sn->sideno == sideno) in add_sideno_sidenm()
106 nm = meta_getnmbykey(MD_LOCAL_SET, sideno, local_key, ep); in add_sideno_sidenm()
108 nm = meta_getnmbykey(MD_LOCAL_SET, sideno+SKEW, local_key, ep); 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()
154 side_t sideno, in del_sideno_sidenm() argument
163 if (del_name(local_sp, sideno, sidekey, ep) == -1) in del_sideno_sidenm()
195 side_t sideno = 0, mysideno = 0; in add_drv_sidenms() local
219 sideno = nd->nd_nodeid; in add_drv_sidenms()
[all …]
/titanic_41/usr/src/head/
H A Dmeta.h721 extern int meta_db_delsidenm(mdsetname_t *sp, side_t sideno,
1270 extern mddrivename_t *meta_getdnp_bydevid(mdsetname_t *sp, side_t sideno,
1305 extern char *meta_getnmbykey(set_t setno, side_t sideno,
1307 extern char *meta_getnmentbykey(set_t setno, side_t sideno,
1310 extern char *meta_getnmentbydev(set_t setno, side_t sideno,
1313 extern char *meta_gethspnmentbyid(set_t setno, side_t sideno,
1315 extern hsp_t meta_gethspnmentbyname(set_t setno, side_t sideno,
1317 extern char *meta_getdidminorbykey(set_t setno, side_t sideno,
1319 extern ddi_devid_t meta_getdidbykey(set_t setno, side_t sideno,
1321 extern int meta_setdid(set_t setno, side_t sideno, mdkey_t key,
[all …]
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c4387 side_t sideno, in locator2cfgloc() argument
4405 if (mnslp->mnl_sideno == sideno) in locator2cfgloc()
4411 slp = &lbp->lb_sidelocators[sideno][li]; in locator2cfgloc()
4483 side_t sideno in checklocator() argument
4501 if (mnslp->mnl_sideno == sideno) { in checklocator()
4533 side_t sideno, in cfgloc2locator() argument
4554 slp = &lbp->lb_sidelocators[sideno][li]; in cfgloc2locator()
4587 mnslp->mnl_sideno = sideno; in cfgloc2locator()
6487 side_t sideno; in initit() local
6651 for (sideno = 0; sideno < MD_MNMAXSIDES; sideno++) { in initit()
[all …]
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmdiox.x650 side_t sideno; member