6 typedef int (*ioctl_trans_handler_t
)(unsigned int, unsigned int,
7 unsigned long, struct file
*);
11 ioctl_trans_handler_t handler
;
12 struct ioctl_trans
*next
;
16 * Register an 32bit ioctl translation handler for ioctl cmd.
18 * handler == NULL: use 64bit ioctl handler.
19 * arguments to handler: fd: file descriptor
22 * struct file *file: file descriptor pointer.
26 extern int register_ioctl32_conversion(unsigned int cmd
,
27 ioctl_trans_handler_t handler
);
28 extern int unregister_ioctl32_conversion(unsigned int cmd
);
32 #define register_ioctl32_conversion(cmd, handler) ({ 0; })
33 #define unregister_ioctl32_conversion(cmd) ({ 0; })