}
static int
-ff_effect_ioctl(struct tcb *tcp, long arg)
+ff_effect_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
}
static int
-abs_ioctl(struct tcb *tcp, long arg)
+abs_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
}
static int
-keycode_ioctl(struct tcb *tcp, long arg)
+keycode_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
# ifdef EVIOCGKEYCODE_V2
static int
-keycode_V2_ioctl(struct tcb *tcp, long arg)
+keycode_V2_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
# endif /* EVIOCGKEYCODE_V2 */
static int
-getid_ioctl(struct tcb *tcp, long arg)
+getid_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
}
static int
-decode_bitset(struct tcb *tcp, long arg, const struct xlat decode_nr[],
- const unsigned int max_nr, const char *dflt)
+decode_bitset(struct tcb *const tcp, const kernel_ureg_t arg,
+ const struct xlat decode_nr[], const unsigned int max_nr,
+ const char *const dflt)
{
tprints(", ");
# ifdef EVIOCGMTSLOTS
static int
-mtslots_ioctl(struct tcb *tcp, const unsigned int code, long arg)
+mtslots_ioctl(struct tcb *const tcp, const unsigned int code,
+ const kernel_ureg_t arg)
{
tprints(", ");
# if defined EVIOCGREP || defined EVIOCSREP
static int
-repeat_ioctl(struct tcb *tcp, long arg)
+repeat_ioctl(struct tcb *const tcp, const kernel_ureg_t arg)
{
tprints(", ");
printpair_int(tcp, arg, "%u");
# endif /* EVIOCGREP || EVIOCSREP */
static int
-bit_ioctl(struct tcb *tcp, const unsigned int ev_nr, const long arg)
+bit_ioctl(struct tcb *const tcp, const unsigned int ev_nr,
+ const kernel_ureg_t arg)
{
switch (ev_nr) {
case EV_SYN:
}
static int
-evdev_read_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
+evdev_read_ioctl(struct tcb *const tcp, const unsigned int code,
+ const kernel_ureg_t arg)
{
/* fixed-number fixed-length commands */
switch (code) {
}
static int
-evdev_write_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
+evdev_write_ioctl(struct tcb *const tcp, const unsigned int code,
+ const kernel_ureg_t arg)
{
/* fixed-number fixed-length commands */
switch (code) {
return 0;
}
-MPERS_PRINTER_DECL(int, evdev_ioctl, struct tcb *tcp,
- const unsigned int code, const long arg)
+MPERS_PRINTER_DECL(int, evdev_ioctl, struct tcb *const tcp,
+ const unsigned int code, const kernel_ureg_t arg)
{
switch(_IOC_DIR(code)) {
case _IOC_READ: