Searched refs:thead (Results 1 – 3 of 3) sorted by relevance
1513 ushort thead; in dgnc_tty_chars_in_buffer() local1533 thead = ch->ch_w_head & tmask; in dgnc_tty_chars_in_buffer()1538 if (ttail == thead) { in dgnc_tty_chars_in_buffer()1541 if (thead >= ttail) in dgnc_tty_chars_in_buffer()1542 chars = thead - ttail; in dgnc_tty_chars_in_buffer()1544 chars = thead - ttail + WQUEUESIZE; in dgnc_tty_chars_in_buffer()
1067 struct hlist_head *thead = &itn->tunnels[h]; in ip_tunnel_destroy() local1069 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_destroy()
3225 u16 thead, ttail, tmask, chead, ctail; in dgap_tty_chars_in_buffer() local3254 thead = readw(&bs->tx_head) & tmask; in dgap_tty_chars_in_buffer()3275 if ((ttail == thead) && (tbusy == 0) && (chead == ctail)) { in dgap_tty_chars_in_buffer()3278 if (thead >= ttail) in dgap_tty_chars_in_buffer()3279 chars = thead - ttail; in dgap_tty_chars_in_buffer()3281 chars = thead - ttail + ch->ch_tsize; in dgap_tty_chars_in_buffer()