Searched refs:kb_string (Results 1 – 3 of 3) sorted by relevance
455 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()
115 unsigned char kb_string[512]; member
2075 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()