Searched refs:kbs (Results 1 – 1 of 1) sorted by relevance
2041 static char *vt_kdskbsent(char *kbs, unsigned char cur) in vt_kdskbsent() argument2046 if (cur_f && strlen(cur_f) >= strlen(kbs)) { in vt_kdskbsent()2047 strcpy(cur_f, kbs); in vt_kdskbsent()2048 return kbs; in vt_kdskbsent()2051 func_table[cur] = kbs; in vt_kdskbsent()2060 char *kbs; in vt_do_kdgkb_ioctl() local2073 kbs = kmalloc(len, GFP_KERNEL); in vt_do_kdgkb_ioctl()2074 if (!kbs) in vt_do_kdgkb_ioctl()2078 len = strscpy(kbs, func_table[kb_func] ? : "", len); in vt_do_kdgkb_ioctl()2085 ret = copy_to_user(user_kdgkb->kb_string, kbs, len + 1) ? in vt_do_kdgkb_ioctl()[all …]