Home
last modified time | relevance | path

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

/third_party/musl/src/misc/
Dioctl.c31 static const struct ioctl_compat_map compat_map[] = { variable
124 for (int i=0; i<sizeof compat_map/sizeof *compat_map; i++) { in ioctl()
125 if (compat_map[i].new_req != req) continue; in ioctl()
130 convert_ioctl_struct(&compat_map[i], u.buf, arg, W); in ioctl()
131 r = __syscall(SYS_ioctl, fd, compat_map[i].old_req, u.buf); in ioctl()
133 convert_ioctl_struct(&compat_map[i], u.buf, arg, R); in ioctl()