Home
last modified time | relevance | path

Searched refs:con_buf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/tty/vt/
Dvc_screen.c253 char *con_buf; in vcs_read() local
255 con_buf = (char *) __get_free_page(GFP_KERNEL); in vcs_read()
256 if (!con_buf) in vcs_read()
316 con_buf_start = con_buf0 = con_buf; in vcs_read()
375 con_buf0 = con_buf + HEADER_SIZE; in vcs_read()
442 free_page((unsigned long) con_buf); in vcs_read()
457 char *con_buf; in vcs_write() local
459 con_buf = (char *) __get_free_page(GFP_KERNEL); in vcs_write()
460 if (!con_buf) in vcs_write()
495 ret = copy_from_user(con_buf, buf, this_round); in vcs_write()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Du_serial.c88 struct kfifo con_buf; member
1000 count = kfifo_len(&info->con_buf); in gs_console_thread()
1008 xfer = kfifo_out(&info->con_buf, req->buf, size); in gs_console_thread()
1044 status = kfifo_alloc(&info->con_buf, GS_CONSOLE_BUF_SIZE, GFP_KERNEL); in gs_console_setup()
1054 kfifo_free(&info->con_buf); in gs_console_setup()
1069 kfifo_in(&info->con_buf, buf, count); in gs_console_write()
1108 kfifo_free(&info->con_buf); in gserial_console_exit()