Searched refs:kbd_head (Results 1 – 1 of 1) sorted by relevance
1278 static int kbd_head, kbd_tail; variable1295 next = (kbd_head + 1) % KBD_QSIZE; in push_kbd()1297 kbd_queue [kbd_head].id = scan & KBD_KEYMASK; in push_kbd()1298 kbd_queue [kbd_head].value=scan & KBD_UP ? VKEY_UP : VKEY_DOWN; in push_kbd()1299 kbd_queue [kbd_head].time = xtime; in push_kbd()1300 kbd_head = next; in push_kbd()1316 if (kbd_head == kbd_tail){ in kbd_read()1322 if (kbd_head == kbd_tail && !signal_pending(current)) { in kbd_read()1333 for (; p < end && kbd_head != kbd_tail;){ in kbd_read()1386 if (kbd_head != kbd_tail) in kbd_poll()[all …]