Home
last modified time | relevance | path

Searched refs:mynode (Results 1 – 25 of 32) sorted by relevance

12

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_tkr.c110 if (forceflg && strcmp(mynode(), nd->nd_nodename) in upd_dr_dbinfo()
117 if (strcmp(mynode(), nd->nd_nodename) == 0) { in upd_dr_dbinfo()
140 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0) in upd_dr_dbinfo()
144 if (strcmp(mynode(), sd->sd_nodes[i]) == 0) in upd_dr_dbinfo()
158 if (forceflg && strcmp(mynode(), nd->nd_nodename) in upd_dr_dbinfo()
187 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0) in upd_dr_dbinfo()
208 if (forceflg && strcmp(mynode(), nd->nd_nodename) in upd_dr_dbinfo()
215 if (strcmp(mynode(), nd->nd_nodename) == 0) { in upd_dr_dbinfo()
239 if (forceflg && strcmp(mynode(), sd->sd_nodes[i]) != 0) in upd_dr_dbinfo()
243 if (strcmp(mynode(), sd->sd_nodes[i]) == 0) in upd_dr_dbinfo()
[all …]
H A Dmeta_metad.c431 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_add_drv_sidenms()
548 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_imp_adddrvs()
636 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_adddrvs()
729 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_addhosts()
806 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_createset()
886 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_mncreateset()
959 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_joinset()
1030 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_withdrawset()
1103 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_del_drv_sidenms()
1186 if (md_in_daemon && strcmp(mynode(), hostname) == 0) { in clnt_deldrvs()
[all …]
H A Dmeta_set.c68 sideno = getnodeside(mynode(), sd); in dr2drivedesc()
276 node = mynode(); in getmyside()
300 if (clnt_getset(mynode(), setname, MD_SET_BAD, &sr, ep) == -1) in getsetbyname()
320 if (clnt_mngetset(mynode(), setname, MD_SET_BAD, &mnsr, in getsetbyname()
349 if (clnt_getset(mynode(), NULL, setno, &sr, ep) == -1) in getsetbynum()
370 if (clnt_mngetset(mynode(), NULL, setno, &mnsr, in getsetbynum()
1284 if (clnt_lock_set(mynode(), sp, ep)) { in meta_set_destroy()
1343 if (strcmp(mynode(), sd->sd_nodes[i]) != 0) in meta_set_destroy()
1437 if (strcmp(mynode(), sd->sd_nodes[i]) != 0) { in meta_set_destroy()
1480 if (strcmp(mynode(), sd->sd_nodes[i]) != 0) in meta_set_destroy()
[all …]
H A Dmeta_med.c164 hostname = mynode(); in open_medd()
406 args.med.med_caller = Strdup(mynode()); in clnt_user_med_upd_data()
463 args.med.med_caller = Strdup(mynode()); in clnt_user_med_get_data()
535 args.med.med_caller = Strdup(mynode()); in clnt_med_upd_data()
604 args.med.med_caller = Strdup(mynode()); in clnt_med_get_data()
674 args.med.med_caller = Strdup(mynode()); in clnt_med_upd_rec()
744 args.med.med_caller = Strdup(mynode()); in clnt_med_get_rec()
830 strcmp(mp->n_lst[i].a_nm[0], mynode()) == NULL) in meta_med_hnm2ip()
1181 (void) strlcpy(mdh.a_nm[0], mynode(), in meta_mediator_info_from_file()
H A Dmeta_set_drv.c369 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) == -1) { in meta_set_adddrives()
415 if (clnt_mnsetmaster(mynode(), sp, in meta_set_adddrives()
892 if (clnt_stimeout(mynode(), sp, &defmhiargs, in meta_set_adddrives()
972 if (clnt_mnsetmaster(mynode(), sp, "", in meta_set_adddrives()
1057 MD_SET_BAD, mynode(), NULL, sp->setname); in meta_imp_set_adddrives()
1086 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) == -1) { in meta_imp_set_adddrives()
1134 if (clnt_imp_adddrvs(mynode(), sp, dd, now, genid, ep) == -1) in meta_imp_set_adddrives()
1174 if (clnt_deldrvs(mynode(), sp, dd, &xep) == -1) { in meta_imp_set_adddrives()
1312 if (strcmp(nd->nd_nodename, mynode()) == 0) { in meta_set_deletedrives()
1339 if (strcmp(sd->sd_nodes[i], mynode()) == 0) in meta_set_deletedrives()
[all …]
H A Dmeta_set_prv.c75 if (clnt_gtimeout(mynode(), sp, &mhiargs, ep) != 0) in checkdrive_onnode()
474 *owner_of_set = Strdup(mynode()); in own_set()
481 if (clnt_ownset(mynode(), sp, &am_i_owner, ep) == -1) in own_set()
494 *owner_of_set = Strdup(mynode()); in own_set()
505 *owner_of_set = Strdup(mynode()); in own_set()
515 strcmp(sd->sd_nodes[i], mynode()) == 0) in own_set()
H A Dmeta_set_med.c891 if (forceflg && strcmp(mynode(), in meta_set_deletemeds()
928 strcmp(mynode(), sd->sd_nodes[i]) != 0) { in meta_set_deletemeds()
953 if (forceflg && strcmp(mynode(), in meta_set_deletemeds()
970 if (forceflg && strcmp(mynode(), in meta_set_deletemeds()
1085 strcmp(mynode(), in meta_set_deletemeds()
1105 strcmp(mynode(), in meta_set_deletemeds()
H A Dmeta_import.c2817 mynode(), NULL, NULL)); in meta_get_and_report_set_info()
3244 (void) clnt_upd_dr_flags(mynode(), sp, d, in meta_unrslv_replicated_mb()
3428 if (clnt_setnumbusy(mynode(), setno, in meta_imp_setno()
3486 mynode(), NULL, c.c_setname)); in meta_imp_set()
3494 mynode(), NULL, c.c_setname)); in meta_imp_set()
3507 mynode(), NULL, c.c_setname)); in meta_imp_set()
3656 (void) strcpy(sd->sd_nodes[0], mynode()); in meta_imp_set()
3703 if (clnt_lock_set(mynode(), sp, ep)) { in meta_imp_set()
3709 if (clnt_createset(mynode(), sp, sd->sd_nodes, in meta_imp_set()
3712 (void) clnt_unlock_set(mynode(), cl_sk, &xep); in meta_imp_set()
[all …]
H A Dmeta_set_hst.c547 if (! strinlst(mynode(), node_c, node_v)) in create_set()
549 sp->setno, mynode(), NULL, sp->setname)); in create_set()
571 if (strcmp(mynode(), node_v[i]) == 0) in create_set()
1054 if (clnt_lock_set(mynode(), sp, ep)) { in del_host_noset()
1059 if (clnt_delhosts(mynode(), sp, 1, anode, ep)) { in del_host_noset()
1075 if (clnt_del_drv_sidenms(mynode(), sp, ep)) { in del_host_noset()
1084 if (clnt_unlock_set(mynode(), cl_sk, &xep)) { in del_host_noset()
2155 NULL, mynode(), NULL, sp->setname)); in meta_multinode_set_addhosts()
2471 mynode(), sp, sd, node_c, node_v, ep)) in meta_multinode_set_addhosts()
3413 if (clnt_add_drv_sidenms(sd->sd_nodes[i], mynode(), sp, in meta_traditional_set_addhosts()
[all …]
H A Dmeta_metad_subr.c363 if (strcmp(sr->sr_nodes[i], mynode()) == 0) { in sr_hosts()
474 if (strcmp(mynode(), nr->nr_nodename) != 0) { in sr_drvs()
661 if (strcmp(mynode(), nr->nr_nodename) == 0) { in sr_sidenms()
800 (strcmp(nr->nr_nodename, mynode()) != 0)) { in sr_validate()
1008 mynode()) == 0) { in set_snarf()
1020 mynode()) == 0) { in set_snarf()
1052 (strcmp(nr->nr_nodename, mynode()) == 0)) { in set_snarf()
1875 if (strcmp(mynode(), nr->nr_nodename) == 0) in s_delset()
1901 if (strcmp(mynode(), sr->sr_nodes[i]) == 0) in s_delset()
H A Dmeta_mn_subr.c283 mynode(), sp->setname, sp->setname); in meta_mn_send_command()
391 buf = mynode(); in meta_read_nodelist()
886 (strcmp(nl->msl_node_name, mynode()) == 0) && in meta_mn_singlenode()
H A Dmeta_db.c732 mynode()) != 0) { in update_dbinfo_on_drives()
753 mynode()) != 0) in update_dbinfo_on_drives()
765 if (force && strcmp(nd->nd_nodename, mynode()) != 0) { in update_dbinfo_on_drives()
788 if (force && strcmp(sd->sd_nodes[i], mynode()) != 0) in update_dbinfo_on_drives()
805 strcmp(nd->nd_nodename, mynode()) != 0) { in update_dbinfo_on_drives()
829 strcmp(sd->sd_nodes[i], mynode()) != 0) in update_dbinfo_on_drives()
H A Dmeta_mn_comm.c814 mynode(), mynode(), NULL); in mdmn_send_message_with_msgid()
H A Dmeta_mh.c101 hostname = mynode(); in open_metamhd()
H A Dmapfile-vers687 mynode;
/titanic_41/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_init.c96 if (strcmp(hostname, mynode()) == 0) { in check_host()
293 cl_sk->sk_setno, mynode(), NULL, cl_sk->sk_setname); in check_set_lock()
304 (void) mddserror(ep, MDE_DS_SETLOCKED, MD_SET_BAD, mynode(), in check_set_lock()
H A Dmetad_svc_subr.c223 if (strcmp(nd->nd_nodename, mynode()) == 0) { in add_drv_sidenms()
566 if (strcmp(nr->nr_nodename, mynode()) == 0) { in add_sidenamelist()
827 if (strcmp(mynode(), sr->sr_nodes[i]) == 0) in adddrvs()
1112 if (strcmp(nr->nr_nodename, mynode()) == 0) { in addhosts()
1389 (void) strlcpy(mnsr->sr_nodes_bw_compat[0], mynode(), MD_MAX_NODENAME); in mncreateset()
1419 if (strcmp(nd->nd_nodename, mynode()) == 0) { in mncreateset()
1880 mynode(), dn->cname, sp->setname); in deldrvs()
2976 if (strcmp(master_nodenm, mynode()) == 0) { in upd_setmaster()
3393 res->hostname = Strdup(mynode()); in mdrpc_hostname_common()
3884 mynode(), dn->cname, sp->setname); in upd_dr_dbinfo()
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_init.c148 mynode(void) in mynode() function
228 if (strcmp(hostname, mynode()) == 0) { in check_host()
H A Dmed_local.h79 extern char *mynode(void);
H A Dmed_svc_subr.c214 res->med_hnm = Strdup(mynode()); in med_hostname_1_svc()
H A Dmed_error.c75 medep->med_node = Strdup(mynode()); in med_error()
H A Dmed_db.c734 mynode()) == 0) { in med_db_put_rec()
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetadb.c362 strcmp(nd->nd_nodename, mynode()) != 0) { in chngdb()
406 strcmp(sd->sd_nodes[i], mynode()) != 0) in chngdb()
513 strcmp(nd->nd_nodename, mynode()) != 0) { in chngdb()
534 strcmp(sd->sd_nodes[i], mynode()) != 0) in chngdb()
H A Dmetaclust.c1173 if (clnt_mn_susp_res_io(mynode(), 0, MN_RES_IO, ep)) { in main()
1176 mynode()); in main()
1242 if (clnt_clr_mnsetlock(mynode(), ep) != 0) { in main()
H A Dmetainit.c614 hostname = mynode(); in auto_take_sets()

12