Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/char/
Dkeyboard.c455 if (len >= sizeof(u_kbs->kb_string)) in do_kdgkb_ioctl()
456 len = sizeof(u_kbs->kb_string) - 1; in do_kdgkb_ioctl()
457 if (copy_to_user(u_kbs->kb_string, p, len)) in do_kdgkb_ioctl()
461 if (put_user('\0', u_kbs->kb_string + len)) in do_kdgkb_ioctl()
467 p = strndup_user(u_kbs->kb_string, sizeof(u_kbs->kb_string)); in do_kdgkb_ioctl()
/linux-6.1.9/include/uapi/linux/
Dkd.h115 unsigned char kb_string[512]; member
/linux-6.1.9/drivers/tty/vt/
Dkeyboard.c2075 ssize_t len = sizeof(user_kdgkb->kb_string); in vt_do_kdgkb_ioctl()
2085 ret = copy_to_user(user_kdgkb->kb_string, kbs, len + 1) ? in vt_do_kdgkb_ioctl()
2094 kbs = strndup_user(user_kdgkb->kb_string, in vt_do_kdgkb_ioctl()
2095 sizeof(user_kdgkb->kb_string)); in vt_do_kdgkb_ioctl()