Searched refs:kbe (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/ |
D | setkey.c | 24 struct kbentry kbe; in setkey_main() local 27 kbe.kb_table = 0; in setkey_main() 28 kbe.kb_index = -1; in setkey_main() 29 kbe.kb_value = 0; in setkey_main() 46 kbe.kb_table = strtol(optarg, NULL, 0); in setkey_main() 49 kbe.kb_index = strtol(optarg, NULL, 0); in setkey_main() 52 kbe.kb_value = strtol(optarg, NULL, 0); in setkey_main() 53 ret = ioctl(fd, KDSKBENT, &kbe); in setkey_main() 56 kbe.kb_table, kbe.kb_index, kbe.kb_value, in setkey_main() 63 ret = ioctl(fd, KDGKBENT, &kbe); in setkey_main() [all …]
|
/system/core/init/ |
D | builtins.c | 154 static int setkey(struct kbentry *kbe) in setkey() argument 162 ret = ioctl(fd, KDSKBENT, kbe); in setkey() 541 struct kbentry kbe; in do_setkey() local 542 kbe.kb_table = strtoul(args[1], 0, 0); in do_setkey() 543 kbe.kb_index = strtoul(args[2], 0, 0); in do_setkey() 544 kbe.kb_value = strtoul(args[3], 0, 0); in do_setkey() 545 return setkey(&kbe); in do_setkey()
|