Home
last modified time | relevance | path

Searched refs:cur_s (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A Dgbmc-br-dhcp-term.sh91 cur_s="$(cut -d' ' -f1 /proc/uptime)"
93 cur_s="${cur_s%.*}"
97 active_ms=$((cur_s*1000*1000))
99 w=$((active_ms/1000/1000 + (wait_min*60) - cur_s))
/openbmc/linux/kernel/rcu/
H A Dsrcutiny.c256 unsigned long cur_s = READ_ONCE(ssp->srcu_idx); in poll_state_synchronize_srcu() local
259 return ULONG_CMP_GE(cur_s, cookie) || ULONG_CMP_LT(cur_s, cookie - 3); in poll_state_synchronize_srcu()
H A Drcu.h166 unsigned long cur_s = READ_ONCE(*sp); in rcu_seq_done_exact() local
168 return ULONG_CMP_GE(cur_s, s) || ULONG_CMP_LT(cur_s, s - (2 * RCU_SEQ_STATE_MASK + 1)); in rcu_seq_done_exact()
/openbmc/linux/drivers/net/hamradio/
H A Dbaycom_ser_hdx.c205 unsigned char cur_s; in ser12_rx() local
209 cur_s = inb(MSR(dev->base_addr)) & 0x10; /* the CTS line */ in ser12_rx()
210 hdlcdrv_channelbit(&bc->hdrv, cur_s); in ser12_rx()
212 (cur_s != bc->modem.ser12.last_sample); in ser12_rx()
213 bc->modem.ser12.last_sample = cur_s; in ser12_rx()