Lines Matching refs:arg
79 ff_effect_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in ff_effect_ioctl() argument
85 if (umove_or_printaddr(tcp, arg, &ffe)) in ff_effect_ioctl()
157 abs_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in abs_ioctl() argument
163 if (!umove_or_printaddr(tcp, arg, &absinfo)) { in abs_ioctl()
191 keycode_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in keycode_ioctl() argument
197 if (!umove_or_printaddr(tcp, arg, &keycode)) { in keycode_ioctl()
208 keycode_V2_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in keycode_V2_ioctl() argument
214 if (umove_or_printaddr(tcp, arg, &ike)) in keycode_V2_ioctl()
245 getid_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in getid_ioctl() argument
251 if (!umove_or_printaddr(tcp, arg, &id)) in getid_ioctl()
265 decode_bitset(struct tcb *const tcp, const kernel_ulong_t arg, in decode_bitset() argument
278 if (umove_or_printaddr(tcp, arg, &decoded_arg)) in decode_bitset()
309 const kernel_ulong_t arg) in mtslots_ioctl() argument
315 printaddr(arg); in mtslots_ioctl()
321 if (umove_or_printaddr(tcp, arg, &buffer)) in mtslots_ioctl()
341 repeat_ioctl(struct tcb *const tcp, const kernel_ulong_t arg) in repeat_ioctl() argument
344 printpair_int(tcp, arg, "%u"); in repeat_ioctl()
351 const kernel_ulong_t arg) in bit_ioctl() argument
355 return decode_bitset(tcp, arg, evdev_sync, in bit_ioctl()
358 return decode_bitset(tcp, arg, evdev_keycode, in bit_ioctl()
361 return decode_bitset(tcp, arg, evdev_relative_axes, in bit_ioctl()
364 return decode_bitset(tcp, arg, evdev_abs, in bit_ioctl()
367 return decode_bitset(tcp, arg, evdev_misc, in bit_ioctl()
371 return decode_bitset(tcp, arg, evdev_switch, in bit_ioctl()
375 return decode_bitset(tcp, arg, evdev_leds, in bit_ioctl()
378 return decode_bitset(tcp, arg, evdev_snd, in bit_ioctl()
381 return decode_bitset(tcp, arg, evdev_autorepeat, in bit_ioctl()
384 return decode_bitset(tcp, arg, evdev_ff_types, in bit_ioctl()
388 printnum_int(tcp, arg, "%d"); in bit_ioctl()
391 return decode_bitset(tcp, arg, evdev_ff_status, in bit_ioctl()
395 printaddr(arg); in bit_ioctl()
402 const kernel_ulong_t arg) in evdev_read_ioctl() argument
408 printnum_int(tcp, arg, "%#x"); in evdev_read_ioctl()
412 printnum_int(tcp, arg, "%u"); in evdev_read_ioctl()
415 return getid_ioctl(tcp, arg); in evdev_read_ioctl()
418 return repeat_ioctl(tcp, arg); in evdev_read_ioctl()
421 return keycode_ioctl(tcp, arg); in evdev_read_ioctl()
424 return keycode_V2_ioctl(tcp, arg); in evdev_read_ioctl()
432 return mtslots_ioctl(tcp, code, arg); in evdev_read_ioctl()
439 printaddr(arg); in evdev_read_ioctl()
441 printstrn(tcp, arg, tcp->u_rval); in evdev_read_ioctl()
445 return decode_bitset(tcp, arg, evdev_prop, in evdev_read_ioctl()
449 return decode_bitset(tcp, arg, evdev_snd, in evdev_read_ioctl()
453 return decode_bitset(tcp, arg, evdev_switch, in evdev_read_ioctl()
457 return decode_bitset(tcp, arg, evdev_keycode, in evdev_read_ioctl()
460 return decode_bitset(tcp, arg, evdev_leds, in evdev_read_ioctl()
466 return abs_ioctl(tcp, arg); in evdev_read_ioctl()
470 return bit_ioctl(tcp, _IOC_NR(code) & EV_MAX, arg); in evdev_read_ioctl()
477 const kernel_ulong_t arg) in evdev_write_ioctl() argument
483 return repeat_ioctl(tcp, arg); in evdev_write_ioctl()
486 return keycode_ioctl(tcp, arg); in evdev_write_ioctl()
489 return keycode_V2_ioctl(tcp, arg); in evdev_write_ioctl()
492 return ff_effect_ioctl(tcp, arg); in evdev_write_ioctl()
494 tprintf(", %d", (int) arg); in evdev_write_ioctl()
500 tprintf(", %" PRI_klu, arg); in evdev_write_ioctl()
505 printnum_int(tcp, arg, "%u"); in evdev_write_ioctl()
512 return abs_ioctl(tcp, arg); in evdev_write_ioctl()
518 const unsigned int code, const kernel_ulong_t arg) in MPERS_PRINTER_DECL() argument
524 return evdev_read_ioctl(tcp, code, arg); in MPERS_PRINTER_DECL()
526 return evdev_write_ioctl(tcp, code, arg) | RVAL_DECODED; in MPERS_PRINTER_DECL()