Lines Matching refs:space
417 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() argument
422 if (!space) in do_output_char()
430 if (space < 2) in do_output_char()
452 if (space < spaces) in do_output_char()
495 int space, retval; in process_output() local
499 space = tty_write_room(tty); in process_output()
500 retval = do_output_char(c, tty, space); in process_output()
532 int space; in process_output_block() local
538 space = tty_write_room(tty); in process_output_block()
539 if (!space) { in process_output_block()
543 if (nr > space) in process_output_block()
544 nr = space; in process_output_block()
615 int space, old_space; in __process_echoes() local
619 old_space = space = tty_write_room(tty); in __process_echoes()
655 if (num_bs > space) { in __process_echoes()
659 space -= num_bs; in __process_echoes()
681 if (!space) { in __process_echoes()
687 space--; in __process_echoes()
701 if (space < 2) { in __process_echoes()
708 space -= 2; in __process_echoes()
716 int retval = do_output_char(c, tty, space); in __process_echoes()
719 space -= retval; in __process_echoes()
721 if (!space) in __process_echoes()
724 space -= 1; in __process_echoes()
744 return old_space - space; in __process_echoes()