Lines Matching refs:maxcol
250 int attr, uni_mode, row, col, maxcol, viewed; in vcs_read() local
318 maxcol = vc->vc_cols; in vcs_read()
327 col = p % maxcol; in vcs_read()
328 nr = maxcol - col; in vcs_read()
338 nr = maxcol; in vcs_read()
342 col = p % maxcol; in vcs_read()
343 p += maxcol - col; in vcs_read()
346 if (++col == maxcol) { in vcs_read()
349 p += maxcol; in vcs_read()
393 col = p % maxcol; in vcs_read()
396 p += maxcol - col; in vcs_read()
407 if (++col == maxcol) { in vcs_read()
410 p += maxcol; in vcs_read()
454 int col, maxcol, viewed; in vcs_write() local
533 maxcol = vc->vc_cols; in vcs_write()
537 col = p % maxcol; in vcs_write()
538 p += maxcol - col; in vcs_write()
547 if (++col == maxcol) { in vcs_write()
550 p += maxcol; in vcs_write()
566 col = (p/2) % maxcol; in vcs_write()
583 if (++col == maxcol) { in vcs_write()
589 p += maxcol - col; in vcs_write()
598 if (++col == maxcol) { in vcs_write()
601 p += maxcol; in vcs_write()