diff options
| author | Yu Hao <yhao016@ucr.edu> | 2022-09-26 11:35:05 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-28 16:31:28 +0200 |
| commit | b485720cba89f4f8a0e542a8c350a21b981d1af9 (patch) | |
| tree | 69f88ac8f7af5616605e38949927ffa19eaa68cd /sys/linux | |
| parent | 8bcc326376d1f528a2fb2869c95f32849a50840e (diff) | |
sys/linux: fix errors
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/dev_bus_usb.txt | 4 | ||||
| -rw-r--r-- | sys/linux/dev_bus_usb.txt.const | 4 | ||||
| -rw-r--r-- | sys/linux/dev_nbd.txt | 1 | ||||
| -rw-r--r-- | sys/linux/dev_nbd.txt.const | 1 | ||||
| -rw-r--r-- | sys/linux/dev_net_tun.txt | 4 | ||||
| -rw-r--r-- | sys/linux/dev_net_tun.txt.const | 4 | ||||
| -rw-r--r-- | sys/linux/dev_ppp.txt | 15 | ||||
| -rw-r--r-- | sys/linux/dev_ppp.txt.const | 4 | ||||
| -rw-r--r-- | sys/linux/dev_rfkill.txt | 1 | ||||
| -rw-r--r-- | sys/linux/dev_rfkill.txt.const | 1 | ||||
| -rw-r--r-- | sys/linux/dev_sg.txt | 6 | ||||
| -rw-r--r-- | sys/linux/dev_sg.txt.const | 5 | ||||
| -rw-r--r-- | sys/linux/dev_snd_control.txt | 2 | ||||
| -rw-r--r-- | sys/linux/dev_snd_timer.txt | 24 |
14 files changed, 73 insertions, 3 deletions
diff --git a/sys/linux/dev_bus_usb.txt b/sys/linux/dev_bus_usb.txt index c66ef5c06..5c4fe538c 100644 --- a/sys/linux/dev_bus_usb.txt +++ b/sys/linux/dev_bus_usb.txt @@ -46,9 +46,13 @@ ioctl$USBDEVFS_CLAIM_PORT(fd fd_usbfs, cmd const[USBDEVFS_CLAIM_PORT], arg ptr[i ioctl$USBDEVFS_RELEASE_PORT(fd fd_usbfs, cmd const[USBDEVFS_RELEASE_PORT], arg ptr[in, int32]) ioctl$USBDEVFS_GET_CAPABILITIES(fd fd_usbfs, cmd const[USBDEVFS_GET_CAPABILITIES], arg ptr[out, int32]) ioctl$USBDEVFS_DISCONNECT_CLAIM(fd fd_usbfs, cmd const[USBDEVFS_DISCONNECT_CLAIM], arg ptr[in, usbdevfs_disconnect_claim]) +ioctl$USBDEVFS_ALLOC_STREAMS(fd fd_usbfs, cmd const[USBDEVFS_ALLOC_STREAMS], arg ptr[in, usbdevfs_streams]) ioctl$USBDEVFS_FREE_STREAMS(fd fd_usbfs, cmd const[USBDEVFS_FREE_STREAMS], arg ptr[in, usbdevfs_streams]) ioctl$USBDEVFS_DROP_PRIVILEGES(fd fd_usbfs, cmd const[USBDEVFS_DROP_PRIVILEGES], arg ptr[in, int32]) ioctl$USBDEVFS_GET_SPEED(fd fd_usbfs, cmd const[USBDEVFS_GET_SPEED]) +ioctl$USBDEVFS_FORBID_SUSPEND(fd fd_usbfs, cmd const[USBDEVFS_FORBID_SUSPEND]) +ioctl$USBDEVFS_ALLOW_SUSPEND(fd fd_usbfs, cmd const[USBDEVFS_ALLOW_SUSPEND]) +ioctl$USBDEVFS_WAIT_FOR_RESUME(fd fd_usbfs, cmd const[USBDEVFS_WAIT_FOR_RESUME]) usbdevfs_ep { num int8:7[0:15] diff --git a/sys/linux/dev_bus_usb.txt.const b/sys/linux/dev_bus_usb.txt.const index bed6dedec..2d321a46e 100644 --- a/sys/linux/dev_bus_usb.txt.const +++ b/sys/linux/dev_bus_usb.txt.const @@ -1,6 +1,8 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x MAXDRIVERNAME = 256 +USBDEVFS_ALLOC_STREAMS = 2148029724, mips64le:ppc64le:1074287900 +USBDEVFS_ALLOW_SUSPEND = 21794, mips64le:ppc64le:536892706 USBDEVFS_BULK = 3222820098, 386:arm:3222295810 USBDEVFS_CLAIMINTERFACE = 2147767567, mips64le:ppc64le:1074025743 USBDEVFS_CLAIM_PORT = 2147767576, mips64le:ppc64le:1074025752 @@ -15,6 +17,7 @@ USBDEVFS_DISCONNECT_CLAIM_EXCEPT_DRIVER = 2 USBDEVFS_DISCONNECT_CLAIM_IF_DRIVER = 1 USBDEVFS_DISCSIGNAL = 2148553998, 386:arm:2148029710, mips64le:ppc64le:1074812174 USBDEVFS_DROP_PRIVILEGES = 1074025758, mips64le:ppc64le:2147767582 +USBDEVFS_FORBID_SUSPEND = 21793, mips64le:ppc64le:536892705 USBDEVFS_FREE_STREAMS = 2148029725, mips64le:ppc64le:1074287901 USBDEVFS_GETDRIVER = 1090802952, mips64le:ppc64le:2164544776 USBDEVFS_GET_CAPABILITIES = 2147767578, mips64le:ppc64le:1074025754 @@ -39,6 +42,7 @@ USBDEVFS_URB_TYPE_CONTROL = 2 USBDEVFS_URB_TYPE_INTERRUPT = 1 USBDEVFS_URB_TYPE_ISO = 0 USBDEVFS_URB_ZERO_PACKET = 64 +USBDEVFS_WAIT_FOR_RESUME = 21795, mips64le:ppc64le:536892707 USB_DIR_IN = 128 USB_DIR_OUT = 0 USB_MAXENDPOINTS = 30 diff --git a/sys/linux/dev_nbd.txt b/sys/linux/dev_nbd.txt index 9bc852628..2a9549b51 100644 --- a/sys/linux/dev_nbd.txt +++ b/sys/linux/dev_nbd.txt @@ -24,6 +24,7 @@ ioctl$NBD_SET_TIMEOUT(fd fd_nbd, cmd const[NBD_SET_TIMEOUT], arg intptr) ioctl$NBD_SET_FLAGS(fd fd_nbd, cmd const[NBD_SET_FLAGS], arg intptr) ioctl$NBD_DO_IT(fd fd_nbd, cmd const[NBD_DO_IT]) ioctl$NBD_CLEAR_QUE(fd fd_nbd, cmd const[NBD_CLEAR_QUE]) +ioctl$NBD_PRINT_DEBUG(fd fd_nbd, cmd const[NBD_PRINT_DEBUG]) type msghdr_nl_nbd[CMD] msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[CMD], nbd_attr_policy]] diff --git a/sys/linux/dev_nbd.txt.const b/sys/linux/dev_nbd.txt.const index 9eccaade7..aede65bad 100644 --- a/sys/linux/dev_nbd.txt.const +++ b/sys/linux/dev_nbd.txt.const @@ -26,6 +26,7 @@ NBD_FLAG_READ_ONLY = 2 NBD_FLAG_SEND_FLUSH = 4 NBD_FLAG_SEND_FUA = 8 NBD_FLAG_SEND_TRIM = 32 +NBD_PRINT_DEBUG = 43782, mips64le:ppc64le:536914694 NBD_REPLY_MAGIC = 1732535960 NBD_SET_BLKSIZE = 43777, mips64le:ppc64le:536914689 NBD_SET_FLAGS = 43786, mips64le:ppc64le:536914698 diff --git a/sys/linux/dev_net_tun.txt b/sys/linux/dev_net_tun.txt index 09dd55218..1c96662bb 100644 --- a/sys/linux/dev_net_tun.txt +++ b/sys/linux/dev_net_tun.txt @@ -11,6 +11,7 @@ openat$tun(fd const[AT_FDCWD], file ptr[in, string["/dev/net/tun"]], flags flags write$tun(fd fd_tun, buf ptr[in, tun_buffer], count len[buf]) ioctl$TUNGETFEATURES(fd fd_tun, cmd const[TUNGETFEATURES], arg ptr[out, int32]) ioctl$TUNSETQUEUE(fd fd_tun, cmd const[TUNSETQUEUE], arg ptr[in, ifreq_t[flags[tun_queue_flags, int16]]]) +ioctl$SIOCGSKNS(fd fd_tun, cmd const[SIOCGSKNS], arg ptr[in, ifreq_t[flags[tun_queue_flags, int16]]]) ioctl$TUNSETIFF(fd fd_tun, cmd const[TUNSETIFF], arg ptr[in, ifreq_t[flags[tun_setiff_flags, int16]]]) ioctl$TUNSETIFINDEX(fd fd_tun, cmd const[TUNSETIFINDEX], arg ptr[in, ifindex]) ioctl$TUNGETIFF(fd fd_tun, cmd const[TUNGETIFF], arg ptr[out, ifreq_t[void]]) @@ -19,6 +20,7 @@ ioctl$TUNSETPERSIST(fd fd_tun, cmd const[TUNSETPERSIST], arg boolptr) ioctl$TUNSETOWNER(fd fd_tun, cmd const[TUNSETOWNER], arg uid) ioctl$TUNSETGROUP(fd fd_tun, cmd const[TUNSETGROUP], arg gid) ioctl$TUNSETLINK(fd fd_tun, cmd const[TUNSETLINK], arg flags[dev_type_arphdr]) +ioctl$TUNSETDEBUG(fd fd_tun, cmd const[TUNSETDEBUG], arg ptr[in, int32]) ioctl$TUNSETOFFLOAD(fd fd_tun, cmd const[TUNSETOFFLOAD], arg flags[tun_offload_flags]) ioctl$TUNSETTXFILTER(fd fd_tun, cmd const[TUNSETTXFILTER], arg ptr[in, tun_filter]) ioctl$SIOCGIFHWADDR(fd fd_tun, cmd const[SIOCGIFHWADDR], arg ptr[out, ifreq_t[void]]) @@ -32,7 +34,9 @@ ioctl$TUNDETACHFILTER(fd fd_tun, cmd const[TUNDETACHFILTER], arg const[0]) ioctl$TUNGETFILTER(fd fd_tun, cmd const[TUNGETFILTER], arg buffer[out]) ioctl$TUNSETSTEERINGEBPF(fd fd_tun, cmd const[TUNSETSTEERINGEBPF], arg ptr[in, fd_bpf_prog]) ioctl$TUNSETFILTEREBPF(fd fd_tun, cmd const[TUNSETFILTEREBPF], arg ptr[in, fd_bpf_prog]) +ioctl$TUNGETVNETLE(fd fd_tun, cmd const[TUNGETVNETLE], arg ptr[out, int32]) ioctl$TUNSETVNETLE(fd fd_tun, cmd const[TUNSETVNETLE], arg ptr[in, bool32]) +ioctl$TUNGETVNETBE(fd fd_tun, cmd const[TUNGETVNETBE], arg ptr[in, bool32]) ioctl$TUNSETVNETBE(fd fd_tun, cmd const[TUNSETVNETBE], arg ptr[in, bool32]) ioctl$TUNSETCARRIER(fd fd_tun, cmd const[TUNSETCARRIER], arg ptr[in, bool32]) ioctl$TUNGETDEVNETNS(fd fd_tun, cmd const[TUNGETDEVNETNS], arg const[0]) fd_namespace diff --git a/sys/linux/dev_net_tun.txt.const b/sys/linux/dev_net_tun.txt.const index 78e95b8ee..88d0bf62b 100644 --- a/sys/linux/dev_net_tun.txt.const +++ b/sys/linux/dev_net_tun.txt.const @@ -82,6 +82,7 @@ IFF_TUN = 1 IFF_TUN_EXCL = 32768 IFF_VNET_HDR = 16384 SIOCGIFHWADDR = 35111 +SIOCGSKNS = 35148 SIOCSIFHWADDR = 35108 TUNATTACHFILTER = 1074812117, 386:arm:1074287829, mips64le:ppc64le:2148553941 TUNDETACHFILTER = 1074812118, 386:arm:1074287830, mips64le:ppc64le:2148553942 @@ -90,8 +91,11 @@ TUNGETFEATURES = 2147767503, mips64le:ppc64le:1074025679 TUNGETFILTER = 2148553947, 386:arm:2148029659, mips64le:ppc64le:1074812123 TUNGETIFF = 2147767506, mips64le:ppc64le:1074025682 TUNGETSNDBUF = 2147767507, mips64le:ppc64le:1074025683 +TUNGETVNETBE = 2147767519, mips64le:ppc64le:1074025695 TUNGETVNETHDRSZ = 2147767511, mips64le:ppc64le:1074025687 +TUNGETVNETLE = 2147767517, mips64le:ppc64le:1074025693 TUNSETCARRIER = 1074025698, mips64le:ppc64le:2147767522 +TUNSETDEBUG = 1074025673, mips64le:ppc64le:2147767497 TUNSETFILTEREBPF = 2147767521, mips64le:ppc64le:1074025697 TUNSETGROUP = 1074025678, mips64le:ppc64le:2147767502 TUNSETIFF = 1074025674, mips64le:ppc64le:2147767498 diff --git a/sys/linux/dev_ppp.txt b/sys/linux/dev_ppp.txt index 20ad25261..fe39780c9 100644 --- a/sys/linux/dev_ppp.txt +++ b/sys/linux/dev_ppp.txt @@ -13,6 +13,9 @@ type ppp_unit int32[0:4] openat$ppp(fd const[AT_FDCWD], file ptr[in, string["/dev/ppp"]], flags flags[open_flags], mode const[0]) fd_ppp write$ppp(fd fd_ppp, data ptr[in, ppp_packet], size bytesize[data]) +ioctl$PPPIOCBRIDGECHAN(fd fd_ppp, cmd const[PPPIOCBRIDGECHAN], arg ptr[in, int32]) +ioctl$PPPIOCUNBRIDGECHAN(fd fd_ppp, cmd const[PPPIOCUNBRIDGECHAN]) + ioctl$PPPIOCNEWUNIT(fd fd_ppp, cmd const[PPPIOCNEWUNIT], arg ptr[in, ppp_unit]) ioctl$PPPIOCATTACH(fd fd_ppp, cmd const[PPPIOCATTACH], arg ptr[in, ppp_unit]) ioctl$PPPIOCATTCHAN(fd fd_ppp, cmd const[PPPIOCATTCHAN], arg ptr[in, ppp_unit]) @@ -22,6 +25,8 @@ ioctl$PPPIOCSCOMPRESS(fd fd_ppp, cmd const[PPPIOCSCOMPRESS]) ioctl$PPPIOCGUNIT(fd fd_ppp, cmd const[PPPIOCGUNIT], arg ptr[out, int32]) ioctl$PPPIOCSDEBUG(fd fd_ppp, cmd const[PPPIOCSDEBUG], arg ptr[in, int32]) ioctl$PPPIOCGDEBUG(fd fd_ppp, cmd const[PPPIOCGDEBUG], arg ptr[out, int32]) +ioctl$PPPIOCGIDLE32(fd fd_ppp, cmd const[PPPIOCGIDLE32], arg ptr[out, ppp_idle32]) +ioctl$PPPIOCGIDLE64(fd fd_ppp, cmd const[PPPIOCGIDLE64], arg ptr[out, ppp_idle64]) ioctl$PPPIOCGIDLE(fd fd_ppp, cmd const[PPPIOCGIDLE], arg ptr[out, array[int64, 2]]) ioctl$PPPIOCSMAXCID(fd fd_ppp, cmd const[PPPIOCSMAXCID], arg ptr[in, int32]) ioctl$PPPIOCGNPMODE(fd fd_ppp, cmd const[PPPIOCGNPMODE], arg ptr[in, npioctl]) @@ -42,3 +47,13 @@ npioctl { protocol flags[ppp_proto, int32] mode flags[NPmode, int32] } + +ppp_idle32 { + xmit_idle int32 + recv_idle int32 +} + +ppp_idle64 { + xmit_idle int64 + recv_idle int64 +} diff --git a/sys/linux/dev_ppp.txt.const b/sys/linux/dev_ppp.txt.const index fe5cd9b9f..41680d12e 100644 --- a/sys/linux/dev_ppp.txt.const +++ b/sys/linux/dev_ppp.txt.const @@ -7,11 +7,14 @@ NPMODE_PASS = 0 NPMODE_QUEUE = 3 PPPIOCATTACH = 1074033725, mips64le:ppc64le:2147775549 PPPIOCATTCHAN = 1074033720, mips64le:ppc64le:2147775544 +PPPIOCBRIDGECHAN = 1074033717, mips64le:ppc64le:2147775541 PPPIOCCONNECT = 1074033722, mips64le:ppc64le:2147775546 PPPIOCDISCONN = 29753, mips64le:ppc64le:536900665 PPPIOCGDEBUG = 2147775553, mips64le:ppc64le:1074033729 PPPIOCGFLAGS = 2147775578, mips64le:ppc64le:1074033754 PPPIOCGIDLE = 2148561983, 386:arm:2148037695, mips64le:ppc64le:1074820159 +PPPIOCGIDLE32 = 2148037695, mips64le:ppc64le:1074295871 +PPPIOCGIDLE64 = 2148561983, mips64le:ppc64le:1074820159 PPPIOCGNPMODE = 3221779532 PPPIOCGUNIT = 2147775574, mips64le:ppc64le:1074033750 PPPIOCNEWUNIT = 3221517374 @@ -24,6 +27,7 @@ PPPIOCSMRRU = 1074033723, mips64le:ppc64le:2147775547 PPPIOCSMRU = 1074033746, mips64le:ppc64le:2147775570 PPPIOCSNPMODE = 1074295883, mips64le:ppc64le:2148037707 PPPIOCSPASS = 1074820167, 386:arm:1074295879, mips64le:ppc64le:2148561991 +PPPIOCUNBRIDGECHAN = 29748, mips64le:ppc64le:536900660 PPP_AT = 41 PPP_ATCP = 32809 PPP_CBCP = 49193 diff --git a/sys/linux/dev_rfkill.txt b/sys/linux/dev_rfkill.txt index dab3df781..0242e0b07 100644 --- a/sys/linux/dev_rfkill.txt +++ b/sys/linux/dev_rfkill.txt @@ -11,6 +11,7 @@ openat$rfkill(fd const[AT_FDCWD], file ptr[in, string["/dev/rfkill"]], flags fla write$rfkill(fd fd_rfkill, data ptr[in, rfkill_event], len bytesize[data]) read$rfkill(fd fd_rfkill, data ptr[out, rfkill_event], len bytesize[data]) ioctl$RFKILL_IOCTL_NOINPUT(fd fd_rfkill, cmd const[RFKILL_IOCTL_NOINPUT]) +ioctl$RFKILL_IOC_MAX_SIZE(fd fd_rfkill, cmd const[RFKILL_IOC_MAX_SIZE], arg ptr[in, int32]) rfkill_event { idx int32 diff --git a/sys/linux/dev_rfkill.txt.const b/sys/linux/dev_rfkill.txt.const index f3524bb6f..9fb78f3a4 100644 --- a/sys/linux/dev_rfkill.txt.const +++ b/sys/linux/dev_rfkill.txt.const @@ -3,6 +3,7 @@ arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x AT_FDCWD = ??? NUM_RFKILL_TYPES = 9 RFKILL_IOCTL_NOINPUT = 20993, mips64le:ppc64le:536891905 +RFKILL_IOC_MAX_SIZE = 2 RFKILL_OP_CHANGE_ALL = 3 __NR_ioctl = 54, amd64:16, arm64:riscv64:29, mips64le:5015 __NR_openat = 56, 386:295, amd64:257, arm:322, mips64le:5247, ppc64le:286, s390x:288 diff --git a/sys/linux/dev_sg.txt b/sys/linux/dev_sg.txt index 8953a1f11..80f442ed3 100644 --- a/sys/linux/dev_sg.txt +++ b/sys/linux/dev_sg.txt @@ -35,6 +35,12 @@ ioctl$SG_SET_DEBUG(fd fd_sg, cmd const[SG_SET_DEBUG], arg ptr[in, bool32]) ioctl$SG_SCSI_RESET(fd fd_sg, cmd const[SG_SCSI_RESET], arg const[0]) ioctl$SG_GET_REQUEST_TABLE(fd fd_sg, cmd const[SG_GET_REQUEST_TABLE], arg ptr[out, array[int8, SG_REQUEST_TABLE_SIZE]]) +ioctl$SG_BLKSECTGET(fd fd_sg, cmd const[BLKSECTGET], arg ptr[out, intptr]) +ioctl$SG_BLKTRACESETUP(fd fd_sg, cmd const[BLKTRACESETUP], arg ptr[in, blk_user_trace_setup]) +ioctl$SG_BLKTRACESTART(fd fd_sg, cmd const[BLKTRACESTART], arg const[0]) +ioctl$SG_BLKTRACESTOP(fd fd_sg, cmd const[BLKTRACESTOP], arg const[0]) +ioctl$SG_BLKTRACETEARDOWN(fd fd_sg, cmd const[BLKTRACETEARDOWN], arg const[0]) + ioctl$SCSI_IOCTL_SEND_COMMAND(fd fd_sg, cmd const[SCSI_IOCTL_SEND_COMMAND], arg ptr[in, scsi_ioctl_command]) ioctl$SCSI_IOCTL_TEST_UNIT_READY(fd fd_sg, cmd const[SCSI_IOCTL_TEST_UNIT_READY]) ioctl$SCSI_IOCTL_DOORLOCK(fd fd_sg, cmd const[SCSI_IOCTL_DOORLOCK]) diff --git a/sys/linux/dev_sg.txt.const b/sys/linux/dev_sg.txt.const index 919705eca..864d5cb9d 100644 --- a/sys/linux/dev_sg.txt.const +++ b/sys/linux/dev_sg.txt.const @@ -1,5 +1,10 @@ # Code generated by syz-sysgen. DO NOT EDIT. arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x +BLKSECTGET = 4711, mips64le:ppc64le:536875623 +BLKTRACESETUP = 3225948787, 386:3225424499 +BLKTRACESTART = 4724, mips64le:ppc64le:536875636 +BLKTRACESTOP = 4725, mips64le:ppc64le:536875637 +BLKTRACETEARDOWN = 4726, mips64le:ppc64le:536875638 SCSI_IOCTL_BENCHMARK_COMMAND = 3 SCSI_IOCTL_DOORLOCK = 21376 SCSI_IOCTL_DOORUNLOCK = 21377 diff --git a/sys/linux/dev_snd_control.txt b/sys/linux/dev_snd_control.txt index 47fc92ebf..ff3a561bd 100644 --- a/sys/linux/dev_snd_control.txt +++ b/sys/linux/dev_snd_control.txt @@ -70,7 +70,7 @@ snd_ctl_elem_info { names_ptr ptr64[in, array[string]] names_length bytesize[names_ptr, int32] pad1 array[const[0, int8], 44] - d array[int16, 4] + pad array[const[0, int8], 64] } [size[SND_CTL_ELEM_INFO_SIZE]] define SND_CTL_ELEM_INFO_SIZE sizeof(struct snd_ctl_elem_info) diff --git a/sys/linux/dev_snd_timer.txt b/sys/linux/dev_snd_timer.txt index a2c03df0e..c918671ac 100644 --- a/sys/linux/dev_snd_timer.txt +++ b/sys/linux/dev_snd_timer.txt @@ -20,8 +20,8 @@ ioctl$SNDRV_TIMER_IOCTL_GSTATUS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_GSTA ioctl$SNDRV_TIMER_IOCTL_SELECT(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_SELECT], arg ptr[in, snd_timer_select]) ioctl$SNDRV_TIMER_IOCTL_INFO(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_INFO], arg buffer[out]) ioctl$SNDRV_TIMER_IOCTL_PARAMS(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_PARAMS], arg ptr[in, snd_timer_params]) -ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, array[int8, SND_TIMER_STATUS32_SIZE]]) -ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, array[int8, SND_TIMER_STATUS64_SIZE]]) +ioctl$SNDRV_TIMER_IOCTL_STATUS32(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS32], arg ptr[out, snd_timer_status32]) +ioctl$SNDRV_TIMER_IOCTL_STATUS64(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STATUS64], arg ptr[out, snd_timer_status64]) ioctl$SNDRV_TIMER_IOCTL_START(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_START]) ioctl$SNDRV_TIMER_IOCTL_STOP(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_STOP]) ioctl$SNDRV_TIMER_IOCTL_CONTINUE(fd fd_sndtimer, cmd const[SNDRV_TIMER_IOCTL_CONTINUE]) @@ -79,6 +79,26 @@ snd_timer_params { pad2 array[const[0, int8], 60] } +snd_timer_status32 { + tstamp_sec int32 + tstamp_nsec int32 + resolution int32 + lost int32 + overrun int32 + queue int32 + pad2 array[const[0, int8], 64] +} + +snd_timer_status64 { + tstamp_sec int64 + tstamp_nsec int64 + resolution int32 + lost int32 + overrun int32 + queue int32 + pad2 array[const[0, int8], 64] +} + define SND_TIMER_STATUS32_SIZE 88 define SND_TIMER_STATUS64_SIZE 96 define SNDRV_TIMER_IOCTL_STATUS32 _IOR('T', 0x14, char[SND_TIMER_STATUS32_SIZE]) |
