Searched refs:u_kbs (Results 1 – 1 of 1) sorted by relevance
404 do_kdgkb_ioctl(struct kbd_data *kbd, struct kbsentry __user *u_kbs, in do_kdgkb_ioctl() argument412 if (get_user(kb_func, &u_kbs->kb_func)) in do_kdgkb_ioctl()424 if (len >= sizeof(u_kbs->kb_string)) in do_kdgkb_ioctl()425 len = sizeof(u_kbs->kb_string) - 1; in do_kdgkb_ioctl()426 if (copy_to_user(u_kbs->kb_string, p, len)) in do_kdgkb_ioctl()430 if (put_user('\0', u_kbs->kb_string + len)) in do_kdgkb_ioctl()436 len = strnlen_user(u_kbs->kb_string, in do_kdgkb_ioctl()437 sizeof(u_kbs->kb_string) - 1); in do_kdgkb_ioctl()440 if (len > sizeof(u_kbs->kb_string) - 1) in do_kdgkb_ioctl()445 if (copy_from_user(p, u_kbs->kb_string, len)) { in do_kdgkb_ioctl()