Searched refs:cur_mon (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/net/ceph/ |
D | mon_client.c | 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() [all …]
|
/Linux-v5.15/include/linux/ceph/ |
D | mon_client.h | 82 int cur_mon; /* last monitor i contacted */ member
|
/Linux-v5.15/drivers/rtc/ |
D | rtc-stm32.c | 433 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()
|