Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/s390/char/
A 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.3-rc2/include/uapi/linux/
A Dkd.h115 unsigned char kb_string[512]; member
/linux-6.3-rc2/drivers/tty/vt/
A 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()

Completed in 9 milliseconds