Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wan/
Dx25_asy.c140 if (sl->xleft) { in x25_asy_change_mtu()
141 if (sl->xleft <= len) { in x25_asy_change_mtu()
142 memcpy(sl->xbuff, sl->xhead, sl->xleft); in x25_asy_change_mtu()
144 sl->xleft = 0; in x25_asy_change_mtu()
248 sl->xleft = count - actual; in x25_asy_encaps()
267 if (sl->xleft <= 0) { in x25_asy_write_wakeup()
276 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in x25_asy_write_wakeup()
277 sl->xleft -= actual; in x25_asy_write_wakeup()
291 (tty_chars_in_buffer(sl->tty) || sl->xleft) ? in x25_asy_timeout()
293 sl->xleft = 0; in x25_asy_timeout()
[all …]
Dx25_asy.h30 int xleft; /* bytes left in XMIT queue */ member
/linux-2.6.39/drivers/net/hamradio/
Dmkiss.c62 int xleft; /* bytes left in XMIT queue */ member
404 if (ax->xleft) { in ax_changedmtu()
405 if (ax->xleft <= len) { in ax_changedmtu()
406 memcpy(ax->xbuff, ax->xhead, ax->xleft); in ax_changedmtu()
408 ax->xleft = 0; in ax_changedmtu()
525 ax->xleft = count - actual; in ax_encaps()
550 (tty_chars_in_buffer(ax->tty) || ax->xleft) ? in ax_xmit()
553 ax->xleft = 0; in ax_xmit()
638 ax->xleft = 0; in ax_open()
969 if (ax->xleft <= 0) { in mkiss_write_wakeup()
[all …]
D6pack.c96 int xleft; /* bytes left in XMIT queue */ member
153 sp->xleft -= actual; in sp_xmit_on_air()
225 sp->xleft = count - actual; in sp_encaps()
230 sp->xleft = count; in sp_encaps()
431 if (sp->xleft <= 0) { in sixpack_write_wakeup()
442 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
443 sp->xleft -= actual; in sixpack_write_wakeup()
637 sp->xleft = 0; in sixpack_open()
936 sp->xleft -= actual; in decode_prio_command()
/linux-2.6.39/drivers/net/can/
Dslcan.c93 int xleft; /* bytes left in XMIT queue */ member
288 sl->xleft = strlen(sl->xbuff) - actual; in slc_encaps()
306 if (sl->xleft <= 0) { in slcan_write_wakeup()
315 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in slcan_write_wakeup()
316 sl->xleft -= actual; in slcan_write_wakeup()
365 sl->xleft = 0; in slc_close()
574 sl->xleft = 0; in slcan_open()
/linux-2.6.39/drivers/net/
Dslip.c179 sl->xleft = 0; in sl_alloc_bufs()
269 if (sl->xleft) {
270 if (sl->xleft <= len) {
271 memcpy(sl->xbuff, sl->xhead, sl->xleft);
273 sl->xleft = 0;
413 sl->xleft = count - actual;
434 if (sl->xleft <= 0) {
443 actual = tty->ops->write(tty, sl->xhead, sl->xleft);
444 sl->xleft -= actual;
468 (tty_chars_in_buffer(sl->tty) || sl->xleft) ?
[all …]
Dslip.h67 int xleft; /* bytes left in XMIT queue */ member