Lines Matching refs:maxcol
232 int attr, uni_mode, row, col, maxcol, viewed; in vcs_read() local
300 maxcol = vc->vc_cols; in vcs_read()
309 col = p % maxcol; in vcs_read()
310 nr = maxcol - col; in vcs_read()
320 nr = maxcol; in vcs_read()
324 col = p % maxcol; in vcs_read()
325 p += maxcol - col; in vcs_read()
328 if (++col == maxcol) { in vcs_read()
331 p += maxcol; in vcs_read()
374 col = p % maxcol; in vcs_read()
377 p += maxcol - col; in vcs_read()
388 if (++col == maxcol) { in vcs_read()
391 p += maxcol; in vcs_read()
435 int col, maxcol, viewed; in vcs_write() local
514 maxcol = vc->vc_cols; in vcs_write()
518 col = p % maxcol; in vcs_write()
519 p += maxcol - col; in vcs_write()
528 if (++col == maxcol) { in vcs_write()
531 p += maxcol; in vcs_write()
547 col = (p/2) % maxcol; in vcs_write()
564 if (++col == maxcol) { in vcs_write()
570 p += maxcol - col; in vcs_write()
579 if (++col == maxcol) { in vcs_write()
582 p += maxcol; in vcs_write()