1 /* Generated by Makefile from block.c.mpers.i btrfs.c.mpers.i dirent.c.mpers.i evdev.c.mpers.i fetch_seccomp_fprog.c.mpers.i fetch_struct_flock.c.mpers.i fetch_struct_mmsghdr.c.mpers.i fetch_struct_msghdr.c.mpers.i fetch_struct_stat.c.mpers.i fetch_struct_stat64.c.mpers.i fetch_struct_statfs.c.mpers.i hdio.c.mpers.i ipc_msgctl.c.mpers.i ipc_shmctl.c.mpers.i loop.c.mpers.i mtd.c.mpers.i print_mq_attr.c.mpers.i print_msgbuf.c.mpers.i print_sg_req_info.c.mpers.i print_sigevent.c.mpers.i print_time.c.mpers.i print_timespec.c.mpers.i print_timeval.c.mpers.i print_timex.c.mpers.i printrusage.c.mpers.i printsiginfo.c.mpers.i rt_sigreturn.c.mpers.i rtc.c.mpers.i sg_io_v3.c.mpers.i sigaltstack.c.mpers.i sock.c.mpers.i sysinfo.c.mpers.i times.c.mpers.i ustat.c.mpers.i utime.c.mpers.i v4l2.c.mpers.i; do not edit. */ 2 typedef struct { 3 int (*block_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 4 #define block_ioctl MPERS_PRINTER_NAME(block_ioctl) 5 6 int (*btrfs_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 7 #define btrfs_ioctl MPERS_PRINTER_NAME(btrfs_ioctl) 8 9 int (*evdev_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 10 #define evdev_ioctl MPERS_PRINTER_NAME(evdev_ioctl) 11 12 _Bool (*fetch_seccomp_fprog)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p); 13 #define fetch_seccomp_fprog MPERS_PRINTER_NAME(fetch_seccomp_fprog) 14 15 _Bool (*fetch_struct_flock)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p); 16 #define fetch_struct_flock MPERS_PRINTER_NAME(fetch_struct_flock) 17 18 _Bool (*fetch_struct_flock64)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p); 19 #define fetch_struct_flock64 MPERS_PRINTER_NAME(fetch_struct_flock64) 20 21 int (*fetch_struct_mmsghdr)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p); 22 #define fetch_struct_mmsghdr MPERS_PRINTER_NAME(fetch_struct_mmsghdr) 23 24 unsigned int (*sizeof_struct_mmsghdr)(void); 25 #define sizeof_struct_mmsghdr MPERS_PRINTER_NAME(sizeof_struct_mmsghdr) 26 27 int (*fetch_struct_msghdr)(struct tcb *const tcp, const kernel_ulong_t addr, void *const p); 28 #define fetch_struct_msghdr MPERS_PRINTER_NAME(fetch_struct_msghdr) 29 30 _Bool (*fetch_struct_stat)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_stat *const dst); 31 #define fetch_struct_stat MPERS_PRINTER_NAME(fetch_struct_stat) 32 33 _Bool (*fetch_struct_stat64)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_stat *const dst); 34 #define fetch_struct_stat64 MPERS_PRINTER_NAME(fetch_struct_stat64) 35 36 _Bool (*fetch_struct_statfs)(struct tcb *const tcp, const kernel_ulong_t addr, struct strace_statfs *const p); 37 #define fetch_struct_statfs MPERS_PRINTER_NAME(fetch_struct_statfs) 38 39 _Bool (*fetch_struct_statfs64)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t size, struct strace_statfs *const p); 40 #define fetch_struct_statfs64 MPERS_PRINTER_NAME(fetch_struct_statfs64) 41 42 int (*hdio_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 43 #define hdio_ioctl MPERS_PRINTER_NAME(hdio_ioctl) 44 45 int (*loop_ioctl)(struct tcb *tcp, const unsigned int code, const kernel_ulong_t arg); 46 #define loop_ioctl MPERS_PRINTER_NAME(loop_ioctl) 47 48 int (*mtd_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 49 #define mtd_ioctl MPERS_PRINTER_NAME(mtd_ioctl) 50 51 void (*printmqattr)(struct tcb *const tcp, const kernel_ulong_t addr, const _Bool decode_flags); 52 #define printmqattr MPERS_PRINTER_NAME(printmqattr) 53 54 void (*tprint_msgbuf)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t count); 55 #define tprint_msgbuf MPERS_PRINTER_NAME(tprint_msgbuf) 56 57 int (*decode_sg_req_info)(struct tcb *const tcp, const kernel_ulong_t arg); 58 #define decode_sg_req_info MPERS_PRINTER_NAME(decode_sg_req_info) 59 60 void (*print_sigevent)(struct tcb *const tcp, const kernel_ulong_t addr); 61 #define print_sigevent MPERS_PRINTER_NAME(print_sigevent) 62 63 _Bool (*print_struct_timespec_data_size)(const void *arg, const size_t size); 64 #define print_struct_timespec_data_size MPERS_PRINTER_NAME(print_struct_timespec_data_size) 65 66 _Bool (*print_struct_timespec_array_data_size)(const void *arg, const unsigned int nmemb, const size_t size); 67 #define print_struct_timespec_array_data_size MPERS_PRINTER_NAME(print_struct_timespec_array_data_size) 68 69 void (*print_timespec)(struct tcb *const tcp, const kernel_ulong_t addr); 70 #define print_timespec MPERS_PRINTER_NAME(print_timespec) 71 72 const char * (*sprint_timespec)(struct tcb *const tcp, const kernel_ulong_t addr); 73 #define sprint_timespec MPERS_PRINTER_NAME(sprint_timespec) 74 75 void (*print_timespec_utime_pair)(struct tcb *const tcp, const kernel_ulong_t addr); 76 #define print_timespec_utime_pair MPERS_PRINTER_NAME(print_timespec_utime_pair) 77 78 void (*print_itimerspec)(struct tcb *const tcp, const kernel_ulong_t addr); 79 #define print_itimerspec MPERS_PRINTER_NAME(print_itimerspec) 80 81 void (*print_struct_timeval)(const void *arg); 82 #define print_struct_timeval MPERS_PRINTER_NAME(print_struct_timeval) 83 84 _Bool (*print_struct_timeval_data_size)(const void *arg, const size_t size); 85 #define print_struct_timeval_data_size MPERS_PRINTER_NAME(print_struct_timeval_data_size) 86 87 void (*print_timeval)(struct tcb *const tcp, const kernel_ulong_t addr); 88 #define print_timeval MPERS_PRINTER_NAME(print_timeval) 89 90 void (*print_timeval_utimes)(struct tcb *const tcp, const kernel_ulong_t addr); 91 #define print_timeval_utimes MPERS_PRINTER_NAME(print_timeval_utimes) 92 93 const char * (*sprint_timeval)(struct tcb *const tcp, const kernel_ulong_t addr); 94 #define sprint_timeval MPERS_PRINTER_NAME(sprint_timeval) 95 96 void (*print_itimerval)(struct tcb *const tcp, const kernel_ulong_t addr); 97 #define print_itimerval MPERS_PRINTER_NAME(print_itimerval) 98 99 int (*print_timex)(struct tcb *const tcp, const kernel_ulong_t addr); 100 #define print_timex MPERS_PRINTER_NAME(print_timex) 101 102 void (*printrusage)(struct tcb *const tcp, const kernel_ulong_t addr); 103 #define printrusage MPERS_PRINTER_NAME(printrusage) 104 105 void (*printsiginfo_at)(struct tcb *const tcp, const kernel_ulong_t addr); 106 #define printsiginfo_at MPERS_PRINTER_NAME(printsiginfo_at) 107 108 void (*print_siginfo_array)(struct tcb *const tcp, const kernel_ulong_t addr, const kernel_ulong_t len); 109 #define print_siginfo_array MPERS_PRINTER_NAME(print_siginfo_array) 110 111 int (*rtc_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 112 #define rtc_ioctl MPERS_PRINTER_NAME(rtc_ioctl) 113 114 int (*decode_sg_io_v3)(struct tcb *const tcp, const kernel_ulong_t arg); 115 #define decode_sg_io_v3 MPERS_PRINTER_NAME(decode_sg_io_v3) 116 117 int (*sock_ioctl)(struct tcb *tcp, const unsigned int code, const kernel_ulong_t arg); 118 #define sock_ioctl MPERS_PRINTER_NAME(sock_ioctl) 119 120 int (*v4l2_ioctl)(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg); 121 #define v4l2_ioctl MPERS_PRINTER_NAME(v4l2_ioctl) 122 123 } struct_printers; 124 extern const struct_printers *printers; 125 #define MPERS_PRINTER_NAME(printer_name) printers->printer_name 126