ioctl_tree.c: Use macros to simplify ioctl-db