Home
last modified time | relevance | path

Searched refs:kb_func (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/s390/char/
Dkeyboard.c438 unsigned char kb_func; in do_kdgkb_ioctl() local
443 if (get_user(kb_func, &u_kbs->kb_func)) in do_kdgkb_ioctl()
446 if (kb_func >= MAX_NR_FUNC) in do_kdgkb_ioctl()
452 p = kbd->func_table[kb_func]; in do_kdgkb_ioctl()
470 kfree(kbd->func_table[kb_func]); in do_kdgkb_ioctl()
471 kbd->func_table[kb_func] = p; in do_kdgkb_ioctl()
/linux-6.6.21/include/uapi/linux/
Dkd.h114 unsigned char kb_func; member
/linux-6.6.21/drivers/tty/vt/
Dkeyboard.c2062 unsigned char kb_func; in vt_do_kdgkb_ioctl() local
2067 if (get_user(kb_func, &user_kdgkb->kb_func)) in vt_do_kdgkb_ioctl()
2070 kb_func = array_index_nospec(kb_func, MAX_NR_FUNC); in vt_do_kdgkb_ioctl()
2082 len = strlcpy(kbs, func_table[kb_func] ? : "", len); in vt_do_kdgkb_ioctl()
2100 kbs = vt_kdskbsent(kbs, kb_func); in vt_do_kdgkb_ioctl()