Lines Matching defs:count

644 static void do_update_region(struct vc_data *vc, unsigned long start, int count)
663 while (xx < vc->vc_cols && count) {
673 count--;
677 if (!count)
688 void update_region(struct vc_data *vc, unsigned long start, int count)
694 do_update_region(vc, start, count);
756 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed)
762 count /= 2;
765 vc->vc_sw->con_invert_region(vc, p, count);
768 int cnt = count;
800 do_update_region(vc, (unsigned long) p, count);
976 int count = vc->vc_screenbuf_size / 2;
979 for (; count > 0; count--, p++) {
1555 unsigned int count;
1564 count = (vc->vc_scr_end - vc->vc_pos) >> 1;
1570 count = ((vc->vc_pos - vc->vc_origin) >> 1) + 1;
1578 count = vc->vc_cols * vc->vc_rows;
1584 scr_memsetw(start, vc->vc_video_erase_char, 2 * count);
1586 do_update_region(vc, (unsigned long) start, count);
1592 unsigned int count;
1599 count = vc->vc_cols - vc->state.x;
1603 count = vc->state.x + 1;
1607 count = vc->vc_cols;
1612 vc_uniscr_clear_line(vc, vc->state.x + offset, count);
1613 scr_memsetw(start + offset, vc->vc_video_erase_char, 2 * count);
1616 do_update_region(vc, (unsigned long)(start + offset), count);
1622 unsigned int count;
1627 count = min(vpar, vc->vc_cols - vc->state.x);
1629 vc_uniscr_clear_line(vc, vc->state.x, count);
1630 scr_memsetw((unsigned short *)vc->vc_pos, vc->vc_video_erase_char, 2 * count);
1632 vc->vc_sw->con_clear(vc, vc->state.y, vc->state.x, 1, count);
2895 static int do_con_write(struct tty_struct *tty, const unsigned char *buf, int count)
2907 return count;
2932 while (!tty->stopped && count) {
2936 count--;
3079 static void vt_console_print(struct console *co, const char *b, unsigned count)
3114 while (count--) {
3292 static int con_write(struct tty_struct *tty, const unsigned char *buf, int count)
3296 retval = do_con_write(tty, buf, count);
3924 const char *buf, size_t count)
3938 return count;