Searched refs:u_kbs (Results 1 – 1 of 1) sorted by relevance
435 do_kdgkb_ioctl(struct kbd_data *kbd, struct kbsentry __user *u_kbs, in do_kdgkb_ioctl() argument443 if (get_user(kb_func, &u_kbs->kb_func)) in do_kdgkb_ioctl()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()