Home | History | Annotate | Download | only in strace

Lines Matching refs:tcp

65 ff_effect_ioctl(struct tcb *tcp, long arg)
69 if (!verbose(tcp) || umove(tcp, arg, &ffe) < 0)
77 if (!abbrev(tcp)) {
136 abs_ioctl(struct tcb *tcp, long arg)
140 if (!verbose(tcp) || umove(tcp, arg, &absinfo) < 0)
145 if (!abbrev(tcp)) {
160 keycode_ioctl(struct tcb *tcp, long arg)
169 if (!verbose(tcp) || umove(tcp, arg, &keycode) < 0)
180 keycode_V2_ioctl(struct tcb *tcp, long arg)
189 if (!verbose(tcp) || umove(tcp, arg, &ike) < 0)
193 if (!abbrev(tcp)) {
213 getid_ioctl(struct tcb *tcp, long arg)
217 if (!verbose(tcp) || umove(tcp, arg, &id) < 0)
222 if (!abbrev(tcp)) {
232 decode_bitset(struct tcb *tcp, long arg, const struct xlat decode_nr[],
235 if (!verbose(tcp))
239 if ((unsigned long) tcp->u_rval > max_nr)
242 size = tcp->u_rval;
245 if (umoven(tcp, arg, size, decoded_arg) < 0)
258 if (abbrev(tcp) && bit_displayed >= 3) {
275 mtslots_ioctl(struct tcb *tcp, const unsigned int code, long arg)
283 if (!verbose(tcp) || umove(tcp, arg, &buffer) < 0)
302 repeat_ioctl(struct tcb *tcp, long arg)
306 if (!verbose(tcp) || umove(tcp, arg, &val) < 0)
315 evdev_read_ioctl(struct tcb *tcp, const unsigned int code, long arg)
317 if (entering(tcp))
320 if (syserror(tcp))
326 return decode_bitset(tcp, arg, evdev_sync,
329 return decode_bitset(tcp, arg, evdev_keycode,
332 return decode_bitset(tcp, arg, evdev_relative_axes,
335 return decode_bitset(tcp, arg,
338 return decode_bitset(tcp, arg,
342 return decode_bitset(tcp, arg,
346 return decode_bitset(tcp, arg,
349 return decode_bitset(tcp, arg,
352 return decode_bitset(tcp, arg, evdev_autorepeat,
355 return decode_bitset(tcp, arg, evdev_ff_types,
358 printnum_int(tcp, arg, "%d");
361 return decode_bitset(tcp, arg, evdev_ff_status,
369 return abs_ioctl(tcp, arg);
374 printnum_int(tcp, arg, "%" PRIx32);
378 printnum_int(tcp, arg, "%" PRIu32);
381 return getid_ioctl(tcp, arg);
384 return repeat_ioctl(tcp, arg);;
387 return keycode_ioctl(tcp, arg);
390 return keycode_V2_ioctl(tcp, arg);
397 return mtslots_ioctl(tcp, code, arg);
403 printstr(tcp, arg, tcp->u_rval - 1);
407 return decode_bitset(tcp, arg,
411 return decode_bitset(tcp, arg,
415 return decode_bitset(tcp, arg,
419 return decode_bitset(tcp, arg,
422 return decode_bitset(tcp, arg,
430 evdev_write_ioctl(struct tcb *tcp, const unsigned int code, long arg)
432 if (exiting(tcp))
436 return abs_ioctl(tcp, arg);
441 return repeat_ioctl(tcp, arg);
444 return keycode_ioctl(tcp, arg);
447 return keycode_V2_ioctl(tcp, arg);
450 return ff_effect_ioctl(tcp, arg);
460 printnum_int(tcp, arg, "%u");
468 evdev_ioctl(struct tcb *tcp, const unsigned int code, long arg)
472 return evdev_read_ioctl(tcp, code, arg);
474 if (!evdev_write_ioctl(tcp, code, arg))