Lines Matching refs:written
306 ssize_t written; in lp_write() local
344 written = parport_write(port, kbuf, copy_size); in lp_write()
345 if (written > 0) { in lp_write()
346 copy_size -= written; in lp_write()
347 count -= written; in lp_write()
348 buf += written; in lp_write()
349 retv += written; in lp_write()
817 ssize_t written; in lp_console_write() local
836 written = parport_write(port, s, canwrite); in lp_console_write()
838 if (written <= 0) in lp_console_write()
841 s += written; in lp_console_write()
842 count -= written; in lp_console_write()
843 canwrite -= written; in lp_console_write()
854 written = parport_write(port, crlf, i); in lp_console_write()
855 if (written > 0) { in lp_console_write()
856 i -= written; in lp_console_write()
857 crlf += written; in lp_console_write()
859 } while (i > 0 && (CONSOLE_LP_STRICT || written > 0)); in lp_console_write()
861 } while (count > 0 && (CONSOLE_LP_STRICT || written > 0)); in lp_console_write()