Home
last modified time | relevance | path

Searched refs:xleft (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/wan/
Dx25_asy.c139 if (sl->xleft) { in x25_asy_change_mtu()
140 if (sl->xleft <= len) { in x25_asy_change_mtu()
141 memcpy(sl->xbuff, sl->xhead, sl->xleft); in x25_asy_change_mtu()
143 sl->xleft = 0; in x25_asy_change_mtu()
243 sl->xleft = count - actual; in x25_asy_encaps()
260 if (sl->xleft <= 0) { in x25_asy_write_wakeup()
269 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in x25_asy_write_wakeup()
270 sl->xleft -= actual; in x25_asy_write_wakeup()
284 (tty_chars_in_buffer(sl->tty) || sl->xleft) ? in x25_asy_timeout()
286 sl->xleft = 0; in x25_asy_timeout()
[all …]
Dx25_asy.h31 int xleft; /* bytes left in XMIT queue */ member
/Linux-v5.10/drivers/net/hamradio/
Dmkiss.c50 int xleft; /* bytes left in XMIT queue */ member
392 if (ax->xleft) { in ax_changedmtu()
393 if (ax->xleft <= len) { in ax_changedmtu()
394 memcpy(ax->xbuff, ax->xhead, ax->xleft); in ax_changedmtu()
396 ax->xleft = 0; in ax_changedmtu()
513 ax->xleft = count - actual; in ax_encaps()
541 (tty_chars_in_buffer(ax->tty) || ax->xleft) ? in ax_xmit()
544 ax->xleft = 0; in ax_xmit()
601 ax->xleft = 0; in ax_open()
916 if (ax->xleft <= 0) { in mkiss_write_wakeup()
[all …]
D6pack.c95 int xleft; /* bytes left in XMIT queue */ member
152 sp->xleft -= actual; in sp_xmit_on_air()
224 sp->xleft = count - actual; in sp_encaps()
229 sp->xleft = count; in sp_encaps()
407 if (sp->xleft <= 0) { in sixpack_write_wakeup()
418 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
419 sp->xleft -= actual; in sixpack_write_wakeup()
601 sp->xleft = 0; in sixpack_open()
882 sp->xleft -= actual; in decode_prio_command()
/Linux-v5.10/drivers/net/can/
Dslcan.c94 int xleft; /* bytes left in XMIT queue */ member
305 sl->xleft = (pos - sl->xbuff) - actual; in slc_encaps()
323 if (sl->xleft <= 0) { in slcan_transmit()
333 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft); in slcan_transmit()
334 sl->xleft -= actual; in slcan_transmit()
399 sl->xleft = 0; in slc_close()
602 sl->xleft = 0; in slcan_open()
/Linux-v5.10/drivers/net/slip/
Dslip.c179 sl->xleft = 0; in sl_alloc_bufs()
268 if (sl->xleft) {
269 if (sl->xleft <= len) {
270 memcpy(sl->xbuff, sl->xhead, sl->xleft);
272 sl->xleft = 0;
412 sl->xleft = count - actual;
433 if (sl->xleft <= 0) {
443 actual = sl->tty->ops->write(sl->tty, sl->xhead, sl->xleft);
444 sl->xleft -= actual;
484 (tty_chars_in_buffer(sl->tty) || sl->xleft) ?
[all …]
Dslip.h69 int xleft; /* bytes left in XMIT queue */ member