Searched refs:thead (Results 1 – 3 of 3) sorted by relevance
1518 ushort thead; in dgnc_tty_chars_in_buffer() local1538 thead = ch->ch_w_head & tmask; in dgnc_tty_chars_in_buffer()1543 if (ttail == thead) { in dgnc_tty_chars_in_buffer()1546 if (thead >= ttail) in dgnc_tty_chars_in_buffer()1547 chars = thead - ttail; in dgnc_tty_chars_in_buffer()1549 chars = thead - ttail + WQUEUESIZE; in dgnc_tty_chars_in_buffer()
1041 struct hlist_head *thead = &itn->tunnels[h]; in ip_tunnel_destroy() local1043 hlist_for_each_entry_safe(t, n, thead, hash_node) in ip_tunnel_destroy()
3291 u16 thead, ttail, tmask, chead, ctail; in dgap_tty_chars_in_buffer() local3320 thead = readw(&(bs->tx_head)) & tmask; in dgap_tty_chars_in_buffer()3341 if ((ttail == thead) && (tbusy == 0) && (chead == ctail)) { in dgap_tty_chars_in_buffer()3344 if (thead >= ttail) in dgap_tty_chars_in_buffer()3345 chars = thead - ttail; in dgap_tty_chars_in_buffer()3347 chars = thead - ttail + ch->ch_tsize; in dgap_tty_chars_in_buffer()