Searched refs:mynode (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_tkr.c110 if (forceflg && strcmp(mynode(), nd->nd_nodename)
117 if (strcmp(mynode(), nd->nd_nodename) == 0) {
140 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0)
144 if (strcmp(mynode(), sd->sd_nodes[i]) == 0)
158 if (forceflg && strcmp(mynode(), nd->nd_nodename)
187 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0)
208 if (forceflg && strcmp(mynode(), nd->nd_nodename)
215 if (strcmp(mynode(), nd->nd_nodename) == 0) {
239 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0)
243 if (strcmp(mynode(), s
[all...]
H A Dmeta_metad.c431 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
548 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
636 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
729 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
806 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
886 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
959 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
1030 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
1103 if (md_in_daemon && strcmp(mynode(), hostname) == 0) {
1186 if (md_in_daemon && strcmp(mynode(), hostnam
[all...]
H A Dmeta_set.c68 sideno = getnodeside(mynode(), sd);
276 node = mynode();
300 if (clnt_getset(mynode(), setname, MD_SET_BAD, &sr, ep) == -1)
320 if (clnt_mngetset(mynode(), setname, MD_SET_BAD, &mnsr,
349 if (clnt_getset(mynode(), NULL, setno, &sr, ep) == -1)
370 if (clnt_mngetset(mynode(), NULL, setno, &mnsr,
1284 if (clnt_lock_set(mynode(), sp, ep)) {
1343 if (strcmp(mynode(), sd->sd_nodes[i]) != 0)
1437 if (strcmp(mynode(), sd->sd_nodes[i]) != 0) {
1480 if (strcmp(mynode(), s
2136 mynode(void) function
[all...]
H A Dmeta_set_prv.c75 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) != 0)
474 *owner_of_set = Strdup(mynode());
481 if (clnt_ownset(mynode(), sp, &am_i_owner, ep) == -1)
494 *owner_of_set = Strdup(mynode());
505 *owner_of_set = Strdup(mynode());
515 strcmp(sd->sd_nodes[i], mynode()) == 0)
H A Dmeta_med.c164 hostname = mynode();
406 args.med.med_caller = Strdup(mynode());
463 args.med.med_caller = Strdup(mynode());
535 args.med.med_caller = Strdup(mynode());
604 args.med.med_caller = Strdup(mynode());
674 args.med.med_caller = Strdup(mynode());
744 args.med.med_caller = Strdup(mynode());
830 strcmp(mp->n_lst[i].a_nm[0], mynode()) == NULL)
1181 (void) strlcpy(mdh.a_nm[0], mynode(),
H A Dmeta_set_drv.c369 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) == -1) {
415 if (clnt_mnsetmaster(mynode(), sp,
892 if (clnt_stimeout(mynode(), sp, &defmhiargs,
971 /* Reset master on mynode */
972 if (clnt_mnsetmaster(mynode(), sp, "",
1057 MD_SET_BAD, mynode(), NULL, sp->setname);
1086 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) == -1) {
1134 if (clnt_imp_adddrvs(mynode(), sp, dd, now, genid, ep) == -1)
1174 if (clnt_deldrvs(mynode(), sp, dd, &xep) == -1) {
1312 if (strcmp(nd->nd_nodename, mynode())
[all...]
H A Dmeta_set_med.c891 if (forceflg && strcmp(mynode(),
928 strcmp(mynode(), sd->sd_nodes[i]) != 0) {
953 if (forceflg && strcmp(mynode(),
970 if (forceflg && strcmp(mynode(),
1085 strcmp(mynode(),
1105 strcmp(mynode(),
H A Dmeta_set_hst.c547 if (! strinlst(mynode(), node_c, node_v))
549 sp->setno, mynode(), NULL, sp->setname));
571 if (strcmp(mynode(), node_v[i]) == 0)
1054 if (clnt_lock_set(mynode(), sp, ep)) {
1059 if (clnt_delhosts(mynode(), sp, 1, anode, ep)) {
1075 if (clnt_del_drv_sidenms(mynode(), sp, ep)) {
1084 if (clnt_unlock_set(mynode(), cl_sk, &xep)) {
2155 NULL, mynode(), NULL, sp->setname));
2471 mynode(), sp, sd, node_c, node_v, ep))
3413 if (clnt_add_drv_sidenms(sd->sd_nodes[i], mynode(), s
[all...]
H A Dmeta_import.c2817 mynode(), NULL, NULL));
3244 (void) clnt_upd_dr_flags(mynode(), sp, d,
3428 if (clnt_setnumbusy(mynode(), setno,
3486 mynode(), NULL, c.c_setname));
3494 mynode(), NULL, c.c_setname));
3507 mynode(), NULL, c.c_setname));
3656 (void) strcpy(sd->sd_nodes[0], mynode());
3703 if (clnt_lock_set(mynode(), sp, ep)) {
3709 if (clnt_createset(mynode(), sp, sd->sd_nodes,
3712 (void) clnt_unlock_set(mynode(), cl_s
[all...]
H A Dmeta_metad_subr.c349 * is mynode (done in sr_validate).
363 if (strcmp(sr->sr_nodes[i], mynode()) == 0) {
474 if (strcmp(mynode(), nr->nr_nodename) != 0) {
661 if (strcmp(mynode(), nr->nr_nodename) == 0) {
787 * MN disksets have only one node (which is mynode()).
800 (strcmp(nr->nr_nodename, mynode()) != 0)) {
977 * If this node is mynode, set the OWN flag
997 * If mynode is in member list, then
1008 mynode()) == 0) {
1020 mynode())
[all...]
H A Dmeta_mn_subr.c283 mynode(), sp->setname, sp->setname);
391 buf = mynode();
886 (strcmp(nl->msl_node_name, mynode()) == 0) &&
H A Dmeta_db.c732 mynode()) != 0) {
753 mynode()) != 0)
765 if (force && strcmp(nd->nd_nodename, mynode()) != 0) {
788 if (force && strcmp(sd->sd_nodes[i], mynode()) != 0)
805 strcmp(nd->nd_nodename, mynode()) != 0) {
829 strcmp(sd->sd_nodes[i], mynode()) != 0)
H A Dmeta_mn_comm.c814 mynode(), mynode(), NULL);
H A Dmeta_mh.c101 hostname = mynode();
H A Dmeta_name.c763 if (strcmp(mnsr->sr_master_nodenm, mynode()) == 0) {
797 if (strcmp(nd->nd_nodename, mynode()) == 0) {
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c96 if (strcmp(hostname, mynode()) == 0) {
293 cl_sk->sk_setno, mynode(), NULL, cl_sk->sk_setname);
304 (void) mddserror(ep, MDE_DS_SETLOCKED, MD_SET_BAD, mynode(),
H A Dmetad_svc_subr.c223 if (strcmp(nd->nd_nodename, mynode()) == 0) {
566 if (strcmp(nr->nr_nodename, mynode()) == 0) {
827 if (strcmp(mynode(), sr->sr_nodes[i]) == 0)
1112 if (strcmp(nr->nr_nodename, mynode()) == 0) {
1383 * For backward compatibility, fill in mynode name
1389 (void) strlcpy(mnsr->sr_nodes_bw_compat[0], mynode(), MD_MAX_NODENAME);
1419 if (strcmp(nd->nd_nodename, mynode()) == 0) {
1880 mynode(), dn->cname, sp->setname);
2976 if (strcmp(master_nodenm, mynode()) == 0) {
3393 res->hostname = Strdup(mynode());
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_local.h79 extern char *mynode(void);
H A Dmed_error.c75 medep->med_node = Strdup(mynode());
H A Dmed_svc_subr.c214 res->med_hnm = Strdup(mynode());
H A Dmed_init.c148 mynode(void) function
228 if (strcmp(hostname, mynode()) == 0) {
H A Dmed_db.c734 mynode()) == 0) {
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetadb.c362 strcmp(nd->nd_nodename, mynode()) != 0) {
406 strcmp(sd->sd_nodes[i], mynode()) != 0)
513 strcmp(nd->nd_nodename, mynode()) != 0) {
534 strcmp(sd->sd_nodes[i], mynode()) != 0)
H A Dmetaclust.c1173 if (clnt_mn_susp_res_io(mynode(), 0, MN_RES_IO, ep)) {
1176 mynode());
1242 if (clnt_clr_mnsetlock(mynode(), ep) != 0) {
H A Dmetainit.c614 hostname = mynode();

Completed in 113 milliseconds

12