ioctl_types 137 tools/perf/trace/beauty/ioctl.c } ioctl_types[] = { /* Must be ordered by type */ ioctl_types 146 tools/perf/trace/beauty/ioctl.c const int nr_types = ARRAY_SIZE(ioctl_types); ioctl_types 148 tools/perf/trace/beauty/ioctl.c if (type >= ioctl_types[0].type && type <= ioctl_types[nr_types - 1].type) { ioctl_types 149 tools/perf/trace/beauty/ioctl.c const int index = type - ioctl_types[0].type; ioctl_types 151 tools/perf/trace/beauty/ioctl.c if (ioctl_types[index].scnprintf != NULL) ioctl_types 152 tools/perf/trace/beauty/ioctl.c return ioctl_types[index].scnprintf(nr, dir, bf, size);