Lines Matching refs:cur_mon
190 dout("__close_session closing mon%d\n", monc->cur_mon); in __close_session()
207 int old_mon = monc->cur_mon; in pick_new_mon()
212 monc->cur_mon = 0; in pick_new_mon()
218 if (monc->cur_mon >= 0) { in pick_new_mon()
219 if (monc->cur_mon < monc->monmap->num_mon) in pick_new_mon()
220 o = monc->cur_mon; in pick_new_mon()
229 monc->cur_mon = n; in pick_new_mon()
233 monc->cur_mon, monc->monmap->num_mon); in pick_new_mon()
255 dout("%s opening mon%d\n", __func__, monc->cur_mon); in __open_session()
256 ceph_con_open(&monc->con, CEPH_ENTITY_TYPE_MON, monc->cur_mon, in __open_session()
257 &monc->monmap->mon_inst[monc->cur_mon].addr); in __open_session()
283 monc->cur_mon, ceph_pr_addr(&monc->con.peer_addr)); in reopen_session()
342 BUG_ON(monc->cur_mon < 0); in __send_subscribe()
1205 monc->cur_mon = -1; in ceph_monc_init()
1239 monc->cur_mon = -1; in ceph_monc_stop()
1266 dout("%s found mon%d\n", __func__, monc->cur_mon); in finish_hunting()
1298 pr_info("mon%d %s session established\n", monc->cur_mon, in finish_auth()
1549 dout("%s mon%d\n", __func__, monc->cur_mon); in mon_fault()
1550 if (monc->cur_mon >= 0) { in mon_fault()