Home
last modified time | relevance | path

Searched refs:cur_mon (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/ceph/
Dmon_client.c123 dout("__close_session closing mon%d\n", monc->cur_mon); in __close_session()
140 int old_mon = monc->cur_mon; in pick_new_mon()
145 monc->cur_mon = 0; in pick_new_mon()
151 if (monc->cur_mon >= 0) { in pick_new_mon()
152 if (monc->cur_mon < monc->monmap->num_mon) in pick_new_mon()
153 o = monc->cur_mon; in pick_new_mon()
162 monc->cur_mon = n; in pick_new_mon()
166 monc->cur_mon, monc->monmap->num_mon); in pick_new_mon()
188 dout("%s opening mon%d\n", __func__, monc->cur_mon); in __open_session()
189 ceph_con_open(&monc->con, CEPH_ENTITY_TYPE_MON, monc->cur_mon, in __open_session()
[all …]
/kernel/linux/linux-5.10/include/linux/ceph/
Dmon_client.h82 int cur_mon; /* last monitor i contacted */ member
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-stm32.c433 int cur_day, cur_mon, cur_year, cur_hour, cur_min, cur_sec; in stm32_rtc_valid_alrm() local
438 cur_mon = (dr & STM32_RTC_DR_MONTH) >> STM32_RTC_DR_MONTH_SHIFT; in stm32_rtc_valid_alrm()
452 (tm->tm_mon == 0x1) && (cur_mon == 0x12)) || in stm32_rtc_valid_alrm()
454 (tm->tm_mon <= cur_mon + 1))) && in stm32_rtc_valid_alrm()