Lines Matching defs:nd

695 	md_mnnode_desc	*nd;
721 nd = sd->sd_nodelist;
723 (nd != (struct md_mnnode_desc *)NULL)) {
724 *sideno = nd->nd_nodeid;
726 while (nd) {
731 if ((*sideno == nd->nd_nodeid) &&
732 (nd->nd_next !=
735 nd->nd_next->nd_nodeid;
738 nd = nd->nd_next;
740 if (nd == NULL) {
748 nodename = (char *)nd->nd_nodename;
1058 md_mnnode_desc *nd;
1096 nd = sd->sd_nodelist;
1097 while (nd) {
1098 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1099 nd = nd->nd_next;
1102 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
1106 nd = nd->nd_next;
1112 nd = sd->sd_nodelist;
1113 while (nd) {
1114 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1115 nd = nd->nd_next;
1118 if (clnt_mdcommdctl(nd->nd_nodename,
1125 nd = nd->nd_next;
1156 nd = sd->sd_nodelist;
1157 while (nd) {
1158 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1159 nd = nd->nd_next;
1162 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_RESUME,
1184 nd = nd->nd_next;
1191 nd = sd->sd_nodelist;
1192 while (nd) {
1193 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1194 nd = nd->nd_next;
1197 if (clnt_unlock_set(nd->nd_nodename, cl_sk, &xep)) {
1204 nd = nd->nd_next;
1554 md_mnnode_desc *nd;
1567 nd = sd->sd_nodelist;
1568 while (nd) {
1576 if (!(nd->nd_flags & MD_MN_NODE_ALIVE) &&
1577 nd->nd_nodeid != sd->sd_mn_mynode->nd_nodeid) {
1578 nd = nd->nd_next;
1581 has_set = nodehasset(sp, nd->nd_nodename,
1594 nd->nd_flags |= MD_MN_NODE_NOSET;
1597 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
1613 max_node = nd->nd_nodeid;
1620 nd = nd->nd_next;
1697 nd = sd->sd_nodelist;
1698 while (nd) {
1699 if (nd->nd_nodeid == sd->sd_mn_mynode->nd_nodeid) {
1706 if (clnt_delset(nd->nd_nodename, sp,
1716 nd = nd->nd_next;
1724 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1725 nd = nd->nd_next;
1732 if (clnt_delhosts(nd->nd_nodename, sp, 1, &thishost,
1744 nd = nd->nd_next;
1801 nd = sd->sd_nodelist;
1802 while (nd) {
1803 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
1804 nd = nd->nd_next;
1807 if (nd->nd_nodeid == max_node)
1809 if (clnt_unlock_set(nd->nd_nodename, cl_sk, &xep)) {
1812 nd = nd->nd_next;
1819 nd = nd->nd_next;
2134 md_mnnode_desc *nd;
2140 nd = sd->sd_nodelist;
2141 while (nd) {
2143 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2144 nd->nd_flags &= ~MD_MN_NODE_OWN;
2145 nd = nd->nd_next;
2154 if (clnt_ownset(nd->nd_nodename, sp, &bool, ep) == -1) {
2155 nd->nd_flags &= ~MD_MN_NODE_OWN;
2157 nd->nd_flags |= MD_MN_NODE_OWN;
2159 nd->nd_flags &= ~MD_MN_NODE_OWN;
2161 nd = nd->nd_next;
2337 md_mnnode_desc *nd, *nd2, my_nd;
2380 nd = sd->sd_nodelist;
2381 while (nd) {
2382 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2383 nd = nd->nd_next;
2386 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
2390 nd = nd->nd_next;
2397 nd = sd->sd_nodelist;
2398 while (nd) {
2399 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2400 nd = nd->nd_next;
2403 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_SUSPEND,
2409 nd = nd->nd_next;
2415 nd = sd->sd_nodelist;
2416 while (nd) {
2417 if (strcmp(mynode(), nd->nd_nodename) == 0) {
2420 nd = nd->nd_next;
2422 if (!nd) {
2438 if (nd->nd_flags & MD_MN_NODE_OWN) {
2459 nd = sd->sd_nodelist;
2460 while (nd) {
2461 if (nd->nd_flags & MD_MN_NODE_OWN)
2463 nd = nd->nd_next;
2465 if (nd == NULL)
2487 if (clnt_mngetset(nd->nd_nodename, sp->setname,
2496 if ((nd->nd_nodeid == nr->nr_nodeid) &&
2499 sp->setno, nd->nd_nodename, NULL,
2500 nd->nd_nodename);
2513 if (clnt_mn_is_stale(nd->nd_nodename, sp,
2582 nd = sd->sd_nodelist;
2583 while (nd) {
2584 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2585 nd = nd->nd_next;
2589 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_SUSPEND, sp,
2595 nd = nd->nd_next;
2713 nd = sd->sd_nodelist;
2714 while (nd) {
2715 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
2716 nd = nd->nd_next;
2719 if (clnt_upd_nr_flags(nd->nd_nodename, sp, &my_nd,
2724 nd = nd->nd_next;
2758 nd = sd->sd_nodelist;
2759 while (nd) {
2760 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
2761 nd = nd->nd_next;
2764 (void) clnt_upd_nr_flags(nd->nd_nodename, sp,
2767 nd = nd->nd_next;
2781 nd = sd->sd_nodelist;
2782 while (nd) {
2783 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2784 nd = nd->nd_next;
2789 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_REINIT,
2810 nd = nd->nd_next;
2822 nd = sd->sd_nodelist;
2823 while (nd) {
2824 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2825 nd = nd->nd_next;
2828 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_RESUME,
2849 nd = nd->nd_next;
2858 nd = sd->sd_nodelist;
2859 while (nd) {
2860 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
2861 nd = nd->nd_next;
2864 if (clnt_unlock_set(nd->nd_nodename, cl_sk, &xep)) {
2871 nd = nd->nd_next;
2886 nd = sd->sd_nodelist;
2887 while (nd) {
2888 if (!(nd->nd_flags & MD_MN_NODE_OWN))
2890 nd = nd->nd_next;
2893 * nd set to NULL means that we have no nodes in the set that
2896 if (nd == NULL) {
2970 md_mnnode_desc *nd, my_nd;
3002 nd = sd->sd_nodelist;
3003 while (nd) {
3004 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3005 nd = nd->nd_next;
3008 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
3012 nd = nd->nd_next;
3018 nd = sd->sd_nodelist;
3019 while (nd) {
3020 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3021 nd = nd->nd_next;
3024 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_SUSPEND,
3030 nd = nd->nd_next;
3049 nd = sd->sd_nodelist;
3050 while (nd) {
3051 if (strcmp(mynode(), nd->nd_nodename) == 0) {
3054 nd = nd->nd_next;
3056 if (!nd) {
3093 nd = sd->sd_nodelist;
3094 while (nd) {
3096 if (nd->nd_nodeid == sd->sd_mn_master_nodeid) {
3097 nd = nd->nd_next;
3101 if (nd->nd_flags & MD_MN_NODE_OWN) {
3109 nd = nd->nd_next;
3133 nd = sd->sd_nodelist;
3134 while (nd) {
3135 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3136 nd = nd->nd_next;
3140 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_SUSPEND,
3146 nd = nd->nd_next;
3175 nd = sd->sd_nodelist;
3178 while (nd) {
3179 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3180 nd = nd->nd_next;
3183 if (clnt_upd_nr_flags(nd->nd_nodename, sp, &my_nd,
3188 nd = nd->nd_next;
3201 nd = sd->sd_nodelist;
3202 while (nd) {
3203 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3204 nd = nd->nd_next;
3207 if (clnt_reset_mirror_owner(nd->nd_nodename, sp,
3211 nd->nd_nodename);
3214 nd = nd->nd_next;
3220 nd = sd->sd_nodelist;
3223 while (nd) {
3224 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3225 nd = nd->nd_next;
3228 if (clnt_upd_nr_flags(nd->nd_nodename, sp, &my_nd,
3232 nd = nd->nd_next;
3271 nd = sd->sd_nodelist;
3272 while (nd) {
3273 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3274 nd = nd->nd_next;
3279 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_REINIT,
3300 nd = nd->nd_next;
3311 nd = sd->sd_nodelist;
3312 while (nd) {
3313 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3314 nd = nd->nd_next;
3317 if (clnt_mdcommdctl(nd->nd_nodename, COMMDCTL_RESUME,
3338 nd = nd->nd_next;
3347 nd = sd->sd_nodelist;
3348 while (nd) {
3349 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3350 nd = nd->nd_next;
3353 if (clnt_unlock_set(nd->nd_nodename, cl_sk, &xep)) {
3360 nd = nd->nd_next;
3401 md_mnnode_desc *nd;
3412 nd = sd->sd_nodelist;
3413 while (nd) {
3417 if (nl2->msl_node_id == nd->nd_nodeid) {
3418 nd->nd_flags |= MD_MN_NODE_ALIVE;
3426 if (strcmp(mynode(), nd->nd_nodename) == 0) {
3433 if (nd->nd_flags & MD_MN_NODE_OWN) {
3449 sp->setno, nd->nd_nodename, NULL,
3453 nd->nd_flags &= ~MD_MN_NODE_ALIVE;
3454 nd->nd_flags &= ~MD_MN_NODE_OWN;
3457 nd = nd->nd_next;
3498 md_mnnode_desc *nd, *nd2;
3564 nd = sd->sd_nodelist;
3565 while (nd) {
3567 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3568 nd = nd->nd_next;
3572 if (clnt_ownset(nd->nd_nodename, sp,
3577 nd->nd_nodeid)) {
3591 nd->nd_flags |= MD_MN_NODE_OWN;
3593 nd->nd_flags &= ~MD_MN_NODE_OWN;
3595 nd = nd->nd_next;
3605 nd = sd->sd_nodelist;
3606 while (nd) {
3608 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3609 nd = nd->nd_next;
3614 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3615 nd = nd->nd_next;
3620 if (clnt_mngetset(nd->nd_nodename, sp->setname,
3625 nd->nd_nodeid)) {
3634 if (nd->nd_nodeid == nr->nr_nodeid) {
3645 nd = nd->nd_next;
3658 nd = sd->sd_nodelist;
3659 while (nd) {
3661 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3662 nd = nd->nd_next;
3667 if (nd->nd_flags & MD_MN_NODE_OWN) {
3668 nd = nd->nd_next;
3673 if (clnt_mngetset(nd->nd_nodename, sp->setname,
3680 nd = nd->nd_next;
3684 nd->nd_nodeid)) {
3694 if (nd->nd_nodeid == nr->nr_nodeid) {
3705 nd = nd->nd_next;
3747 nd = sd->sd_nodelist;
3748 while (nd) {
3750 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3751 nd = nd->nd_next;
3755 if (clnt_ownset(nd->nd_nodename, sp,
3760 nd->nd_nodeid)) {
3774 nd->nd_flags |= MD_MN_NODE_OWN;
3776 nd->nd_flags &= ~MD_MN_NODE_OWN;
3778 nd = nd->nd_next;
3803 nd = sd->sd_nodelist;
3804 while (nd) {
3806 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3807 nd = nd->nd_next;
3812 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3813 nd = nd->nd_next;
3818 if (clnt_mngetset(nd->nd_nodename, sp->setname,
3823 nd->nd_nodeid)) {
3850 nd = nd->nd_next;
3859 nd = nd2;
3864 nd = nd->nd_next;
3876 nd = sd->sd_nodelist;
3877 while (nd) {
3879 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3880 nd = nd->nd_next;
3885 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
3886 nd = nd->nd_next;
3891 if (clnt_mngetset(nd->nd_nodename, sp->setname,
3896 nd->nd_nodeid)) {
3905 if (nd->nd_nodeid == nr->nr_nodeid) {
3916 nd = nd->nd_next;
3937 nd = sd->sd_nodelist;
3938 while (nd) {
3940 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
3941 nd->nd_flags |= MD_MN_NODE_DEL;
3942 nd = nd->nd_next;
3947 if (nd->nd_flags & MD_MN_NODE_OWN) {
3948 nd->nd_flags |= MD_MN_NODE_DEL;
3949 nd = nd->nd_next;
3957 if (sd->sd_mn_mynode->nd_nodeid == nd->nd_nodeid) {
3958 nd = nd->nd_next;
3966 if (nd->nd_flags & MD_MN_NODE_DEL) {
3967 nd = nd->nd_next;
3985 if (clnt_mngetset(nd->nd_nodename, sp->setname,
3992 nd->nd_flags |= MD_MN_NODE_DEL;
3993 nd = nd->nd_next;
4026 if (nd->nd_nodeid == nr->nr_nodeid) {
4028 nd->nd_flags |= MD_MN_NODE_DEL;
4039 nd->nd_flags |= MD_MN_NODE_DEL;
4065 nd = nd->nd_next;
4072 nd = sd->sd_nodelist;
4073 while (nd) {
4074 if (!(nd->nd_flags & MD_MN_NODE_DEL)) {
4077 nd = nd->nd_next;
4080 if (nd) {
4101 sp->setname, nd->nd_nodename, nd->nd_nodeid,
4111 nd->nd_nodename, nd->nd_nodeid, ep)) {
4113 } else if (sd->sd_mn_mynode->nd_nodeid == nd->nd_nodeid) {
4173 nd = sd->sd_nodelist;
4174 while (nd) {
4176 if (!(nd->nd_flags & MD_MN_NODE_ALIVE))
4180 if (nd->nd_nodeid < sd->sd_mn_mynode->nd_nodeid) {
4183 nd = nd->nd_next;
4185 if (nd == NULL) {
4203 nd = sd->sd_mn_mynode;
4204 if (nd->nd_flags & MD_MN_NODE_OWN) {
4276 if (nd->nd_flags & MD_MN_NODE_ADD)
4278 else if (nd->nd_flags & MD_MN_NODE_DEL)
4487 md_mnnode_desc *master_nodelist, *nd, *nd2, *ndtail;
4554 nd = master_nodelist;
4555 while (nd) {
4556 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
4557 nd = nd->nd_next;
4561 if (clnt_mngetset(nd->nd_nodename, sp->setname,
4565 nd->nd_flags &= ~MD_MN_NODE_OK;
4566 nd->nd_flags &= ~MD_MN_NODE_ADD;
4567 nd->nd_flags |= MD_MN_NODE_DEL;
4568 nd->nd_flags |= MD_MN_NODE_NOSET;
4569 nd = nd->nd_next;
4575 nd->nd_nodeid)) {
4639 if (nr->nr_nodeid == nd->nd_nodeid) {
4650 nd->nd_flags |= MD_MN_NODE_OK;
4651 nd->nd_flags &=
4658 nd->nd_flags |= MD_MN_NODE_OWN;
4660 nd->nd_flags &= ~MD_MN_NODE_OWN;
4663 nd->nd_flags &= ~MD_MN_NODE_OK;
4664 nd->nd_flags &= ~MD_MN_NODE_ADD;
4665 nd->nd_flags |= MD_MN_NODE_DEL;
4677 if (!(nd->nd_flags & MD_MN_NODE_DEL)) {
4679 nd->nd_flags |= MD_MN_NODE_ADD;
4680 nd->nd_flags &= ~MD_MN_NODE_OK;
4684 nd->nd_flags |= MD_MN_NODE_DEL;
4685 nd->nd_flags &= ~MD_MN_NODE_OK;
4687 nd->nd_flags &= ~MD_MN_NODE_ADD;
4697 nd->nd_flags &= ~MD_MN_NODE_OK;
4698 nd->nd_flags |= MD_MN_NODE_DEL;
4705 if (nd->nd_flags & MD_MN_NODE_OK) {
4709 nd->nd_nodename, MD_MAX_MNNODENAME_PLUS_1);
4716 nd = nd->nd_next;
4729 nd = master_nodelist;
4730 while (nd) {
4731 if (!(nd->nd_flags & MD_MN_NODE_ALIVE) ||
4732 (nd->nd_flags & MD_MN_NODE_NOSET)) {
4733 nd = nd->nd_next;
4736 if (clnt_upd_nr_flags(nd->nd_nodename, sp,
4741 nd->nd_nodeid)) {
4749 nd = nd->nd_next;
4768 nd = master_nodelist;
4769 while (nd) {
4771 if (!(nd->nd_flags & MD_MN_NODE_ALIVE) ||
4772 (nd->nd_flags & MD_MN_NODE_NOSET)) {
4773 nd = nd->nd_next;
4776 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
4780 nd->nd_nodeid)) {
4789 nd = nd->nd_next;
4792 nd = master_nodelist;
4793 while (nd) {
4795 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
4796 nd = nd->nd_next;
4799 if (nd->nd_flags & MD_MN_NODE_DEL) {
4814 if (nd2->nd_nodeid == nd->nd_nodeid) {
4816 if (clnt_upd_sr_flags(nd->nd_nodename,
4822 != nd->nd_nodeid)) {
4830 if (clnt_deldrvs(nd->nd_nodename, sp,
4836 != nd->nd_nodeid)) {
4844 if (clnt_delset(nd->nd_nodename, sp,
4850 != nd->nd_nodeid)) {
4863 anode[0] = Strdup(nd->nd_nodename);
4884 nd->nd_nodename, nd->nd_nodeid,
4895 nd = nd->nd_next;
4898 nd = master_nodelist;
4900 while (nd) {
4902 if (!(nd->nd_flags & MD_MN_NODE_ALIVE) ||
4903 (nd->nd_flags & MD_MN_NODE_NOSET)) {
4904 nd = nd->nd_next;
4907 if (clnt_unlock_set(nd->nd_nodename, cl_sk, ep)) {
4911 nd->nd_nodeid)) {
4919 nd = nd->nd_next;
5262 nd = sd->sd_nodelist;
5263 while (nd) {
5265 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
5266 nd = nd->nd_next;
5269 if (clnt_upd_dr_reconfig(nd->nd_nodename, sp, master_dd, ep)) {
5272 (sd->sd_mn_mynode->nd_nodeid != nd->nd_nodeid)) {
5280 nd = nd->nd_next;
5308 nd = sd->sd_nodelist;
5309 while (nd) {
5311 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
5312 nd = nd->nd_next;
5316 if (clnt_lock_set(nd->nd_nodename, sp, ep)) {
5320 nd->nd_nodeid)) {
5331 if ((nd->nd_flags & MD_MN_NODE_OWN) &&
5332 (clnt_withdrawset(nd->nd_nodename, sp, ep))) {
5336 nd->nd_nodeid)) {
5346 if (clnt_upd_nr_flags(nd->nd_nodename, sp,
5351 nd->nd_nodeid)) {
5361 if (clnt_mnsetmaster(nd->nd_nodename, sp,
5366 nd->nd_nodeid)) {
5376 if (clnt_unlock_set(nd->nd_nodename, cl_sk, ep)) {
5380 nd->nd_nodeid)) {
5389 nd = nd->nd_next;
5404 nd = master_nodelist;
5406 while (nd) {
5408 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
5409 nd = nd->nd_next;
5416 if (clnt_unlock_set(nd->nd_nodename, cl_sk, &xep)) {
5419 nd = nd->nd_next;
5464 md_mnnode_desc *nd, *nd2;
5650 nd = sd->sd_nodelist;
5651 while (nd) {
5653 if ((!(nd->nd_flags & MD_MN_NODE_ALIVE)) ||
5654 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
5655 nd = nd->nd_next;
5658 if (clnt_mn_susp_res_io(nd->nd_nodename, sp->setno,
5662 nd->nd_nodename, sp->setname);
5672 if (nd2->nd_nodeid == nd->nd_nodeid)
5691 nd->nd_nodeid)) {
5698 nd = nd->nd_next;
5711 nd = sd->sd_nodelist;
5712 while (nd) {
5714 if ((!(nd->nd_flags & MD_MN_NODE_ALIVE)) ||
5715 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
5716 nd = nd->nd_next;
5719 if (clnt_mn_susp_res_io(nd->nd_nodename, sp->setno,
5723 nd->nd_nodename, sp->setname);
5735 nd->nd_nodeid) {
5748 nd2 = nd->nd_next;
5764 nd = nd->nd_next;
5861 md_mnnode_desc *nd, *nd2;
5905 nd = sd->sd_nodelist;
5906 while (nd) {
5908 if ((nd->nd_flags & MD_MN_NODE_ALIVE) &&
5909 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
5914 nd = nd->nd_next;
5925 nd = sd->sd_nodelist;
5926 while (nd) {
5928 if ((!(nd->nd_flags & MD_MN_NODE_ALIVE)) ||
5929 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
5930 nd = nd->nd_next;
5933 if (clnt_mn_susp_res_io(nd->nd_nodename, sp->setno,
5937 " in set %s"), nd->nd_nodename,
5947 if (nd2->nd_nodeid == nd->nd_nodeid)
5973 nd->nd_nodeid)) {
5979 nd = nd->nd_next;
5983 nd = sd->sd_nodelist;
5984 while (nd) {
5989 if ((nd->nd_flags & MD_MN_NODE_ALIVE) &&
5990 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
5991 if (clnt_joinset(nd->nd_nodename, sp,
6016 "to set %s", nd->nd_nodename,
6019 if (clnt_withdrawset(nd->nd_nodename,
6022 nd = nd->nd_next;
6027 nd->nd_flags |= MD_MN_NODE_OWN;
6029 nd = nd->nd_next;
6035 nd = sd->sd_nodelist;
6036 while (nd) {
6042 if ((!(nd->nd_flags & MD_MN_NODE_ALIVE)) ||
6043 (!(nd->nd_flags & MD_MN_NODE_OWN))) {
6044 nd = nd->nd_next;
6047 if (clnt_mn_susp_res_io(nd->nd_nodename, sp->setno,
6051 " in set %s"), nd->nd_nodename,
6067 nd->nd_nodeid) {
6081 nd2 = nd->nd_next;
6100 nd = nd->nd_next;
6104 nd = sd->sd_nodelist;
6105 while (nd) {
6106 if (!(nd->nd_flags & MD_MN_NODE_OWN)) {
6107 nd = nd->nd_next;
6114 if (clnt_upd_nr_flags(nd->nd_nodename, sp,
6120 nd = nd->nd_next;
6124 nd = nd->nd_next;