Searched refs:u_kbs (Results 1 – 1 of 1) sorted by relevance
405 do_kdgkb_ioctl(struct kbd_data *kbd, struct kbsentry __user *u_kbs, in do_kdgkb_ioctl() argument413 if (get_user(kb_func, &u_kbs->kb_func)) in do_kdgkb_ioctl()425 if (len >= sizeof(u_kbs->kb_string)) in do_kdgkb_ioctl()426 len = sizeof(u_kbs->kb_string) - 1; in do_kdgkb_ioctl()427 if (copy_to_user(u_kbs->kb_string, p, len)) in do_kdgkb_ioctl()431 if (put_user('\0', u_kbs->kb_string + len)) in do_kdgkb_ioctl()437 len = strnlen_user(u_kbs->kb_string, in do_kdgkb_ioctl()438 sizeof(u_kbs->kb_string) - 1); in do_kdgkb_ioctl()441 if (len > sizeof(u_kbs->kb_string) - 1) in do_kdgkb_ioctl()446 if (copy_from_user(p, u_kbs->kb_string, len)) { in do_kdgkb_ioctl()