Lines Matching refs:con_buf

247 static int vcs_read_buf_uni(struct vc_data *vc, char *con_buf,  in vcs_read_buf_uni()  argument
264 vc_uniscr_copy_line(vc, con_buf, viewed, row, col, nr); in vcs_read_buf_uni()
265 con_buf += nr * 4; in vcs_read_buf_uni()
275 static void vcs_read_buf_noattr(const struct vc_data *vc, char *con_buf, in vcs_read_buf_noattr() argument
286 *con_buf++ = (vcs_scr_readw(vc, org++) & 0xff); in vcs_read_buf_noattr()
295 static unsigned int vcs_read_buf(const struct vc_data *vc, char *con_buf, in vcs_read_buf() argument
305 con_buf[0] = min(vc->vc_rows, 0xFFu); in vcs_read_buf()
306 con_buf[1] = min(vc->vc_cols, 0xFFu); in vcs_read_buf()
307 getconsxy(vc, con_buf + 2); in vcs_read_buf()
319 con_buf += HEADER_SIZE; in vcs_read_buf()
348 con_buf16 = (u16 *)con_buf; in vcs_read_buf()
374 char *con_buf __free(free_page_ptr) = (char *)__get_free_page(GFP_KERNEL); in vcs_read()
375 if (!con_buf) in vcs_read()
433 ret = vcs_read_buf_uni(vc, con_buf, pos, this_round, in vcs_read()
438 vcs_read_buf_noattr(vc, con_buf, pos, this_round, in vcs_read()
441 this_round = vcs_read_buf(vc, con_buf, pos, this_round, in vcs_read()
453 ret = copy_to_user(buf, con_buf + skip, this_round); in vcs_read()
473 static u16 *vcs_write_buf_noattr(struct vc_data *vc, const char *con_buf, in vcs_write_buf_noattr() argument
484 unsigned char c = *con_buf++; in vcs_write_buf_noattr()
513 static u16 *vcs_write_buf(struct vc_data *vc, const char *con_buf, in vcs_write_buf() argument
527 header[pos++] = *con_buf++; in vcs_write_buf()
544 c = *con_buf++; in vcs_write_buf()
562 w = get_unaligned(((unsigned short *)con_buf)); in vcs_write_buf()
564 con_buf += 2; in vcs_write_buf()
577 c = *con_buf++; in vcs_write_buf()
599 char *con_buf __free(free_page_ptr) = (char *)__get_free_page(GFP_KERNEL); in vcs_write()
600 if (!con_buf) in vcs_write()
633 ret = copy_from_user(con_buf, buf, this_round); in vcs_write()
674 org = vcs_write_buf(vc, con_buf, pos, this_round, in vcs_write()
677 org = vcs_write_buf_noattr(vc, con_buf, pos, this_round, in vcs_write()