Lines Matching defs:nd
548 md_mnnode_desc *nd;
551 nd = sd->sd_nodelist;
552 while (nd) {
553 sd->sd_nodelist = nd->nd_next;
554 Free(nd);
555 nd = sd->sd_nodelist;
747 md_mnnode_desc *nd, *nd_prev = 0;
786 nd = Zalloc(sizeof (*nd));
788 nd_prev->nd_next = nd;
790 sd->sd_nodelist = nd;
792 nd->nd_ctime = nr->nr_ctime;
793 nd->nd_genid = nr->nr_genid;
794 nd->nd_flags = nr->nr_flags;
796 (void) strlcpy(nd->nd_nodename, nr->nr_nodename,
797 sizeof (nd->nd_nodename));
798 nd->nd_nodeid = nr->nr_nodeid;
799 if (strcmp(nd->nd_nodename, mynode()) == 0) {
800 sd->sd_mn_mynode = nd;
802 if (nd->nd_nodeid == sd->sd_mn_master_nodeid) {
803 sd->sd_mn_masternode = nd;
816 if (nd->nd_flags & MD_MN_NODE_ALIVE) {
819 if (nl2->msl_node_id == nd->nd_nodeid) {
820 (void) strlcpy(nd->nd_priv_ic,
822 sizeof (nd->nd_priv_ic));
831 nd_prev = nd;