Home
last modified time | relevance | path

Searched refs:ioctl_types (Results 1 – 1 of 1) sorted by relevance

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