Searched refs:kbe (Results 1 - 2 of 2) sorted by relevance

/system/core/toolbox/
H A Dsetkey.c24 struct kbentry kbe; local
27 kbe.kb_table = 0;
28 kbe.kb_index = -1;
29 kbe.kb_value = 0;
46 kbe.kb_table = strtol(optarg, NULL, 0);
49 kbe.kb_index = strtol(optarg, NULL, 0);
52 kbe.kb_value = strtol(optarg, NULL, 0);
53 ret = ioctl(fd, KDSKBENT, &kbe);
56 kbe.kb_table, kbe
[all...]
/system/core/init/
H A Dbuiltins.c152 static int setkey(struct kbentry *kbe) argument
160 ret = ioctl(fd, KDSKBENT, kbe);
601 struct kbentry kbe; local
602 kbe.kb_table = strtoul(args[1], 0, 0);
603 kbe.kb_index = strtoul(args[2], 0, 0);
604 kbe.kb_value = strtoul(args[3], 0, 0);
605 return setkey(&kbe);

Completed in 8078 milliseconds