Lines Matching defs:lines
76 * 1) describe line orientation & lines list concept against screen
77 * 2) describe conversion of screen to lines
86 int nr_up; /* # lines up in history. */
120 char **rcl_lines; /* Array of recallable lines */
132 #define TTY_UPDATE_LINES 0x4 /* Update visible screen lines */
214 * The input line are the two last lines of the screen.
894 int allocated, lines;
900 for (lines = 0; lines < allocated; lines++) {
901 screen[lines].cells = kcalloc(cols, sizeof(struct tty3270_cell), GFP_KERNEL);
902 if (!screen[lines].cells)
908 while (lines--)
909 kfree(screen[lines].cells);
917 char **lines;
920 lines = kmalloc_array(TTY3270_RECALL_SIZE, sizeof(char *), GFP_KERNEL);
921 if (!lines)
924 lines[i] = kcalloc(1, tty3270_input_size(cols) + 1, GFP_KERNEL);
925 if (!lines[i])
930 return lines;
933 kfree(lines[i]);
934 kfree(lines);
938 static void tty3270_free_recall(char **lines)
943 kfree(lines[i]);
944 kfree(lines);
952 int lines;
954 for (lines = 0; lines < old_lines; lines++)
955 kfree(screen[lines].cells);