History

Merge branch 'fix/intel' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-intel

Mark Brown committed 8 years ago

Commit 498495d2 parents d5cc0a1 5c2560423569 files · +612968 −281583Browse files

Showing the changes to include/uapi (749 of 23569 files). Show all

Unified · Split

749 files
  1. include/uapi/asm-generic/bitsperlong.h +1 −0
  2. include/uapi/asm-generic/errno-base.h +1 −0
  3. include/uapi/asm-generic/errno.h +1 −0
  4. include/uapi/asm-generic/fcntl.h +1 −0
  5. include/uapi/asm-generic/int-l64.h +1 −0
  6. include/uapi/asm-generic/int-ll64.h +1 −0
  7. include/uapi/asm-generic/ioctl.h +1 −0
  8. include/uapi/asm-generic/ioctls.h +1 −0
  9. include/uapi/asm-generic/ipcbuf.h +1 −0
  10. include/uapi/asm-generic/mman-common.h +2 −0
  11. include/uapi/asm-generic/mman.h +2 −0
  12. include/uapi/asm-generic/msgbuf.h +1 −0
  13. include/uapi/asm-generic/param.h +1 −0
  14. include/uapi/asm-generic/poll.h +1 −0
  15. include/uapi/asm-generic/posix_types.h +1 −0
  16. include/uapi/asm-generic/resource.h +1 −0
  17. include/uapi/asm-generic/sembuf.h +1 −0
  18. include/uapi/asm-generic/setup.h +1 −0
  19. include/uapi/asm-generic/shmbuf.h +1 −0
  20. include/uapi/asm-generic/shmparam.h +1 −0
  21. include/uapi/asm-generic/siginfo.h +1 −0
  22. include/uapi/asm-generic/signal-defs.h +1 −0
  23. include/uapi/asm-generic/signal.h +1 −0
  24. include/uapi/asm-generic/socket.h +1 −0
  25. include/uapi/asm-generic/sockios.h +1 −0
  26. include/uapi/asm-generic/stat.h +1 −0
  27. include/uapi/asm-generic/statfs.h +1 −0
  28. include/uapi/asm-generic/swab.h +1 −0
  29. include/uapi/asm-generic/termbits.h +1 −0
  30. include/uapi/asm-generic/termios.h +1 −0
  31. include/uapi/asm-generic/types.h +1 −0
  32. include/uapi/asm-generic/ucontext.h +1 −0
  33. include/uapi/asm-generic/unistd.h +1 −0
  34. include/uapi/drm/amdgpu_drm.h +49 −1
  35. include/uapi/drm/armada_drm.h +1 −0
  36. include/uapi/drm/drm.h +41 −0
  37. include/uapi/drm/drm_mode.h +68 −2
  38. include/uapi/drm/etnaviv_drm.h +43 −1
  39. include/uapi/drm/exynos_drm.h +1 −0
  40. include/uapi/drm/i810_drm.h +1 −0
  41. include/uapi/drm/i915_drm.h +28 −6
  42. include/uapi/drm/msm_drm.h +24 −0
  43. include/uapi/drm/omap_drm.h +1 −0
  44. include/uapi/drm/vc4_drm.h +19 −0
  45. include/uapi/linux/a.out.h +1 −0
  46. include/uapi/linux/acct.h +1 −0
  47. include/uapi/linux/adb.h +1 −0
  48. include/uapi/linux/adfs_fs.h +1 −0
  49. include/uapi/linux/affs_hardblocks.h +1 −0
  50. include/uapi/linux/am437x-vpfe.h +1 −0
  51. include/uapi/linux/android/binder.h +1 −0
  52. include/uapi/linux/apm_bios.h +1 −0
  53. include/uapi/linux/arcfb.h +1 −0
  54. include/uapi/linux/aspeed-lpc-ctrl.h +1 −0
  55. include/uapi/linux/atalk.h +1 −0
  56. include/uapi/linux/atm.h +1 −0
  57. include/uapi/linux/atm_eni.h +1 −0
  58. include/uapi/linux/atm_he.h +1 −0
  59. include/uapi/linux/atm_idt77105.h +1 −0
  60. include/uapi/linux/atm_nicstar.h +1 −0
  61. include/uapi/linux/atm_tcp.h +1 −0
  62. include/uapi/linux/atm_zatm.h +1 −0
  63. include/uapi/linux/atmapi.h +1 −0
  64. include/uapi/linux/atmarp.h +1 −0
  65. include/uapi/linux/atmbr2684.h +1 −0
  66. include/uapi/linux/atmclip.h +1 −0
  67. include/uapi/linux/atmdev.h +1 −0
  68. include/uapi/linux/atmioc.h +1 −0
  69. include/uapi/linux/atmlec.h +1 −0
  70. include/uapi/linux/atmmpc.h +1 −0
  71. include/uapi/linux/atmppp.h +1 −0
  72. include/uapi/linux/atmsap.h +1 −0
  73. include/uapi/linux/atmsvc.h +1 −0
  74. include/uapi/linux/audit.h +8 −2
  75. include/uapi/linux/auto_dev-ioctl.h +1 −0
  76. include/uapi/linux/auto_fs.h +1 −0
  77. include/uapi/linux/auto_fs4.h +1 −0
  78. include/uapi/linux/auxvec.h +1 −0
  79. include/uapi/linux/ax25.h +1 −0
  80. include/uapi/linux/b1lli.h +1 −0
  81. include/uapi/linux/batman_adv.h +290 −79
  82. include/uapi/linux/baycom.h +1 −0
  83. include/uapi/linux/bcache.h +1 −0
  84. include/uapi/linux/bcm933xx_hcs.h +1 −0
  85. include/uapi/linux/bfs_fs.h +1 −0
  86. include/uapi/linux/binfmts.h +1 −0
  87. include/uapi/linux/blkpg.h +1 −0
  88. include/uapi/linux/blktrace_api.h +1 −0
  89. include/uapi/linux/blkzoned.h +1 −0
  90. include/uapi/linux/bpf.h +149 −13
  91. include/uapi/linux/bpf_common.h +1 −0
  92. include/uapi/linux/bpf_perf_event.h +1 −0
  93. include/uapi/linux/bpqether.h +1 −0
  94. include/uapi/linux/bsg.h +1 −0
  95. include/uapi/linux/bt-bmc.h +1 −0
  96. include/uapi/linux/btrfs.h +8 −1
  97. include/uapi/linux/btrfs_tree.h +2 −0
  98. include/uapi/linux/byteorder/big_endian.h +1 −0
  99. include/uapi/linux/byteorder/little_endian.h +1 −0
  100. include/uapi/linux/caif/caif_socket.h +1 −0
  101. include/uapi/linux/caif/if_caif.h +1 −0
  102. include/uapi/linux/can.h +1 −0
  103. include/uapi/linux/can/bcm.h +1 −0
  104. include/uapi/linux/can/error.h +1 −0
  105. include/uapi/linux/can/gw.h +1 −0
  106. include/uapi/linux/can/netlink.h +1 −0
  107. include/uapi/linux/can/raw.h +1 −0
  108. include/uapi/linux/can/vxcan.h +1 −0
  109. include/uapi/linux/capability.h +1 −0
  110. include/uapi/linux/capi.h +1 −0
  111. include/uapi/linux/cciss_defs.h +1 −0
  112. include/uapi/linux/cciss_ioctl.h +1 −0
  113. include/uapi/linux/cdrom.h +1 −0
  114. include/uapi/linux/cec-funcs.h +1 −0
  115. include/uapi/linux/cec.h +3 −0
  116. include/uapi/linux/cgroupstats.h +1 −0
  117. include/uapi/linux/chio.h +1 −0
  118. include/uapi/linux/cifs/cifs_mount.h +1 −0
  119. include/uapi/linux/cm4000_cs.h +1 −0
  120. include/uapi/linux/cn_proc.h +1 −0
  121. include/uapi/linux/coda_psdev.h +1 −0
  122. include/uapi/linux/coff.h +1 −0
  123. include/uapi/linux/connector.h +1 −0
  124. include/uapi/linux/const.h +1 −0
  125. include/uapi/linux/coresight-stm.h +1 −0
  126. include/uapi/linux/cramfs_fs.h +26 −1
  127. include/uapi/linux/cryptouser.h +1 −0
  128. include/uapi/linux/cuda.h +1 −0
  129. include/uapi/linux/cyclades.h +1 −0
  130. include/uapi/linux/cycx_cfm.h +1 −0
  131. include/uapi/linux/dcbnl.h +2 −0
  132. include/uapi/linux/dccp.h +1 −0
  133. include/uapi/linux/devlink.h +1 −0
  134. include/uapi/linux/dlm.h +1 −0
  135. include/uapi/linux/dlm_device.h +1 −0
  136. include/uapi/linux/dlm_netlink.h +1 −0
  137. include/uapi/linux/dlm_plock.h +1 −0
  138. include/uapi/linux/dlmconstants.h +1 −0
  139. include/uapi/linux/dm-ioctl.h +3 −2
  140. include/uapi/linux/dm-log-userspace.h +1 −0
  141. include/uapi/linux/dma-buf.h +1 −0
  142. include/uapi/linux/dn.h +1 −0
  143. include/uapi/linux/dqblk_xfs.h +1 −0
  144. include/uapi/linux/dvb/audio.h +1 −0
  145. include/uapi/linux/dvb/ca.h +1 −0
  146. include/uapi/linux/dvb/dmx.h +1 −0
  147. include/uapi/linux/dvb/frontend.h +2 −1
  148. include/uapi/linux/dvb/net.h +1 −0
  149. include/uapi/linux/dvb/osd.h +1 −0
  150. include/uapi/linux/dvb/version.h +1 −0
  151. include/uapi/linux/dvb/video.h +1 −0
  152. include/uapi/linux/edd.h +1 −0
  153. include/uapi/linux/efs_fs_sb.h +1 −0
  154. include/uapi/linux/elf-em.h +1 −0
  155. include/uapi/linux/elf-fdpic.h +1 −0
  156. include/uapi/linux/elf.h +3 −0
  157. include/uapi/linux/elfcore.h +1 −0
  158. include/uapi/linux/errqueue.h +1 −0
  159. include/uapi/linux/ethtool.h +6 −1
  160. include/uapi/linux/eventpoll.h +1 −0
  161. include/uapi/linux/fadvise.h +1 −0
  162. include/uapi/linux/falloc.h +1 −0
  163. include/uapi/linux/fanotify.h +4 −0
  164. include/uapi/linux/fb.h +1 −0
  165. include/uapi/linux/fcntl.h +1 −0
  166. include/uapi/linux/fd.h +1 −0
  167. include/uapi/linux/fdreg.h +1 −0
  168. include/uapi/linux/fib_rules.h +1 −0
  169. include/uapi/linux/fiemap.h +1 −0
  170. include/uapi/linux/filter.h +1 −0
  171. include/uapi/linux/flat.h +1 −0
  172. include/uapi/linux/fou.h +1 −0
  173. include/uapi/linux/fs.h +1 −0
  174. include/uapi/linux/fsl_hypervisor.h +1 −0
  175. include/uapi/linux/fsmap.h +1 −0
  176. include/uapi/linux/fuse.h +1 −0
  177. include/uapi/linux/futex.h +1 −0
  178. include/uapi/linux/gameport.h +1 −0
  179. include/uapi/linux/gen_stats.h +1 −0
  180. include/uapi/linux/genetlink.h +1 −0
  181. include/uapi/linux/genwqe/genwqe_card.h +1 −0
  182. include/uapi/linux/gfs2_ondisk.h +1 −0
  183. include/uapi/linux/gigaset_dev.h +1 −0
  184. include/uapi/linux/gpio.h +1 −0
  185. include/uapi/linux/gsmmux.h +1 −0
  186. include/uapi/linux/gtp.h +1 −0
  187. include/uapi/linux/hash_info.h +1 −0
  188. include/uapi/linux/hdlc.h +1 −0
  189. include/uapi/linux/hdlc/ioctl.h +1 −0
  190. include/uapi/linux/hdlcdrv.h +1 −0
  191. include/uapi/linux/hdreg.h +1 −0
  192. include/uapi/linux/hid.h +1 −0
  193. include/uapi/linux/hiddev.h +1 −0
  194. include/uapi/linux/hidraw.h +1 −0
  195. include/uapi/linux/hpet.h +1 −0
  196. include/uapi/linux/hsi/cs-protocol.h +1 −0
  197. include/uapi/linux/hsi/hsi_char.h +1 −0
  198. include/uapi/linux/hsr_netlink.h +1 −0
  199. include/uapi/linux/hw_breakpoint.h +1 −0
  200. include/uapi/linux/hyperv.h +1 −0
  201. include/uapi/linux/hysdn_if.h +1 −0
  202. include/uapi/linux/i2c-dev.h +1 −0
  203. include/uapi/linux/i2c.h +1 −0
  204. include/uapi/linux/i2o-dev.h +1 −0
  205. include/uapi/linux/i8k.h +1 −0
  206. include/uapi/linux/icmp.h +1 −0
  207. include/uapi/linux/icmpv6.h +1 −0
  208. include/uapi/linux/if.h +1 −0
  209. include/uapi/linux/if_addr.h +1 −0
  210. include/uapi/linux/if_addrlabel.h +1 −0
  211. include/uapi/linux/if_alg.h +1 −0
  212. include/uapi/linux/if_arcnet.h +1 −0
  213. include/uapi/linux/if_arp.h +1 −0
  214. include/uapi/linux/if_bonding.h +1 −0
  215. include/uapi/linux/if_bridge.h +1 −0
  216. include/uapi/linux/if_cablemodem.h +1 −0
  217. include/uapi/linux/if_eql.h +1 −0
  218. include/uapi/linux/if_ether.h +1 −0
  219. include/uapi/linux/if_fc.h +1 −0
  220. include/uapi/linux/if_fddi.h +1 −0
  221. include/uapi/linux/if_frad.h +1 −0
  222. include/uapi/linux/if_hippi.h +1 −0
  223. include/uapi/linux/if_infiniband.h +1 −0
  224. include/uapi/linux/if_link.h +9 −0
  225. include/uapi/linux/if_ltalk.h +1 −0
  226. include/uapi/linux/if_macsec.h +1 −0
  227. include/uapi/linux/if_packet.h +1 −0
  228. include/uapi/linux/if_phonet.h +1 −0
  229. include/uapi/linux/if_plip.h +1 −0
  230. include/uapi/linux/if_pppol2tp.h +1 −0
  231. include/uapi/linux/if_pppox.h +1 −0
  232. include/uapi/linux/if_slip.h +1 −0
  233. include/uapi/linux/if_team.h +1 −0
  234. include/uapi/linux/if_tun.h +3 −0
  235. include/uapi/linux/if_tunnel.h +2 −0
  236. include/uapi/linux/if_vlan.h +1 −0
  237. include/uapi/linux/if_x25.h +1 −0
  238. include/uapi/linux/ife.h +1 −0
  239. include/uapi/linux/igmp.h +1 −0
  240. include/uapi/linux/iio/events.h +1 −0
  241. include/uapi/linux/iio/types.h +1 −0
  242. include/uapi/linux/ila.h +22 −0
  243. include/uapi/linux/in.h +1 −0
  244. include/uapi/linux/in6.h +2 −0
  245. include/uapi/linux/in_route.h +1 −0
  246. include/uapi/linux/inet_diag.h +1 −0
  247. include/uapi/linux/inotify.h +1 −0
  248. include/uapi/linux/input-event-codes.h +2 −0
  249. include/uapi/linux/input.h +1 −0
  250. include/uapi/linux/ioctl.h +1 −0
  251. include/uapi/linux/ip.h +1 −0
  252. include/uapi/linux/ip6_tunnel.h +3 −0
  253. include/uapi/linux/ip_vs.h +1 −0
  254. include/uapi/linux/ipc.h +1 −0
  255. include/uapi/linux/ipmi.h +1 −0
  256. include/uapi/linux/ipmi_msgdefs.h +1 −0
  257. include/uapi/linux/ipsec.h +1 −0
  258. include/uapi/linux/ipv6.h +2 −0
  259. include/uapi/linux/ipv6_route.h +2 −1
  260. include/uapi/linux/ipx.h +1 −0
  261. include/uapi/linux/irda.h +1 −0
  262. include/uapi/linux/isdn.h +1 −0
  263. include/uapi/linux/isdn/capicmd.h +1 −0
  264. include/uapi/linux/isdn_divertif.h +1 −0
  265. include/uapi/linux/isdn_ppp.h +1 −0
  266. include/uapi/linux/isdnif.h +1 −0
  267. include/uapi/linux/iso_fs.h +82 −81
  268. include/uapi/linux/ivtv.h +1 −0
  269. include/uapi/linux/ivtvfb.h +1 −0
  270. include/uapi/linux/ixjuser.h +1 −0
  271. include/uapi/linux/joystick.h +1 −0
  272. include/uapi/linux/kcm.h +1 −0
  273. include/uapi/linux/kcmp.h +1 −0
  274. include/uapi/linux/kcov.h +25 −0
  275. include/uapi/linux/kd.h +1 −0
  276. include/uapi/linux/kdev_t.h +1 −0
  277. include/uapi/linux/kernel-page-flags.h +1 −0
  278. include/uapi/linux/kernel.h +1 −0
  279. include/uapi/linux/kernelcapi.h +1 −0
  280. include/uapi/linux/kexec.h +1 −0
  281. include/uapi/linux/keyboard.h +1 −0
  282. include/uapi/linux/keyctl.h +1 −0
  283. include/uapi/linux/kfd_ioctl.h +87 −87
  284. include/uapi/linux/kvm.h +2 −0
  285. include/uapi/linux/kvm_para.h +1 −0
  286. include/uapi/linux/l2tp.h +1 −0
  287. include/uapi/linux/libc-compat.h +1 −0
  288. include/uapi/linux/lightnvm.h +1 −0
  289. include/uapi/linux/limits.h +1 −0
  290. include/uapi/linux/lirc.h +1 −0
  291. include/uapi/linux/llc.h +1 −0
  292. include/uapi/linux/loop.h +1 −0
  293. include/uapi/linux/lp.h +1 −0
  294. include/uapi/linux/lwtunnel.h +1 −0
  295. include/uapi/linux/magic.h +2 −0
  296. include/uapi/linux/major.h +1 −0
  297. include/uapi/linux/map_to_7segment.h +1 −0
  298. include/uapi/linux/matroxfb.h +1 −0
  299. include/uapi/linux/max2175.h +1 −0
  300. include/uapi/linux/mdio.h +1 −0
  301. include/uapi/linux/media-bus-format.h +1 −0
  302. include/uapi/linux/media.h +1 −0
  303. include/uapi/linux/mei.h +1 −0
  304. include/uapi/linux/membarrier.h +16 −7
  305. include/uapi/linux/memfd.h +1 −0
  306. include/uapi/linux/mempolicy.h +1 −0
  307. include/uapi/linux/meye.h +1 −0
  308. include/uapi/linux/mic_common.h +1 −0
  309. include/uapi/linux/mic_ioctl.h +1 −0
  310. include/uapi/linux/mii.h +1 −0
  311. include/uapi/linux/minix_fs.h +1 −0
  312. include/uapi/linux/mman.h +1 −0
  313. include/uapi/linux/mmc/ioctl.h +1 −0
  314. include/uapi/linux/mmtimer.h +1 −0
  315. include/uapi/linux/module.h +1 −0
  316. include/uapi/linux/mpls.h +1 −0
  317. include/uapi/linux/mpls_iptunnel.h +1 −0
  318. include/uapi/linux/mqueue.h +1 −0
  319. include/uapi/linux/mroute.h +1 −0
  320. include/uapi/linux/mroute6.h +1 −0
  321. include/uapi/linux/msdos_fs.h +1 −0
  322. include/uapi/linux/msg.h +1 −0
  323. include/uapi/linux/mtio.h +1 −0
  324. include/uapi/linux/n_r3964.h +1 −0
  325. include/uapi/linux/nbd-netlink.h +1 −0
  326. include/uapi/linux/nbd.h +1 −0
  327. include/uapi/linux/ncp.h +1 −0
  328. include/uapi/linux/ncp_fs.h +1 −0
  329. include/uapi/linux/ncp_mount.h +1 −0
  330. include/uapi/linux/ncp_no.h +1 −0
  331. include/uapi/linux/neighbour.h +1 −0
  332. include/uapi/linux/net.h +1 −0
  333. include/uapi/linux/net_dropmon.h +1 −0
  334. include/uapi/linux/net_namespace.h +1 −0
  335. include/uapi/linux/net_tstamp.h +1 −0
  336. include/uapi/linux/netconf.h +1 −0
  337. include/uapi/linux/netdevice.h +1 −0
  338. include/uapi/linux/netfilter.h +1 −0
  339. include/uapi/linux/netfilter/ipset/ip_set.h +1 −0
  340. include/uapi/linux/netfilter/ipset/ip_set_bitmap.h +1 −0
  341. include/uapi/linux/netfilter/ipset/ip_set_hash.h +1 −0
  342. include/uapi/linux/netfilter/ipset/ip_set_list.h +1 −0
  343. include/uapi/linux/netfilter/nf_conntrack_common.h +1 −0
  344. include/uapi/linux/netfilter/nf_conntrack_ftp.h +1 −0
  345. include/uapi/linux/netfilter/nf_conntrack_sctp.h +1 −0
  346. include/uapi/linux/netfilter/nf_conntrack_tcp.h +1 −0
  347. include/uapi/linux/netfilter/nf_conntrack_tuple_common.h +1 −0
  348. include/uapi/linux/netfilter/nf_log.h +1 −0
  349. include/uapi/linux/netfilter/nf_nat.h +1 −0
  350. include/uapi/linux/netfilter/nf_tables.h +1 −0
  351. include/uapi/linux/netfilter/nf_tables_compat.h +1 −0
  352. include/uapi/linux/netfilter/nfnetlink.h +1 −0
  353. include/uapi/linux/netfilter/nfnetlink_acct.h +1 −0
  354. include/uapi/linux/netfilter/nfnetlink_compat.h +1 −0
  355. include/uapi/linux/netfilter/nfnetlink_conntrack.h +1 −0
  356. include/uapi/linux/netfilter/nfnetlink_cthelper.h +1 −0
  357. include/uapi/linux/netfilter/nfnetlink_cttimeout.h +1 −0
  358. include/uapi/linux/netfilter/nfnetlink_log.h +1 −0
  359. include/uapi/linux/netfilter/nfnetlink_queue.h +1 −0
  360. include/uapi/linux/netfilter/x_tables.h +1 −0
  361. include/uapi/linux/netfilter/xt_AUDIT.h +1 −0
  362. include/uapi/linux/netfilter/xt_CHECKSUM.h +1 −0
  363. include/uapi/linux/netfilter/xt_CLASSIFY.h +1 −0
  364. include/uapi/linux/netfilter/xt_CONNMARK.h +1 −0
  365. include/uapi/linux/netfilter/xt_CONNSECMARK.h +1 −0
  366. include/uapi/linux/netfilter/xt_CT.h +1 −0
  367. include/uapi/linux/netfilter/xt_DSCP.h +1 −0
  368. include/uapi/linux/netfilter/xt_HMARK.h +1 −0
  369. include/uapi/linux/netfilter/xt_IDLETIMER.h +1 −0
  370. include/uapi/linux/netfilter/xt_LED.h +1 −0
  371. include/uapi/linux/netfilter/xt_LOG.h +1 −0
  372. include/uapi/linux/netfilter/xt_MARK.h +1 −0
  373. include/uapi/linux/netfilter/xt_NFLOG.h +1 −0
  374. include/uapi/linux/netfilter/xt_NFQUEUE.h +1 −0
  375. include/uapi/linux/netfilter/xt_RATEEST.h +1 −0
  376. include/uapi/linux/netfilter/xt_SECMARK.h +1 −0
  377. include/uapi/linux/netfilter/xt_SYNPROXY.h +1 −0
  378. include/uapi/linux/netfilter/xt_TCPMSS.h +1 −0
  379. include/uapi/linux/netfilter/xt_TCPOPTSTRIP.h +1 −0
  380. include/uapi/linux/netfilter/xt_TEE.h +1 −0
  381. include/uapi/linux/netfilter/xt_TPROXY.h +1 −0
  382. include/uapi/linux/netfilter/xt_addrtype.h +1 −0
  383. include/uapi/linux/netfilter/xt_bpf.h +2 −0
  384. include/uapi/linux/netfilter/xt_cgroup.h +1 −0
  385. include/uapi/linux/netfilter/xt_cluster.h +1 −0
  386. include/uapi/linux/netfilter/xt_comment.h +1 −0
  387. include/uapi/linux/netfilter/xt_connbytes.h +1 −0
  388. include/uapi/linux/netfilter/xt_connlabel.h +1 −0
  389. include/uapi/linux/netfilter/xt_connlimit.h +1 −0
  390. include/uapi/linux/netfilter/xt_connmark.h +1 −0
  391. include/uapi/linux/netfilter/xt_conntrack.h +1 −0
  392. include/uapi/linux/netfilter/xt_cpu.h +1 −0
  393. include/uapi/linux/netfilter/xt_dccp.h +1 −0
  394. include/uapi/linux/netfilter/xt_devgroup.h +1 −0
  395. include/uapi/linux/netfilter/xt_dscp.h +1 −0
  396. include/uapi/linux/netfilter/xt_ecn.h +1 −0
  397. include/uapi/linux/netfilter/xt_esp.h +1 −0
  398. include/uapi/linux/netfilter/xt_hashlimit.h +1 −0
  399. include/uapi/linux/netfilter/xt_helper.h +1 −0
  400. include/uapi/linux/netfilter/xt_ipcomp.h +1 −0
  401. include/uapi/linux/netfilter/xt_iprange.h +1 −0
  402. include/uapi/linux/netfilter/xt_ipvs.h +1 −0
  403. include/uapi/linux/netfilter/xt_l2tp.h +1 −0
  404. include/uapi/linux/netfilter/xt_length.h +1 −0
  405. include/uapi/linux/netfilter/xt_limit.h +1 −0
  406. include/uapi/linux/netfilter/xt_mac.h +1 −0
  407. include/uapi/linux/netfilter/xt_mark.h +1 −0
  408. include/uapi/linux/netfilter/xt_multiport.h +1 −0
  409. include/uapi/linux/netfilter/xt_nfacct.h +1 −0
  410. include/uapi/linux/netfilter/xt_osf.h +1 −0
  411. include/uapi/linux/netfilter/xt_owner.h +1 −0
  412. include/uapi/linux/netfilter/xt_physdev.h +1 −0
  413. include/uapi/linux/netfilter/xt_pkttype.h +1 −0
  414. include/uapi/linux/netfilter/xt_policy.h +1 −0
  415. include/uapi/linux/netfilter/xt_quota.h +1 −0
  416. include/uapi/linux/netfilter/xt_rateest.h +1 −0
  417. include/uapi/linux/netfilter/xt_realm.h +1 −0
  418. include/uapi/linux/netfilter/xt_recent.h +1 −0
  419. include/uapi/linux/netfilter/xt_rpfilter.h +1 −0
  420. include/uapi/linux/netfilter/xt_sctp.h +1 −0
  421. include/uapi/linux/netfilter/xt_set.h +1 −0
  422. include/uapi/linux/netfilter/xt_socket.h +1 −0
  423. include/uapi/linux/netfilter/xt_state.h +1 −0
  424. include/uapi/linux/netfilter/xt_statistic.h +1 −0
  425. include/uapi/linux/netfilter/xt_string.h +1 −0
  426. include/uapi/linux/netfilter/xt_tcpmss.h +1 −0
  427. include/uapi/linux/netfilter/xt_tcpudp.h +1 −0
  428. include/uapi/linux/netfilter/xt_time.h +1 −0
  429. include/uapi/linux/netfilter/xt_u32.h +1 −0
  430. include/uapi/linux/netfilter_arp.h +1 −0
  431. include/uapi/linux/netfilter_arp/arp_tables.h +1 −0
  432. include/uapi/linux/netfilter_arp/arpt_mangle.h +1 −0
  433. include/uapi/linux/netfilter_bridge.h +1 −0
  434. include/uapi/linux/netfilter_bridge/ebt_802_3.h +1 −0
  435. include/uapi/linux/netfilter_bridge/ebt_among.h +1 −0
  436. include/uapi/linux/netfilter_bridge/ebt_arp.h +1 −0
  437. include/uapi/linux/netfilter_bridge/ebt_arpreply.h +1 −0
  438. include/uapi/linux/netfilter_bridge/ebt_ip.h +1 −0
  439. include/uapi/linux/netfilter_bridge/ebt_ip6.h +1 −0
  440. include/uapi/linux/netfilter_bridge/ebt_limit.h +1 −0
  441. include/uapi/linux/netfilter_bridge/ebt_log.h +1 −0
  442. include/uapi/linux/netfilter_bridge/ebt_mark_m.h +1 −0
  443. include/uapi/linux/netfilter_bridge/ebt_mark_t.h +1 −0
  444. include/uapi/linux/netfilter_bridge/ebt_nat.h +1 −0
  445. include/uapi/linux/netfilter_bridge/ebt_nflog.h +1 −0
  446. include/uapi/linux/netfilter_bridge/ebt_pkttype.h +1 −0
  447. include/uapi/linux/netfilter_bridge/ebt_redirect.h +1 −0
  448. include/uapi/linux/netfilter_bridge/ebt_stp.h +1 −0
  449. include/uapi/linux/netfilter_bridge/ebt_vlan.h +1 −0
  450. include/uapi/linux/netfilter_bridge/ebtables.h +1 −0
  451. include/uapi/linux/netfilter_decnet.h +1 −0
  452. include/uapi/linux/netfilter_ipv4.h +1 −0
  453. include/uapi/linux/netfilter_ipv4/ip_tables.h +1 −0
  454. include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h +1 −0
  455. include/uapi/linux/netfilter_ipv4/ipt_ECN.h +1 −0
  456. include/uapi/linux/netfilter_ipv4/ipt_LOG.h +1 −0
  457. include/uapi/linux/netfilter_ipv4/ipt_REJECT.h +1 −0
  458. include/uapi/linux/netfilter_ipv4/ipt_TTL.h +1 −0
  459. include/uapi/linux/netfilter_ipv4/ipt_ah.h +1 −0
  460. include/uapi/linux/netfilter_ipv4/ipt_ecn.h +1 −0
  461. include/uapi/linux/netfilter_ipv4/ipt_ttl.h +1 −0
  462. include/uapi/linux/netfilter_ipv6.h +1 −0
  463. include/uapi/linux/netfilter_ipv6/ip6_tables.h +1 −0
  464. include/uapi/linux/netfilter_ipv6/ip6t_HL.h +1 −0
  465. include/uapi/linux/netfilter_ipv6/ip6t_LOG.h +1 −0
  466. include/uapi/linux/netfilter_ipv6/ip6t_NPT.h +1 −0
  467. include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h +1 −0
  468. include/uapi/linux/netfilter_ipv6/ip6t_ah.h +1 −0
  469. include/uapi/linux/netfilter_ipv6/ip6t_frag.h +1 −0
  470. include/uapi/linux/netfilter_ipv6/ip6t_hl.h +1 −0
  471. include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h +1 −0
  472. include/uapi/linux/netfilter_ipv6/ip6t_mh.h +1 −0
  473. include/uapi/linux/netfilter_ipv6/ip6t_opts.h +1 −0
  474. include/uapi/linux/netfilter_ipv6/ip6t_rt.h +1 −0
  475. include/uapi/linux/netlink.h +1 −0
  476. include/uapi/linux/netlink_diag.h +1 −0
  477. include/uapi/linux/netrom.h +1 −0
  478. include/uapi/linux/nfc.h +2 −0
  479. include/uapi/linux/nfs.h +1 −0
  480. include/uapi/linux/nfs2.h +1 −0
  481. include/uapi/linux/nfs3.h +1 −0
  482. include/uapi/linux/nfs4.h +1 −0
  483. include/uapi/linux/nfs4_mount.h +1 −0
  484. include/uapi/linux/nfs_fs.h +1 −0
  485. include/uapi/linux/nfs_mount.h +1 −0
  486. include/uapi/linux/nfsacl.h +1 −0
  487. include/uapi/linux/nfsd/cld.h +1 −0
  488. include/uapi/linux/nfsd/debug.h +1 −0
  489. include/uapi/linux/nfsd/export.h +1 −0
  490. include/uapi/linux/nfsd/nfsfh.h +1 −0
  491. include/uapi/linux/nfsd/stats.h +1 −0
  492. include/uapi/linux/nilfs2_api.h +1 −0
  493. include/uapi/linux/nilfs2_ondisk.h +1 −0
  494. include/uapi/linux/nl80211.h +65 −17
  495. include/uapi/linux/nsfs.h +1 −0
  496. include/uapi/linux/nubus.h +1 −0
  497. include/uapi/linux/nvme_ioctl.h +1 −0
  498. include/uapi/linux/nvram.h +1 −0
  499. include/uapi/linux/omap3isp.h +1 −0
  500. include/uapi/linux/omapfb.h +1 −0
  501. include/uapi/linux/oom.h +1 −0
  502. include/uapi/linux/openvswitch.h +89 −0
  503. include/uapi/linux/packet_diag.h +1 −0
  504. include/uapi/linux/param.h +1 −0
  505. include/uapi/linux/patchkey.h +1 −0
  506. include/uapi/linux/pci.h +1 −0
  507. include/uapi/linux/pci_regs.h +29 −16
  508. include/uapi/linux/pcitest.h +1 −0
  509. include/uapi/linux/perf_event.h +2 −0
  510. include/uapi/linux/personality.h +1 −0
  511. include/uapi/linux/pfkeyv2.h +1 −0
  512. include/uapi/linux/pg.h +1 −0
  513. include/uapi/linux/phantom.h +1 −0
  514. include/uapi/linux/phonet.h +1 −0
  515. include/uapi/linux/pkt_cls.h +1 −0
  516. include/uapi/linux/pkt_sched.h +64 −0
  517. include/uapi/linux/pktcdvd.h +1 −0
  518. include/uapi/linux/pmu.h +1 −0
  519. include/uapi/linux/posix_acl.h +1 −0
  520. include/uapi/linux/posix_acl_xattr.h +1 −0
  521. include/uapi/linux/posix_types.h +1 −0
  522. include/uapi/linux/ppdev.h +1 −0
  523. include/uapi/linux/ppp-comp.h +1 −0
  524. include/uapi/linux/ppp-ioctl.h +1 −0
  525. include/uapi/linux/ppp_defs.h +1 −0
  526. include/uapi/linux/pps.h +1 −0
  527. include/uapi/linux/pr.h +1 −0
  528. include/uapi/linux/prctl.h +10 −0
  529. include/uapi/linux/psample.h +1 −0
  530. include/uapi/linux/psci.h +1 −0
  531. include/uapi/linux/ptp_clock.h +1 −0
  532. include/uapi/linux/ptrace.h +1 −0
  533. include/uapi/linux/qnx4_fs.h +1 −0
  534. include/uapi/linux/qnxtypes.h +1 −0
  535. include/uapi/linux/qrtr.h +36 −0
  536. include/uapi/linux/radeonfb.h +1 −0
  537. include/uapi/linux/raid/md_p.h +1 −0
  538. include/uapi/linux/raid/md_u.h +1 −0
  539. include/uapi/linux/random.h +1 −0
  540. include/uapi/linux/raw.h +1 −0
  541. include/uapi/linux/rds.h +1 −0
  542. include/uapi/linux/reboot.h +1 −0
  543. include/uapi/linux/reiserfs_fs.h +1 −0
  544. include/uapi/linux/reiserfs_xattr.h +1 −0
  545. include/uapi/linux/resource.h +1 −0
  546. include/uapi/linux/rio_cm_cdev.h +1 −0
  547. include/uapi/linux/rio_mport_cdev.h +1 −0
  548. include/uapi/linux/romfs_fs.h +1 −0
  549. include/uapi/linux/rose.h +1 −0
  550. include/uapi/linux/route.h +1 −0
  551. include/uapi/linux/rpmsg.h +1 −0
  552. include/uapi/linux/rtc.h +1 −0
  553. include/uapi/linux/rtnetlink.h +3 −0
  554. include/uapi/linux/rxrpc.h +5 −5
  555. include/uapi/linux/scc.h +1 −0
  556. include/uapi/linux/sched.h +1 −0
  557. include/uapi/linux/sched/types.h +1 −0
  558. include/uapi/linux/scif_ioctl.h +1 −0
  559. include/uapi/linux/screen_info.h +1 −0
  560. include/uapi/linux/sctp.h +18 −1
  561. include/uapi/linux/sdla.h +1 −0
  562. include/uapi/linux/seccomp.h +16 −8
  563. include/uapi/linux/securebits.h +1 −0
  564. include/uapi/linux/sed-opal.h +1 −0
  565. include/uapi/linux/seg6.h +3 −2
  566. include/uapi/linux/seg6_genl.h +1 −0
  567. include/uapi/linux/seg6_hmac.h +1 −0
  568. include/uapi/linux/seg6_iptunnel.h +1 −0
  569. include/uapi/linux/selinux_netlink.h +1 −0
  570. include/uapi/linux/sem.h +1 −0
  571. include/uapi/linux/serial.h +1 −0
  572. include/uapi/linux/serial_core.h +1 −0
  573. include/uapi/linux/serial_reg.h +2 −0
  574. include/uapi/linux/serio.h +1 −0
  575. include/uapi/linux/shm.h +1 −0
  576. include/uapi/linux/signal.h +1 −0
  577. include/uapi/linux/signalfd.h +1 −0
  578. include/uapi/linux/smc.h +1 −0
  579. include/uapi/linux/smc_diag.h +1 −0
  580. include/uapi/linux/smiapp.h +1 −0
  581. include/uapi/linux/snmp.h +1 −1
  582. include/uapi/linux/sock_diag.h +1 −0
  583. include/uapi/linux/socket.h +1 −0
  584. include/uapi/linux/sockios.h +1 −0
  585. include/uapi/linux/sonet.h +1 −0
  586. include/uapi/linux/sonypi.h +1 −0
  587. include/uapi/linux/sound.h +1 −0
  588. include/uapi/linux/spi/spidev.h +2 −0
  589. include/uapi/linux/stat.h +1 −0
  590. include/uapi/linux/stddef.h +2 −1
  591. include/uapi/linux/stm.h +1 −0
  592. include/uapi/linux/string.h +1 −0
  593. include/uapi/linux/sunrpc/debug.h +1 −0
  594. include/uapi/linux/suspend_ioctls.h +1 −0
  595. include/uapi/linux/swab.h +1 −0
  596. include/uapi/linux/switchtec_ioctl.h +1 −0
  597. include/uapi/linux/sync_file.h +1 −0
  598. include/uapi/linux/synclink.h +1 −0
  599. include/uapi/linux/sysctl.h +1 −0
  600. include/uapi/linux/sysinfo.h +1 −0
  601. include/uapi/linux/target_core_user.h +1 −0
  602. include/uapi/linux/taskstats.h +1 −0
  603. include/uapi/linux/tc_act/tc_bpf.h +1 −0
  604. include/uapi/linux/tc_act/tc_connmark.h +1 −0
  605. include/uapi/linux/tc_act/tc_csum.h +1 −0
  606. include/uapi/linux/tc_act/tc_defact.h +1 −0
  607. include/uapi/linux/tc_act/tc_gact.h +1 −0
  608. include/uapi/linux/tc_act/tc_ife.h +1 −0
  609. include/uapi/linux/tc_act/tc_ipt.h +1 −0
  610. include/uapi/linux/tc_act/tc_mirred.h +4 −3
  611. include/uapi/linux/tc_act/tc_nat.h +1 −0
  612. include/uapi/linux/tc_act/tc_pedit.h +1 −0
  613. include/uapi/linux/tc_act/tc_sample.h +1 −0
  614. include/uapi/linux/tc_act/tc_skbedit.h +1 −0
  615. include/uapi/linux/tc_act/tc_skbmod.h +1 −0
  616. include/uapi/linux/tc_act/tc_tunnel_key.h +1 −0
  617. include/uapi/linux/tc_act/tc_vlan.h +1 −0
  618. include/uapi/linux/tc_ematch/tc_em_cmp.h +1 −0
  619. include/uapi/linux/tc_ematch/tc_em_meta.h +1 −0
  620. include/uapi/linux/tc_ematch/tc_em_nbyte.h +1 −0
  621. include/uapi/linux/tc_ematch/tc_em_text.h +1 −0
  622. include/uapi/linux/tcp.h +3 −0
  623. include/uapi/linux/tcp_metrics.h +1 −0
  624. include/uapi/linux/telephony.h +1 −0
  625. include/uapi/linux/termios.h +1 −0
  626. include/uapi/linux/thermal.h +1 −0
  627. include/uapi/linux/time.h +1 −0
  628. include/uapi/linux/timerfd.h +1 −0
  629. include/uapi/linux/times.h +1 −0
  630. include/uapi/linux/tiocl.h +1 −0
  631. include/uapi/linux/tipc.h +16 −0
  632. include/uapi/linux/tipc_config.h +1 −0
  633. include/uapi/linux/tipc_netlink.h +1 −0
  634. include/uapi/linux/tls.h +1 −4
  635. include/uapi/linux/toshiba.h +1 −0
  636. include/uapi/linux/tty.h +1 −0
  637. include/uapi/linux/tty_flags.h +1 −0
  638. include/uapi/linux/types.h +1 −0
  639. include/uapi/linux/udf_fs_i.h +1 −0
  640. include/uapi/linux/udp.h +1 −0
  641. include/uapi/linux/uhid.h +1 −0
  642. include/uapi/linux/uinput.h +1 −0
  643. include/uapi/linux/uio.h +1 −0
  644. include/uapi/linux/uleds.h +1 −0
  645. include/uapi/linux/ultrasound.h +1 −0
  646. include/uapi/linux/un.h +1 −0
  647. include/uapi/linux/unistd.h +1 −0
  648. include/uapi/linux/unix_diag.h +1 −0
  649. include/uapi/linux/usb/audio.h +1 −0
  650. include/uapi/linux/usb/cdc-wdm.h +1 −0
  651. include/uapi/linux/usb/cdc.h +1 −0
  652. include/uapi/linux/usb/ch11.h +1 −0
  653. include/uapi/linux/usb/ch9.h +6 −0
  654. include/uapi/linux/usb/functionfs.h +1 −0
  655. include/uapi/linux/usb/g_printer.h +1 −0
  656. include/uapi/linux/usb/gadgetfs.h +1 −0
  657. include/uapi/linux/usb/midi.h +1 −0
  658. include/uapi/linux/usb/tmc.h +1 −0
  659. include/uapi/linux/usb/video.h +1 −0
  660. include/uapi/linux/usbdevice_fs.h +1 −0
  661. include/uapi/linux/usbip.h +1 −0
  662. include/uapi/linux/userfaultfd.h +1 −0
  663. include/uapi/linux/userio.h +1 −0
  664. include/uapi/linux/utime.h +1 −0
  665. include/uapi/linux/utsname.h +1 −0
  666. include/uapi/linux/uuid.h +1 −0
  667. include/uapi/linux/uvcvideo.h +1 −0
  668. include/uapi/linux/v4l2-common.h +1 −0
  669. include/uapi/linux/v4l2-controls.h +1 −0
  670. include/uapi/linux/v4l2-dv-timings.h +1 −0
  671. include/uapi/linux/v4l2-mediabus.h +1 −0
  672. include/uapi/linux/v4l2-subdev.h +1 −0
  673. include/uapi/linux/veth.h +1 −0
  674. include/uapi/linux/vfio.h +1 −0
  675. include/uapi/linux/vfio_ccw.h +1 −0
  676. include/uapi/linux/vhost.h +1 −0
  677. include/uapi/linux/videodev2.h +1 −0
  678. include/uapi/linux/vm_sockets.h +1 −0
  679. include/uapi/linux/vm_sockets_diag.h +33 −0
  680. include/uapi/linux/vsockmon.h +1 −0
  681. include/uapi/linux/vt.h +1 −0
  682. include/uapi/linux/vtpm_proxy.h +1 −0
  683. include/uapi/linux/wait.h +1 −0
  684. include/uapi/linux/wanrouter.h +1 −0
  685. include/uapi/linux/watchdog.h +1 −0
  686. include/uapi/linux/wireless.h +1 −0
  687. include/uapi/linux/wmi.h +73 −0
  688. include/uapi/linux/x25.h +1 −0
  689. include/uapi/linux/xattr.h +4 −0
  690. include/uapi/linux/xfrm.h +1 −0
  691. include/uapi/linux/xilinx-v4l2-controls.h +1 −0
  692. include/uapi/linux/zorro.h +1 −0
  693. include/uapi/linux/zorro_ids.h +1 −0
  694. include/uapi/misc/cxl.h +1 −0
  695. include/uapi/mtd/inftl-user.h +1 −0
  696. include/uapi/mtd/mtd-abi.h +1 −0
  697. include/uapi/mtd/mtd-user.h +1 −0
  698. include/uapi/mtd/nftl-user.h +1 −0
  699. include/uapi/mtd/ubi-user.h +1 −0
  700. include/uapi/rdma/bnxt_re-abi.h +1 −0
  701. include/uapi/rdma/cxgb3-abi.h +1 −0
  702. include/uapi/rdma/cxgb4-abi.h +1 −0
  703. include/uapi/rdma/hfi/hfi1_ioctl.h +1 −0
  704. include/uapi/rdma/hfi/hfi1_user.h +1 −0
  705. include/uapi/rdma/hns-abi.h +1 −0
  706. include/uapi/rdma/ib_user_cm.h +1 −0
  707. include/uapi/rdma/ib_user_mad.h +1 −0
  708. include/uapi/rdma/ib_user_sa.h +1 −0
  709. include/uapi/rdma/ib_user_verbs.h +23 −2
  710. include/uapi/rdma/mlx4-abi.h +1 −0
  711. include/uapi/rdma/mlx5-abi.h +48 −5
  712. include/uapi/rdma/mthca-abi.h +1 −0
  713. include/uapi/rdma/nes-abi.h +1 −0
  714. include/uapi/rdma/ocrdma-abi.h +1 −0
  715. include/uapi/rdma/qedr-abi.h +1 −0
  716. include/uapi/rdma/rdma_netlink.h +1 −0
  717. include/uapi/rdma/rdma_user_cm.h +1 −0
  718. include/uapi/rdma/rdma_user_ioctl.h +1 −0
  719. include/uapi/rdma/rdma_user_rxe.h +1 −0
  720. include/uapi/rdma/vmw_pvrdma-abi.h +3 −0
  721. include/uapi/scsi/cxlflash_ioctl.h +1 −0
  722. include/uapi/scsi/fc/fc_els.h +1 −0
  723. include/uapi/scsi/fc/fc_fs.h +1 −0
  724. include/uapi/scsi/fc/fc_gs.h +1 −0
  725. include/uapi/scsi/fc/fc_ns.h +1 −0
  726. include/uapi/scsi/scsi_bsg_fc.h +1 −0
  727. include/uapi/scsi/scsi_netlink.h +1 −0
  728. include/uapi/scsi/scsi_netlink_fc.h +1 −0
  729. include/uapi/sound/asequencer.h +1 −0
  730. include/uapi/sound/asoc.h +1 −0
  731. include/uapi/sound/asound.h +4 −3
  732. include/uapi/sound/asound_fm.h +1 −0
  733. include/uapi/sound/compress_offload.h +1 −0
  734. include/uapi/sound/compress_params.h +1 −0
  735. include/uapi/sound/emu10k1.h +1 −0
  736. include/uapi/sound/firewire.h +1 −0
  737. include/uapi/sound/hdsp.h +1 −0
  738. include/uapi/sound/hdspm.h +1 −0
  739. include/uapi/sound/sb16_csp.h +1 −0
  740. include/uapi/sound/sfnt_info.h +1 −0
  741. include/uapi/sound/snd_sst_tokens.h +1 −0
  742. include/uapi/sound/tlv.h +1 −0
  743. include/uapi/sound/usb_stream.h +1 −0
  744. include/uapi/video/edid.h +1 −0
  745. include/uapi/video/sisfb.h +1 −0
  746. include/uapi/video/uvesafb.h +1 −0
  747. include/uapi/xen/evtchn.h +1 −0
  748. include/uapi/xen/gntdev.h +1 −0
  749. include/uapi/xen/privcmd.h +1 −0
include/uapi/asm-generic/bitsperlong.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG2#ifndef _UAPI__ASM_GENERIC_BITS_PER_LONG
2#define _UAPI__ASM_GENERIC_BITS_PER_LONG3#define _UAPI__ASM_GENERIC_BITS_PER_LONG
3 4
include/uapi/asm-generic/errno-base.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ASM_GENERIC_ERRNO_BASE_H2#ifndef _ASM_GENERIC_ERRNO_BASE_H
2#define _ASM_GENERIC_ERRNO_BASE_H3#define _ASM_GENERIC_ERRNO_BASE_H
3 4
include/uapi/asm-generic/errno.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ASM_GENERIC_ERRNO_H2#ifndef _ASM_GENERIC_ERRNO_H
2#define _ASM_GENERIC_ERRNO_H3#define _ASM_GENERIC_ERRNO_H
3 4
include/uapi/asm-generic/fcntl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ASM_GENERIC_FCNTL_H2#ifndef _ASM_GENERIC_FCNTL_H
2#define _ASM_GENERIC_FCNTL_H3#define _ASM_GENERIC_FCNTL_H
3 4
include/uapi/asm-generic/int-l64.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * asm-generic/int-l64.h3 * asm-generic/int-l64.h
3 *4 *
include/uapi/asm-generic/int-ll64.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * asm-generic/int-ll64.h3 * asm-generic/int-ll64.h
3 *4 *
include/uapi/asm-generic/ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_ASM_GENERIC_IOCTL_H2#ifndef _UAPI_ASM_GENERIC_IOCTL_H
2#define _UAPI_ASM_GENERIC_IOCTL_H3#define _UAPI_ASM_GENERIC_IOCTL_H
3 4
include/uapi/asm-generic/ioctls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_IOCTLS_H2#ifndef __ASM_GENERIC_IOCTLS_H
2#define __ASM_GENERIC_IOCTLS_H3#define __ASM_GENERIC_IOCTLS_H
3 4
include/uapi/asm-generic/ipcbuf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_IPCBUF_H2#ifndef __ASM_GENERIC_IPCBUF_H
2#define __ASM_GENERIC_IPCBUF_H3#define __ASM_GENERIC_IPCBUF_H
3 4
include/uapi/asm-generic/mman-common.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_MMAN_COMMON_H2#ifndef __ASM_GENERIC_MMAN_COMMON_H
2#define __ASM_GENERIC_MMAN_COMMON_H3#define __ASM_GENERIC_MMAN_COMMON_H
3 4
@@ -16,6 +17,7 @@ · 12 unmodified lines
16 17
17#define MAP_SHARED 0x01 /* Share changes */18#define MAP_SHARED 0x01 /* Share changes */
18#define MAP_PRIVATE 0x02 /* Changes are private */19#define MAP_PRIVATE 0x02 /* Changes are private */
20#define MAP_SHARED_VALIDATE 0x03 /* share + validate extension flags */
19#define MAP_TYPE 0x0f /* Mask for type of mapping */21#define MAP_TYPE 0x0f /* Mask for type of mapping */
20#define MAP_FIXED 0x10 /* Interpret addr exactly */22#define MAP_FIXED 0x10 /* Interpret addr exactly */
21#define MAP_ANONYMOUS 0x20 /* don't use a file */23#define MAP_ANONYMOUS 0x20 /* don't use a file */
include/uapi/asm-generic/mman.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_MMAN_H2#ifndef __ASM_GENERIC_MMAN_H
2#define __ASM_GENERIC_MMAN_H3#define __ASM_GENERIC_MMAN_H
3 4
@@ -12,6 +13,7 @@ · 8 unmodified lines
12#define MAP_NONBLOCK 0x10000 /* do not block on IO */13#define MAP_NONBLOCK 0x10000 /* do not block on IO */
13#define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */14#define MAP_STACK 0x20000 /* give out an address that is best suited for process/thread stacks */
14#define MAP_HUGETLB 0x40000 /* create a huge page mapping */15#define MAP_HUGETLB 0x40000 /* create a huge page mapping */
16#define MAP_SYNC 0x80000 /* perform synchronous page faults for the mapping */
15 17
16/* Bits [26:31] are reserved, see mman-common.h for MAP_HUGETLB usage */18/* Bits [26:31] are reserved, see mman-common.h for MAP_HUGETLB usage */
17 19
include/uapi/asm-generic/msgbuf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_MSGBUF_H2#ifndef __ASM_GENERIC_MSGBUF_H
2#define __ASM_GENERIC_MSGBUF_H3#define __ASM_GENERIC_MSGBUF_H
3 4
include/uapi/asm-generic/param.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__ASM_GENERIC_PARAM_H2#ifndef _UAPI__ASM_GENERIC_PARAM_H
2#define _UAPI__ASM_GENERIC_PARAM_H3#define _UAPI__ASM_GENERIC_PARAM_H
3 4
include/uapi/asm-generic/poll.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_POLL_H2#ifndef __ASM_GENERIC_POLL_H
2#define __ASM_GENERIC_POLL_H3#define __ASM_GENERIC_POLL_H
3 4
include/uapi/asm-generic/posix_types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_POSIX_TYPES_H2#ifndef __ASM_GENERIC_POSIX_TYPES_H
2#define __ASM_GENERIC_POSIX_TYPES_H3#define __ASM_GENERIC_POSIX_TYPES_H
3 4
include/uapi/asm-generic/resource.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_ASM_GENERIC_RESOURCE_H2#ifndef _UAPI_ASM_GENERIC_RESOURCE_H
2#define _UAPI_ASM_GENERIC_RESOURCE_H3#define _UAPI_ASM_GENERIC_RESOURCE_H
3 4
include/uapi/asm-generic/sembuf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SEMBUF_H2#ifndef __ASM_GENERIC_SEMBUF_H
2#define __ASM_GENERIC_SEMBUF_H3#define __ASM_GENERIC_SEMBUF_H
3 4
include/uapi/asm-generic/setup.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SETUP_H2#ifndef __ASM_GENERIC_SETUP_H
2#define __ASM_GENERIC_SETUP_H3#define __ASM_GENERIC_SETUP_H
3 4
include/uapi/asm-generic/shmbuf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SHMBUF_H2#ifndef __ASM_GENERIC_SHMBUF_H
2#define __ASM_GENERIC_SHMBUF_H3#define __ASM_GENERIC_SHMBUF_H
3 4
include/uapi/asm-generic/shmparam.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SHMPARAM_H2#ifndef __ASM_GENERIC_SHMPARAM_H
2#define __ASM_GENERIC_SHMPARAM_H3#define __ASM_GENERIC_SHMPARAM_H
3 4
include/uapi/asm-generic/siginfo.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_ASM_GENERIC_SIGINFO_H2#ifndef _UAPI_ASM_GENERIC_SIGINFO_H
2#define _UAPI_ASM_GENERIC_SIGINFO_H3#define _UAPI_ASM_GENERIC_SIGINFO_H
3 4
include/uapi/asm-generic/signal-defs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SIGNAL_DEFS_H2#ifndef __ASM_GENERIC_SIGNAL_DEFS_H
2#define __ASM_GENERIC_SIGNAL_DEFS_H3#define __ASM_GENERIC_SIGNAL_DEFS_H
3 4
include/uapi/asm-generic/signal.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__ASM_GENERIC_SIGNAL_H2#ifndef _UAPI__ASM_GENERIC_SIGNAL_H
2#define _UAPI__ASM_GENERIC_SIGNAL_H3#define _UAPI__ASM_GENERIC_SIGNAL_H
3 4
include/uapi/asm-generic/socket.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SOCKET_H2#ifndef __ASM_GENERIC_SOCKET_H
2#define __ASM_GENERIC_SOCKET_H3#define __ASM_GENERIC_SOCKET_H
3 4
include/uapi/asm-generic/sockios.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_SOCKIOS_H2#ifndef __ASM_GENERIC_SOCKIOS_H
2#define __ASM_GENERIC_SOCKIOS_H3#define __ASM_GENERIC_SOCKIOS_H
3 4
include/uapi/asm-generic/stat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_STAT_H2#ifndef __ASM_GENERIC_STAT_H
2#define __ASM_GENERIC_STAT_H3#define __ASM_GENERIC_STAT_H
3 4
include/uapi/asm-generic/statfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_GENERIC_STATFS_H2#ifndef _UAPI_GENERIC_STATFS_H
2#define _UAPI_GENERIC_STATFS_H3#define _UAPI_GENERIC_STATFS_H
3 4
include/uapi/asm-generic/swab.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ASM_GENERIC_SWAB_H2#ifndef _ASM_GENERIC_SWAB_H
2#define _ASM_GENERIC_SWAB_H3#define _ASM_GENERIC_SWAB_H
3 4
include/uapi/asm-generic/termbits.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_TERMBITS_H2#ifndef __ASM_GENERIC_TERMBITS_H
2#define __ASM_GENERIC_TERMBITS_H3#define __ASM_GENERIC_TERMBITS_H
3 4
include/uapi/asm-generic/termios.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_ASM_GENERIC_TERMIOS_H2#ifndef _UAPI_ASM_GENERIC_TERMIOS_H
2#define _UAPI_ASM_GENERIC_TERMIOS_H3#define _UAPI_ASM_GENERIC_TERMIOS_H
3/*4/*
include/uapi/asm-generic/types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ASM_GENERIC_TYPES_H2#ifndef _ASM_GENERIC_TYPES_H
2#define _ASM_GENERIC_TYPES_H3#define _ASM_GENERIC_TYPES_H
3/*4/*
include/uapi/asm-generic/ucontext.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __ASM_GENERIC_UCONTEXT_H2#ifndef __ASM_GENERIC_UCONTEXT_H
2#define __ASM_GENERIC_UCONTEXT_H3#define __ASM_GENERIC_UCONTEXT_H
3 4
include/uapi/asm-generic/unistd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#include <asm/bitsperlong.h>2#include <asm/bitsperlong.h>
2 3
3/*4/*
include/uapi/drm/amdgpu_drm.h+49−1
@@ -52,6 +52,8 @@ extern "C" { · 51 unmodified lines
52#define DRM_AMDGPU_GEM_USERPTR 0x1152#define DRM_AMDGPU_GEM_USERPTR 0x11
53#define DRM_AMDGPU_WAIT_FENCES 0x1253#define DRM_AMDGPU_WAIT_FENCES 0x12
54#define DRM_AMDGPU_VM 0x1354#define DRM_AMDGPU_VM 0x13
55#define DRM_AMDGPU_FENCE_TO_HANDLE 0x14
56#define DRM_AMDGPU_SCHED 0x15
55 57
56#define DRM_IOCTL_AMDGPU_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_CREATE, union drm_amdgpu_gem_create)58#define DRM_IOCTL_AMDGPU_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_CREATE, union drm_amdgpu_gem_create)
57#define DRM_IOCTL_AMDGPU_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_MMAP, union drm_amdgpu_gem_mmap)59#define DRM_IOCTL_AMDGPU_GEM_MMAP DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_MMAP, union drm_amdgpu_gem_mmap)
@@ -67,6 +69,8 @@ extern "C" { · 9 unmodified lines
67#define DRM_IOCTL_AMDGPU_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_USERPTR, struct drm_amdgpu_gem_userptr)69#define DRM_IOCTL_AMDGPU_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_GEM_USERPTR, struct drm_amdgpu_gem_userptr)
68#define DRM_IOCTL_AMDGPU_WAIT_FENCES DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_WAIT_FENCES, union drm_amdgpu_wait_fences)70#define DRM_IOCTL_AMDGPU_WAIT_FENCES DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_WAIT_FENCES, union drm_amdgpu_wait_fences)
69#define DRM_IOCTL_AMDGPU_VM DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_VM, union drm_amdgpu_vm)71#define DRM_IOCTL_AMDGPU_VM DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_VM, union drm_amdgpu_vm)
72#define DRM_IOCTL_AMDGPU_FENCE_TO_HANDLE DRM_IOWR(DRM_COMMAND_BASE + DRM_AMDGPU_FENCE_TO_HANDLE, union drm_amdgpu_fence_to_handle)
73#define DRM_IOCTL_AMDGPU_SCHED DRM_IOW(DRM_COMMAND_BASE + DRM_AMDGPU_SCHED, union drm_amdgpu_sched)
70 74
71#define AMDGPU_GEM_DOMAIN_CPU 0x175#define AMDGPU_GEM_DOMAIN_CPU 0x1
72#define AMDGPU_GEM_DOMAIN_GTT 0x276#define AMDGPU_GEM_DOMAIN_GTT 0x2
@@ -87,6 +91,10 @@ extern "C" { · 14 unmodified lines
87#define AMDGPU_GEM_CREATE_SHADOW (1 << 4)91#define AMDGPU_GEM_CREATE_SHADOW (1 << 4)
88/* Flag that allocating the BO should use linear VRAM */92/* Flag that allocating the BO should use linear VRAM */
89#define AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS (1 << 5)93#define AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS (1 << 5)
94/* Flag that BO is always valid in this VM */
95#define AMDGPU_GEM_CREATE_VM_ALWAYS_VALID (1 << 6)
96/* Flag that BO sharing will be explicitly synchronized */
97#define AMDGPU_GEM_CREATE_EXPLICIT_SYNC (1 << 7)
90 98
91struct drm_amdgpu_gem_create_in {99struct drm_amdgpu_gem_create_in {
92 /** the requested memory size */100 /** the requested memory size */
@@ -162,13 +170,22 @@ union drm_amdgpu_bo_list { · 69 unmodified lines
162/* unknown cause */170/* unknown cause */
163#define AMDGPU_CTX_UNKNOWN_RESET 3171#define AMDGPU_CTX_UNKNOWN_RESET 3
164 172
173/* Context priority level */
174#define AMDGPU_CTX_PRIORITY_UNSET -2048
175#define AMDGPU_CTX_PRIORITY_VERY_LOW -1023
176#define AMDGPU_CTX_PRIORITY_LOW -512
177#define AMDGPU_CTX_PRIORITY_NORMAL 0
178/* Selecting a priority above NORMAL requires CAP_SYS_NICE or DRM_MASTER */
179#define AMDGPU_CTX_PRIORITY_HIGH 512
180#define AMDGPU_CTX_PRIORITY_VERY_HIGH 1023
181
165struct drm_amdgpu_ctx_in {182struct drm_amdgpu_ctx_in {
166 /** AMDGPU_CTX_OP_* */183 /** AMDGPU_CTX_OP_* */
167 __u32 op;184 __u32 op;
168 /** For future use, no flags defined so far */185 /** For future use, no flags defined so far */
169 __u32 flags;186 __u32 flags;
170 __u32 ctx_id;187 __u32 ctx_id;
171 __u32 _pad;188 __s32 priority;
172};189};
173 190
174union drm_amdgpu_ctx_out {191union drm_amdgpu_ctx_out {
@@ -212,6 +229,21 @@ union drm_amdgpu_vm { · 37 unmodified lines
212 struct drm_amdgpu_vm_out out;229 struct drm_amdgpu_vm_out out;
213};230};
214 231
232/* sched ioctl */
233#define AMDGPU_SCHED_OP_PROCESS_PRIORITY_OVERRIDE 1
234
235struct drm_amdgpu_sched_in {
236 /* AMDGPU_SCHED_OP_* */
237 __u32 op;
238 __u32 fd;
239 __s32 priority;
240 __u32 flags;
241};
242
243union drm_amdgpu_sched {
244 struct drm_amdgpu_sched_in in;
245};
246
215/*247/*
216 * This is not a reliable API and you should expect it to fail for any248 * This is not a reliable API and you should expect it to fail for any
217 * number of reasons and have fallback path that do not use userptr to249 * number of reasons and have fallback path that do not use userptr to
@@ -513,6 +545,21 @@ struct drm_amdgpu_cs_chunk_sem { · 295 unmodified lines
513 __u32 handle;545 __u32 handle;
514};546};
515 547
548#define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ 0
549#define AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD 1
550#define AMDGPU_FENCE_TO_HANDLE_GET_SYNC_FILE_FD 2
551
552union drm_amdgpu_fence_to_handle {
553 struct {
554 struct drm_amdgpu_fence fence;
555 __u32 what;
556 __u32 pad;
557 } in;
558 struct {
559 __u32 handle;
560 } out;
561};
562
516struct drm_amdgpu_cs_chunk_data {563struct drm_amdgpu_cs_chunk_data {
517 union {564 union {
518 struct drm_amdgpu_cs_chunk_ib ib_data;565 struct drm_amdgpu_cs_chunk_ib ib_data;
@@ -611,6 +658,7 @@ struct drm_amdgpu_cs_chunk_data { · 92 unmodified lines
611 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7658 #define AMDGPU_INFO_SENSOR_VDDGFX 0x7
612/* Number of VRAM page faults on CPU access. */659/* Number of VRAM page faults on CPU access. */
613#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E660#define AMDGPU_INFO_NUM_VRAM_CPU_PAGE_FAULTS 0x1E
661#define AMDGPU_INFO_VRAM_LOST_COUNTER 0x1F
614 662
615#define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0663#define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0
616#define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff664#define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff
include/uapi/drm/armada_drm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2012 Russell King3 * Copyright (C) 2012 Russell King
3 * With inspiration from the i915 driver4 * With inspiration from the i915 driver
include/uapi/drm/drm.h+41−0
@@ -737,6 +737,28 @@ struct drm_syncobj_array { · 736 unmodified lines
737 __u32 pad;737 __u32 pad;
738};738};
739 739
740/* Query current scanout sequence number */
741struct drm_crtc_get_sequence {
742 __u32 crtc_id; /* requested crtc_id */
743 __u32 active; /* return: crtc output is active */
744 __u64 sequence; /* return: most recent vblank sequence */
745 __s64 sequence_ns; /* return: most recent time of first pixel out */
746};
747
748/* Queue event to be delivered at specified sequence. Time stamp marks
749 * when the first pixel of the refresh cycle leaves the display engine
750 * for the display
751 */
752#define DRM_CRTC_SEQUENCE_RELATIVE 0x00000001 /* sequence is relative to current */
753#define DRM_CRTC_SEQUENCE_NEXT_ON_MISS 0x00000002 /* Use next sequence if we've missed */
754
755struct drm_crtc_queue_sequence {
756 __u32 crtc_id;
757 __u32 flags;
758 __u64 sequence; /* on input, target sequence. on output, actual sequence */
759 __u64 user_data; /* user data passed to event */
760};
761
740#if defined(__cplusplus)762#if defined(__cplusplus)
741}763}
742#endif764#endif
@@ -819,6 +841,9 @@ extern "C" { · 76 unmodified lines
819 841
820#define DRM_IOCTL_WAIT_VBLANK DRM_IOWR(0x3a, union drm_wait_vblank)842#define DRM_IOCTL_WAIT_VBLANK DRM_IOWR(0x3a, union drm_wait_vblank)
821 843
844#define DRM_IOCTL_CRTC_GET_SEQUENCE DRM_IOWR(0x3b, struct drm_crtc_get_sequence)
845#define DRM_IOCTL_CRTC_QUEUE_SEQUENCE DRM_IOWR(0x3c, struct drm_crtc_queue_sequence)
846
822#define DRM_IOCTL_UPDATE_DRAW DRM_IOW(0x3f, struct drm_update_draw)847#define DRM_IOCTL_UPDATE_DRAW DRM_IOW(0x3f, struct drm_update_draw)
823 848
824#define DRM_IOCTL_MODE_GETRESOURCES DRM_IOWR(0xA0, struct drm_mode_card_res)849#define DRM_IOCTL_MODE_GETRESOURCES DRM_IOWR(0xA0, struct drm_mode_card_res)
@@ -863,6 +888,11 @@ extern "C" { · 38 unmodified lines
863#define DRM_IOCTL_SYNCOBJ_RESET DRM_IOWR(0xC4, struct drm_syncobj_array)888#define DRM_IOCTL_SYNCOBJ_RESET DRM_IOWR(0xC4, struct drm_syncobj_array)
864#define DRM_IOCTL_SYNCOBJ_SIGNAL DRM_IOWR(0xC5, struct drm_syncobj_array)889#define DRM_IOCTL_SYNCOBJ_SIGNAL DRM_IOWR(0xC5, struct drm_syncobj_array)
865 890
891#define DRM_IOCTL_MODE_CREATE_LEASE DRM_IOWR(0xC6, struct drm_mode_create_lease)
892#define DRM_IOCTL_MODE_LIST_LESSEES DRM_IOWR(0xC7, struct drm_mode_list_lessees)
893#define DRM_IOCTL_MODE_GET_LEASE DRM_IOWR(0xC8, struct drm_mode_get_lease)
894#define DRM_IOCTL_MODE_REVOKE_LEASE DRM_IOWR(0xC9, struct drm_mode_revoke_lease)
895
866/**896/**
867 * Device specific ioctls should only be in their respective headers897 * Device specific ioctls should only be in their respective headers
868 * The device specific ioctl range is from 0x40 to 0x9f.898 * The device specific ioctl range is from 0x40 to 0x9f.
@@ -893,6 +923,7 @@ struct drm_event { · 24 unmodified lines
893 923
894#define DRM_EVENT_VBLANK 0x01924#define DRM_EVENT_VBLANK 0x01
895#define DRM_EVENT_FLIP_COMPLETE 0x02925#define DRM_EVENT_FLIP_COMPLETE 0x02
926#define DRM_EVENT_CRTC_SEQUENCE 0x03
896 927
897struct drm_event_vblank {928struct drm_event_vblank {
898 struct drm_event base;929 struct drm_event base;
@@ -903,6 +934,16 @@ struct drm_event_vblank { · 4 unmodified lines
903 __u32 crtc_id; /* 0 on older kernels that do not support this */934 __u32 crtc_id; /* 0 on older kernels that do not support this */
904};935};
905 936
937/* Event delivered at sequence. Time stamp marks when the first pixel
938 * of the refresh cycle leaves the display engine for the display
939 */
940struct drm_event_crtc_sequence {
941 struct drm_event base;
942 __u64 user_data;
943 __s64 time_ns;
944 __u64 sequence;
945};
946
906/* typedef area */947/* typedef area */
907#ifndef __KERNEL__948#ifndef __KERNEL__
908typedef struct drm_clip_rect drm_clip_rect_t;949typedef struct drm_clip_rect drm_clip_rect_t;
include/uapi/drm/drm_mode.h+68−2
@@ -749,9 +749,9 @@ struct drm_format_modifier { · 748 unmodified lines
749 * If the number formats grew to 128, and formats 98-102 are749 * If the number formats grew to 128, and formats 98-102 are
750 * supported with the modifier:750 * supported with the modifier:
751 *751 *
752 * 0x0000003c00000000 0000000000000000752 * 0x0000007c00000000 0000000000000000
753 * ^753 * ^
754 * |__offset = 64, formats = 0x3c00000000754 * |__offset = 64, formats = 0x7c00000000
755 *755 *
756 */756 */
757 __u64 formats;757 __u64 formats;
@@ -782,6 +782,72 @@ struct drm_mode_destroy_blob { · 24 unmodified lines
782 __u32 blob_id;782 __u32 blob_id;
783};783};
784 784
785/**
786 * Lease mode resources, creating another drm_master.
787 */
788struct drm_mode_create_lease {
789 /** Pointer to array of object ids (__u32) */
790 __u64 object_ids;
791 /** Number of object ids */
792 __u32 object_count;
793 /** flags for new FD (O_CLOEXEC, etc) */
794 __u32 flags;
795
796 /** Return: unique identifier for lessee. */
797 __u32 lessee_id;
798 /** Return: file descriptor to new drm_master file */
799 __u32 fd;
800};
801
802/**
803 * List lesses from a drm_master
804 */
805struct drm_mode_list_lessees {
806 /** Number of lessees.
807 * On input, provides length of the array.
808 * On output, provides total number. No
809 * more than the input number will be written
810 * back, so two calls can be used to get
811 * the size and then the data.
812 */
813 __u32 count_lessees;
814 __u32 pad;
815
816 /** Pointer to lessees.
817 * pointer to __u64 array of lessee ids
818 */
819 __u64 lessees_ptr;
820};
821
822/**
823 * Get leased objects
824 */
825struct drm_mode_get_lease {
826 /** Number of leased objects.
827 * On input, provides length of the array.
828 * On output, provides total number. No
829 * more than the input number will be written
830 * back, so two calls can be used to get
831 * the size and then the data.
832 */
833 __u32 count_objects;
834 __u32 pad;
835
836 /** Pointer to objects.
837 * pointer to __u32 array of object ids
838 */
839 __u64 objects_ptr;
840};
841
842/**
843 * Revoke lease
844 */
845struct drm_mode_revoke_lease {
846 /** Unique ID of lessee
847 */
848 __u32 lessee_id;
849};
850
785#if defined(__cplusplus)851#if defined(__cplusplus)
786}852}
787#endif853#endif
include/uapi/drm/etnaviv_drm.h+43−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2015 Etnaviv Project3 * Copyright (C) 2015 Etnaviv Project
3 *4 *
@@ -150,6 +151,19 @@ struct drm_etnaviv_gem_submit_bo { · 146 unmodified lines
150 __u64 presumed; /* in/out, presumed buffer address */151 __u64 presumed; /* in/out, presumed buffer address */
151};152};
152 153
154/* performance monitor request (pmr) */
155#define ETNA_PM_PROCESS_PRE 0x0001
156#define ETNA_PM_PROCESS_POST 0x0002
157struct drm_etnaviv_gem_submit_pmr {
158 __u32 flags; /* in, when to process request (ETNA_PM_PROCESS_x) */
159 __u8 domain; /* in, pm domain */
160 __u8 pad;
161 __u16 signal; /* in, pm signal */
162 __u32 sequence; /* in, sequence number */
163 __u32 read_offset; /* in, offset from read_bo */
164 __u32 read_idx; /* in, index of read_bo buffer */
165};
166
153/* Each cmdstream submit consists of a table of buffers involved, and167/* Each cmdstream submit consists of a table of buffers involved, and
154 * one or more cmdstream buffers. This allows for conditional execution168 * one or more cmdstream buffers. This allows for conditional execution
155 * (context-restore), and IB buffers needed for per tile/bin draw cmds.169 * (context-restore), and IB buffers needed for per tile/bin draw cmds.
@@ -175,6 +189,9 @@ struct drm_etnaviv_gem_submit { · 19 unmodified lines
175 __u64 stream; /* in, ptr to cmdstream */189 __u64 stream; /* in, ptr to cmdstream */
176 __u32 flags; /* in, mask of ETNA_SUBMIT_x */190 __u32 flags; /* in, mask of ETNA_SUBMIT_x */
177 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */191 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */
192 __u64 pmrs; /* in, ptr to array of submit_pmr's */
193 __u32 nr_pmrs; /* in, number of submit_pmr's */
194 __u32 pad;
178};195};
179 196
180/* The normal way to synchronize with the GPU is just to CPU_PREP on197/* The normal way to synchronize with the GPU is just to CPU_PREP on
@@ -210,6 +227,27 @@ struct drm_etnaviv_gem_wait { · 29 unmodified lines
210 struct drm_etnaviv_timespec timeout; /* in */227 struct drm_etnaviv_timespec timeout; /* in */
211};228};
212 229
230/*
231 * Performance Monitor (PM):
232 */
233
234struct drm_etnaviv_pm_domain {
235 __u32 pipe; /* in */
236 __u8 iter; /* in/out, select pm domain at index iter */
237 __u8 id; /* out, id of domain */
238 __u16 nr_signals; /* out, how many signals does this domain provide */
239 char name[64]; /* out, name of domain */
240};
241
242struct drm_etnaviv_pm_signal {
243 __u32 pipe; /* in */
244 __u8 domain; /* in, pm domain index */
245 __u8 pad;
246 __u16 iter; /* in/out, select pm source at index iter */
247 __u16 id; /* out, id of signal */
248 char name[64]; /* out, name of domain */
249};
250
213#define DRM_ETNAVIV_GET_PARAM 0x00251#define DRM_ETNAVIV_GET_PARAM 0x00
214/* placeholder:252/* placeholder:
215#define DRM_ETNAVIV_SET_PARAM 0x01253#define DRM_ETNAVIV_SET_PARAM 0x01
@@ -222,7 +260,9 @@ struct drm_etnaviv_gem_wait { · 6 unmodified lines
222#define DRM_ETNAVIV_WAIT_FENCE 0x07260#define DRM_ETNAVIV_WAIT_FENCE 0x07
223#define DRM_ETNAVIV_GEM_USERPTR 0x08261#define DRM_ETNAVIV_GEM_USERPTR 0x08
224#define DRM_ETNAVIV_GEM_WAIT 0x09262#define DRM_ETNAVIV_GEM_WAIT 0x09
225#define DRM_ETNAVIV_NUM_IOCTLS 0x0a263#define DRM_ETNAVIV_PM_QUERY_DOM 0x0a
264#define DRM_ETNAVIV_PM_QUERY_SIG 0x0b
265#define DRM_ETNAVIV_NUM_IOCTLS 0x0c
226 266
227#define DRM_IOCTL_ETNAVIV_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GET_PARAM, struct drm_etnaviv_param)267#define DRM_IOCTL_ETNAVIV_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GET_PARAM, struct drm_etnaviv_param)
228#define DRM_IOCTL_ETNAVIV_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_NEW, struct drm_etnaviv_gem_new)268#define DRM_IOCTL_ETNAVIV_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_NEW, struct drm_etnaviv_gem_new)
@@ -233,6 +273,8 @@ struct drm_etnaviv_gem_wait { · 4 unmodified lines
233#define DRM_IOCTL_ETNAVIV_WAIT_FENCE DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_WAIT_FENCE, struct drm_etnaviv_wait_fence)273#define DRM_IOCTL_ETNAVIV_WAIT_FENCE DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_WAIT_FENCE, struct drm_etnaviv_wait_fence)
234#define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr)274#define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr)
235#define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait)275#define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait)
276#define DRM_IOCTL_ETNAVIV_PM_QUERY_DOM DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_PM_QUERY_DOM, struct drm_etnaviv_pm_domain)
277#define DRM_IOCTL_ETNAVIV_PM_QUERY_SIG DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_PM_QUERY_SIG, struct drm_etnaviv_pm_signal)
236 278
237#if defined(__cplusplus)279#if defined(__cplusplus)
238}280}
include/uapi/drm/exynos_drm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* exynos_drm.h2/* exynos_drm.h
2 *3 *
3 * Copyright (c) 2011 Samsung Electronics Co., Ltd.4 * Copyright (c) 2011 Samsung Electronics Co., Ltd.
include/uapi/drm/i810_drm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _I810_DRM_H_2#ifndef _I810_DRM_H_
2#define _I810_DRM_H_3#define _I810_DRM_H_
3 4
include/uapi/drm/i915_drm.h+28−6
@@ -397,10 +397,20 @@ typedef struct drm_i915_irq_wait { · 396 unmodified lines
397#define I915_PARAM_MIN_EU_IN_POOL 39397#define I915_PARAM_MIN_EU_IN_POOL 39
398#define I915_PARAM_MMAP_GTT_VERSION 40398#define I915_PARAM_MMAP_GTT_VERSION 40
399 399
400/* Query whether DRM_I915_GEM_EXECBUFFER2 supports user defined execution400/*
401 * Query whether DRM_I915_GEM_EXECBUFFER2 supports user defined execution
401 * priorities and the driver will attempt to execute batches in priority order.402 * priorities and the driver will attempt to execute batches in priority order.
403 * The param returns a capability bitmask, nonzero implies that the scheduler
404 * is enabled, with different features present according to the mask.
405 *
406 * The initial priority for each batch is supplied by the context and is
407 * controlled via I915_CONTEXT_PARAM_PRIORITY.
402 */408 */
403#define I915_PARAM_HAS_SCHEDULER 41409#define I915_PARAM_HAS_SCHEDULER 41
410#define I915_SCHEDULER_CAP_ENABLED (1ul << 0)
411#define I915_SCHEDULER_CAP_PRIORITY (1ul << 1)
412#define I915_SCHEDULER_CAP_PREEMPTION (1ul << 2)
413
404#define I915_PARAM_HUC_STATUS 42414#define I915_PARAM_HUC_STATUS 42
405 415
406/* Query whether DRM_I915_GEM_EXECBUFFER2 supports the ability to opt-out of416/* Query whether DRM_I915_GEM_EXECBUFFER2 supports the ability to opt-out of
@@ -829,6 +839,7 @@ struct drm_i915_gem_exec_fence { · 422 unmodified lines
829 839
830#define I915_EXEC_FENCE_WAIT (1<<0)840#define I915_EXEC_FENCE_WAIT (1<<0)
831#define I915_EXEC_FENCE_SIGNAL (1<<1)841#define I915_EXEC_FENCE_SIGNAL (1<<1)
842#define __I915_EXEC_FENCE_UNKNOWN_FLAGS (-(I915_EXEC_FENCE_SIGNAL << 1))
832 __u32 flags;843 __u32 flags;
833};844};
834 845
@@ -1308,14 +1319,16 @@ struct drm_i915_reg_read { · 473 unmodified lines
1308 * be specified1319 * be specified
1309 */1320 */
1310 __u64 offset;1321 __u64 offset;
1322#define I915_REG_READ_8B_WA (1ul << 0)
1323
1311 __u64 val; /* Return value */1324 __u64 val; /* Return value */
1312};1325};
1313/* Known registers:1326/* Known registers:
1314 *1327 *
1315 * Render engine timestamp - 0x2358 + 64bit - gen7+1328 * Render engine timestamp - 0x2358 + 64bit - gen7+
1316 * - Note this register returns an invalid value if using the default1329 * - Note this register returns an invalid value if using the default
1317 * single instruction 8byte read, in order to workaround that use1330 * single instruction 8byte read, in order to workaround that pass
1318 * offset (0x2538 | 1) instead.1331 * flag I915_REG_READ_8B_WA in offset field.
1319 *1332 *
1320 */1333 */
1321 1334
@@ -1358,6 +1371,10 @@ struct drm_i915_gem_context_param { · 36 unmodified lines
1358#define I915_CONTEXT_PARAM_GTT_SIZE 0x31371#define I915_CONTEXT_PARAM_GTT_SIZE 0x3
1359#define I915_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x41372#define I915_CONTEXT_PARAM_NO_ERROR_CAPTURE 0x4
1360#define I915_CONTEXT_PARAM_BANNABLE 0x51373#define I915_CONTEXT_PARAM_BANNABLE 0x5
1374#define I915_CONTEXT_PARAM_PRIORITY 0x6
1375#define I915_CONTEXT_MAX_USER_PRIORITY 1023 /* inclusive */
1376#define I915_CONTEXT_DEFAULT_PRIORITY 0
1377#define I915_CONTEXT_MIN_USER_PRIORITY -1023 /* inclusive */
1361 __u64 value;1378 __u64 value;
1362};1379};
1363 1380
@@ -1509,9 +1526,14 @@ struct drm_i915_perf_oa_config { · 145 unmodified lines
1509 __u32 n_boolean_regs;1526 __u32 n_boolean_regs;
1510 __u32 n_flex_regs;1527 __u32 n_flex_regs;
1511 1528
1512 __u64 __user mux_regs_ptr;1529 /*
1513 __u64 __user boolean_regs_ptr;1530 * These fields are pointers to tuples of u32 values (register
1514 __u64 __user flex_regs_ptr;1531 * address, value). For example the expected length of the buffer
1532 * pointed by mux_regs_ptr is (2 * sizeof(u32) * n_mux_regs).
1533 */
1534 __u64 mux_regs_ptr;
1535 __u64 boolean_regs_ptr;
1536 __u64 flex_regs_ptr;
1515};1537};
1516 1538
1517#if defined(__cplusplus)1539#if defined(__cplusplus)
include/uapi/drm/msm_drm.h+24−0
@@ -73,6 +73,7 @@ struct drm_msm_timespec { · 72 unmodified lines
73#define MSM_PARAM_MAX_FREQ 0x0473#define MSM_PARAM_MAX_FREQ 0x04
74#define MSM_PARAM_TIMESTAMP 0x0574#define MSM_PARAM_TIMESTAMP 0x05
75#define MSM_PARAM_GMEM_BASE 0x0675#define MSM_PARAM_GMEM_BASE 0x06
76#define MSM_PARAM_NR_RINGS 0x07
76 77
77struct drm_msm_param {78struct drm_msm_param {
78 __u32 pipe; /* in, MSM_PIPE_x */79 __u32 pipe; /* in, MSM_PIPE_x */
@@ -218,6 +219,7 @@ struct drm_msm_gem_submit { · 139 unmodified lines
218 __u64 bos; /* in, ptr to array of submit_bo's */219 __u64 bos; /* in, ptr to array of submit_bo's */
219 __u64 cmds; /* in, ptr to array of submit_cmd's */220 __u64 cmds; /* in, ptr to array of submit_cmd's */
220 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */221 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */
222 __u32 queueid; /* in, submitqueue id */
221};223};
222 224
223/* The normal way to synchronize with the GPU is just to CPU_PREP on225/* The normal way to synchronize with the GPU is just to CPU_PREP on
@@ -231,6 +233,7 @@ struct drm_msm_wait_fence { · 7 unmodified lines
231 __u32 fence; /* in */233 __u32 fence; /* in */
232 __u32 pad;234 __u32 pad;
233 struct drm_msm_timespec timeout; /* in */235 struct drm_msm_timespec timeout; /* in */
236 __u32 queueid; /* in, submitqueue id */
234};237};
235 238
236/* madvise provides a way to tell the kernel in case a buffers contents239/* madvise provides a way to tell the kernel in case a buffers contents
@@ -254,6 +257,20 @@ struct drm_msm_gem_madvise { · 17 unmodified lines
254 __u32 retained; /* out, whether backing store still exists */257 __u32 retained; /* out, whether backing store still exists */
255};258};
256 259
260/*
261 * Draw queues allow the user to set specific submission parameter. Command
262 * submissions specify a specific submitqueue to use. ID 0 is reserved for
263 * backwards compatibility as a "default" submitqueue
264 */
265
266#define MSM_SUBMITQUEUE_FLAGS (0)
267
268struct drm_msm_submitqueue {
269 __u32 flags; /* in, MSM_SUBMITQUEUE_x */
270 __u32 prio; /* in, Priority level */
271 __u32 id; /* out, identifier */
272};
273
257#define DRM_MSM_GET_PARAM 0x00274#define DRM_MSM_GET_PARAM 0x00
258/* placeholder:275/* placeholder:
259#define DRM_MSM_SET_PARAM 0x01276#define DRM_MSM_SET_PARAM 0x01
@@ -265,6 +282,11 @@ struct drm_msm_gem_madvise { · 5 unmodified lines
265#define DRM_MSM_GEM_SUBMIT 0x06282#define DRM_MSM_GEM_SUBMIT 0x06
266#define DRM_MSM_WAIT_FENCE 0x07283#define DRM_MSM_WAIT_FENCE 0x07
267#define DRM_MSM_GEM_MADVISE 0x08284#define DRM_MSM_GEM_MADVISE 0x08
285/* placeholder:
286#define DRM_MSM_GEM_SVM_NEW 0x09
287 */
288#define DRM_MSM_SUBMITQUEUE_NEW 0x0A
289#define DRM_MSM_SUBMITQUEUE_CLOSE 0x0B
268 290
269#define DRM_IOCTL_MSM_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GET_PARAM, struct drm_msm_param)291#define DRM_IOCTL_MSM_GET_PARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GET_PARAM, struct drm_msm_param)
270#define DRM_IOCTL_MSM_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_NEW, struct drm_msm_gem_new)292#define DRM_IOCTL_MSM_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_NEW, struct drm_msm_gem_new)
@@ -274,6 +296,8 @@ struct drm_msm_gem_madvise { · 3 unmodified lines
274#define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit)296#define DRM_IOCTL_MSM_GEM_SUBMIT DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_SUBMIT, struct drm_msm_gem_submit)
275#define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence)297#define DRM_IOCTL_MSM_WAIT_FENCE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_WAIT_FENCE, struct drm_msm_wait_fence)
276#define DRM_IOCTL_MSM_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_MADVISE, struct drm_msm_gem_madvise)298#define DRM_IOCTL_MSM_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_MADVISE, struct drm_msm_gem_madvise)
299#define DRM_IOCTL_MSM_SUBMITQUEUE_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_SUBMITQUEUE_NEW, struct drm_msm_submitqueue)
300#define DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE DRM_IOW (DRM_COMMAND_BASE + DRM_MSM_SUBMITQUEUE_CLOSE, __u32)
277 301
278#if defined(__cplusplus)302#if defined(__cplusplus)
279}303}
include/uapi/drm/omap_drm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/uapi/drm/omap_drm.h3 * include/uapi/drm/omap_drm.h
3 *4 *
include/uapi/drm/vc4_drm.h+19−0
@@ -41,6 +41,7 @@ extern "C" { · 40 unmodified lines
41#define DRM_VC4_SET_TILING 0x0841#define DRM_VC4_SET_TILING 0x08
42#define DRM_VC4_GET_TILING 0x0942#define DRM_VC4_GET_TILING 0x09
43#define DRM_VC4_LABEL_BO 0x0a43#define DRM_VC4_LABEL_BO 0x0a
44#define DRM_VC4_GEM_MADVISE 0x0b
44 45
45#define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl)46#define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl)
46#define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno)47#define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno)
@@ -53,6 +54,7 @@ extern "C" { · 6 unmodified lines
53#define DRM_IOCTL_VC4_SET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SET_TILING, struct drm_vc4_set_tiling)54#define DRM_IOCTL_VC4_SET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SET_TILING, struct drm_vc4_set_tiling)
54#define DRM_IOCTL_VC4_GET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_TILING, struct drm_vc4_get_tiling)55#define DRM_IOCTL_VC4_GET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_TILING, struct drm_vc4_get_tiling)
55#define DRM_IOCTL_VC4_LABEL_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_LABEL_BO, struct drm_vc4_label_bo)56#define DRM_IOCTL_VC4_LABEL_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_LABEL_BO, struct drm_vc4_label_bo)
57#define DRM_IOCTL_VC4_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GEM_MADVISE, struct drm_vc4_gem_madvise)
56 58
57struct drm_vc4_submit_rcl_surface {59struct drm_vc4_submit_rcl_surface {
58 __u32 hindex; /* Handle index, or ~0 if not present. */60 __u32 hindex; /* Handle index, or ~0 if not present. */
@@ -305,6 +307,7 @@ struct drm_vc4_get_hang_state { · 246 unmodified lines
305#define DRM_VC4_PARAM_SUPPORTS_ETC1 4307#define DRM_VC4_PARAM_SUPPORTS_ETC1 4
306#define DRM_VC4_PARAM_SUPPORTS_THREADED_FS 5308#define DRM_VC4_PARAM_SUPPORTS_THREADED_FS 5
307#define DRM_VC4_PARAM_SUPPORTS_FIXED_RCL_ORDER 6309#define DRM_VC4_PARAM_SUPPORTS_FIXED_RCL_ORDER 6
310#define DRM_VC4_PARAM_SUPPORTS_MADVISE 7
308 311
309struct drm_vc4_get_param {312struct drm_vc4_get_param {
310 __u32 param;313 __u32 param;
@@ -333,6 +336,22 @@ struct drm_vc4_label_bo { · 22 unmodified lines
333 __u64 name;336 __u64 name;
334};337};
335 338
339/*
340 * States prefixed with '__' are internal states and cannot be passed to the
341 * DRM_IOCTL_VC4_GEM_MADVISE ioctl.
342 */
343#define VC4_MADV_WILLNEED 0
344#define VC4_MADV_DONTNEED 1
345#define __VC4_MADV_PURGED 2
346#define __VC4_MADV_NOTSUPP 3
347
348struct drm_vc4_gem_madvise {
349 __u32 handle;
350 __u32 madv;
351 __u32 retained;
352 __u32 pad;
353};
354
336#if defined(__cplusplus)355#if defined(__cplusplus)
337}356}
338#endif357#endif
include/uapi/linux/a.out.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__A_OUT_GNU_H__2#ifndef _UAPI__A_OUT_GNU_H__
2#define _UAPI__A_OUT_GNU_H__3#define _UAPI__A_OUT_GNU_H__
3 4
include/uapi/linux/acct.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * BSD Process Accounting for Linux - Definitions3 * BSD Process Accounting for Linux - Definitions
3 *4 *
include/uapi/linux/adb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for ADB (Apple Desktop Bus) support.3 * Definitions for ADB (Apple Desktop Bus) support.
3 */4 */
include/uapi/linux/adfs_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_ADFS_FS_H2#ifndef _UAPI_ADFS_FS_H
2#define _UAPI_ADFS_FS_H3#define _UAPI_ADFS_FS_H
3 4
include/uapi/linux/affs_hardblocks.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef AFFS_HARDBLOCKS_H2#ifndef AFFS_HARDBLOCKS_H
2#define AFFS_HARDBLOCKS_H3#define AFFS_HARDBLOCKS_H
3 4
include/uapi/linux/am437x-vpfe.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2013 - 2014 Texas Instruments, Inc.3 * Copyright (C) 2013 - 2014 Texas Instruments, Inc.
3 *4 *
include/uapi/linux/android/binder.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2008 Google, Inc.3 * Copyright (C) 2008 Google, Inc.
3 *4 *
include/uapi/linux/apm_bios.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Include file for the interface to an APM BIOS3 * Include file for the interface to an APM BIOS
3 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
include/uapi/linux/arcfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_ARCFB_H__2#ifndef __LINUX_ARCFB_H__
2#define __LINUX_ARCFB_H__3#define __LINUX_ARCFB_H__
3 4
include/uapi/linux/aspeed-lpc-ctrl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 2017 IBM Corp.3 * Copyright 2017 IBM Corp.
3 *4 *
include/uapi/linux/atalk.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_ATALK_H__2#ifndef _UAPI__LINUX_ATALK_H__
2#define _UAPI__LINUX_ATALK_H__3#define _UAPI__LINUX_ATALK_H__
3 4
include/uapi/linux/atm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm.h - general ATM declarations */2/* atm.h - general ATM declarations */
2 3
3/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atm_eni.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm_eni.h - Driver-specific declarations of the ENI driver (for use by2/* atm_eni.h - Driver-specific declarations of the ENI driver (for use by
2 driver-specific utilities) */3 driver-specific utilities) */
3 4
include/uapi/linux/atm_he.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm_he.h */2/* atm_he.h */
2 3
3#ifndef LINUX_ATM_HE_H4#ifndef LINUX_ATM_HE_H
include/uapi/linux/atm_idt77105.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm_idt77105.h - Driver-specific declarations of the IDT77105 driver (for2/* atm_idt77105.h - Driver-specific declarations of the IDT77105 driver (for
2 * use by driver-specific utilities) */3 * use by driver-specific utilities) */
3 4
include/uapi/linux/atm_nicstar.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/******************************************************************************2/******************************************************************************
2 *3 *
3 * atm_nicstar.h4 * atm_nicstar.h
include/uapi/linux/atm_tcp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by2/* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by
2 driver-specific utilities) */3 driver-specific utilities) */
3 4
include/uapi/linux/atm_zatm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atm_zatm.h - Driver-specific declarations of the ZATM driver (for use by2/* atm_zatm.h - Driver-specific declarations of the ZATM driver (for use by
2 driver-specific utilities) */3 driver-specific utilities) */
3 4
include/uapi/linux/atmapi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmapi.h - ATM API user space/kernel compatibility */2/* atmapi.h - ATM API user space/kernel compatibility */
2 3
3/* Written 1999,2000 by Werner Almesberger, EPFL ICA */4/* Written 1999,2000 by Werner Almesberger, EPFL ICA */
include/uapi/linux/atmarp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */2/* atmarp.h - ATM ARP protocol and kernel-demon interface definitions */
2 3
3/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atmbr2684.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_ATMBR2684_H2#ifndef _LINUX_ATMBR2684_H
2#define _LINUX_ATMBR2684_H3#define _LINUX_ATMBR2684_H
3 4
include/uapi/linux/atmclip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmclip.h - Classical IP over ATM */2/* atmclip.h - Classical IP over ATM */
2 3
3/* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-1998 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atmdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmdev.h - ATM device driver declarations and various related items */2/* atmdev.h - ATM device driver declarations and various related items */
2 3
3/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atmioc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmioc.h - ranges for ATM-related ioctl numbers */2/* atmioc.h - ranges for ATM-related ioctl numbers */
2 3
3/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atmlec.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ATM Lan Emulation Daemon driver interface3 * ATM Lan Emulation Daemon driver interface
3 *4 *
include/uapi/linux/atmmpc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ATMMPC_H_2#ifndef _ATMMPC_H_
2#define _ATMMPC_H_3#define _ATMMPC_H_
3 4
include/uapi/linux/atmppp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmppp.h - RFC2364 PPPoATM */2/* atmppp.h - RFC2364 PPPoATM */
2 3
3/* Written 2000 by Mitchell Blank Jr */4/* Written 2000 by Mitchell Blank Jr */
include/uapi/linux/atmsap.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmsap.h - ATM Service Access Point addressing definitions */2/* atmsap.h - ATM Service Access Point addressing definitions */
2 3
3/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/atmsvc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* atmsvc.h - ATM signaling kernel-demon interface definitions */2/* atmsvc.h - ATM signaling kernel-demon interface definitions */
2 3
3/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/audit.h+8−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* audit.h -- Auditing support2/* audit.h -- Auditing support
2 *3 *
3 * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.4 * Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
@@ -112,6 +113,7 @@ · 108 unmodified lines
112#define AUDIT_FEATURE_CHANGE 1328 /* audit log listing feature changes */113#define AUDIT_FEATURE_CHANGE 1328 /* audit log listing feature changes */
113#define AUDIT_REPLACE 1329 /* Replace auditd if this packet unanswerd */114#define AUDIT_REPLACE 1329 /* Replace auditd if this packet unanswerd */
114#define AUDIT_KERN_MODULE 1330 /* Kernel Module events */115#define AUDIT_KERN_MODULE 1330 /* Kernel Module events */
116#define AUDIT_FANOTIFY 1331 /* Fanotify access decision */
115 117
116#define AUDIT_AVC 1400 /* SE Linux avc denial or grant */118#define AUDIT_AVC 1400 /* SE Linux avc denial or grant */
117#define AUDIT_SELINUX_ERR 1401 /* Internal SE Linux Errors */119#define AUDIT_SELINUX_ERR 1401 /* Internal SE Linux Errors */
@@ -155,8 +157,9 @@ · 37 unmodified lines
155#define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */157#define AUDIT_FILTER_WATCH 0x03 /* Apply rule to file system watches */
156#define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */158#define AUDIT_FILTER_EXIT 0x04 /* Apply rule at syscall exit */
157#define AUDIT_FILTER_TYPE 0x05 /* Apply rule at audit_log_start */159#define AUDIT_FILTER_TYPE 0x05 /* Apply rule at audit_log_start */
160#define AUDIT_FILTER_FS 0x06 /* Apply rule at __audit_inode_child */
158 161
159#define AUDIT_NR_FILTERS 6162#define AUDIT_NR_FILTERS 7
160 163
161#define AUDIT_FILTER_PREPEND 0x10 /* Prepend to front of list */164#define AUDIT_FILTER_PREPEND 0x10 /* Prepend to front of list */
162 165
@@ -256,6 +259,7 @@ · 93 unmodified lines
256#define AUDIT_OBJ_LEV_HIGH 23259#define AUDIT_OBJ_LEV_HIGH 23
257#define AUDIT_LOGINUID_SET 24260#define AUDIT_LOGINUID_SET 24
258#define AUDIT_SESSIONID 25 /* Session ID */261#define AUDIT_SESSIONID 25 /* Session ID */
262#define AUDIT_FSTYPE 26 /* FileSystem Type */
259 263
260 /* These are ONLY useful when checking264 /* These are ONLY useful when checking
261 * at syscall exit time (AUDIT_AT_EXIT). */265 * at syscall exit time (AUDIT_AT_EXIT). */
@@ -335,13 +339,15 @@ enum { · 73 unmodified lines
335#define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008339#define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008
336#define AUDIT_FEATURE_BITMAP_SESSIONID_FILTER 0x00000010340#define AUDIT_FEATURE_BITMAP_SESSIONID_FILTER 0x00000010
337#define AUDIT_FEATURE_BITMAP_LOST_RESET 0x00000020341#define AUDIT_FEATURE_BITMAP_LOST_RESET 0x00000020
342#define AUDIT_FEATURE_BITMAP_FILTER_FS 0x00000040
338 343
339#define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \344#define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \
340 AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \345 AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \
341 AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \346 AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \
342 AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND | \347 AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND | \
343 AUDIT_FEATURE_BITMAP_SESSIONID_FILTER | \348 AUDIT_FEATURE_BITMAP_SESSIONID_FILTER | \
344 AUDIT_FEATURE_BITMAP_LOST_RESET)349 AUDIT_FEATURE_BITMAP_LOST_RESET | \
350 AUDIT_FEATURE_BITMAP_FILTER_FS)
345 351
346/* deprecated: AUDIT_VERSION_* */352/* deprecated: AUDIT_VERSION_* */
347#define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL353#define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL
include/uapi/linux/auto_dev-ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 2008 Red Hat, Inc. All rights reserved.3 * Copyright 2008 Red Hat, Inc. All rights reserved.
3 * Copyright 2008 Ian Kent <raven@themaw.net>4 * Copyright 2008 Ian Kent <raven@themaw.net>
include/uapi/linux/auto_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 1997 Transmeta Corporation - All Rights Reserved3 * Copyright 1997 Transmeta Corporation - All Rights Reserved
3 *4 *
include/uapi/linux/auto_fs4.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>3 * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
3 *4 *
include/uapi/linux/auxvec.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_AUXVEC_H2#ifndef _UAPI_LINUX_AUXVEC_H
2#define _UAPI_LINUX_AUXVEC_H3#define _UAPI_LINUX_AUXVEC_H
3 4
include/uapi/linux/ax25.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * These are the public elements of the Linux kernel AX.25 code. A similar3 * These are the public elements of the Linux kernel AX.25 code. A similar
3 * file netrom.h exists for the NET/ROM protocol.4 * file netrom.h exists for the NET/ROM protocol.
include/uapi/linux/b1lli.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $2/* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $
2 *3 *
3 * ISDN lowlevel-module for AVM B1-card.4 * ISDN lowlevel-module for AVM B1-card.
include/uapi/linux/batman_adv.h+290−79
@@ -24,20 +24,6 @@ · 23 unmodified lines
24 24
25/**25/**
26 * enum batadv_tt_client_flags - TT client specific flags26 * enum batadv_tt_client_flags - TT client specific flags
27 * @BATADV_TT_CLIENT_DEL: the client has to be deleted from the table
28 * @BATADV_TT_CLIENT_ROAM: the client roamed to/from another node and the new
29 * update telling its new real location has not been received/sent yet
30 * @BATADV_TT_CLIENT_WIFI: this client is connected through a wifi interface.
31 * This information is used by the "AP Isolation" feature
32 * @BATADV_TT_CLIENT_ISOLA: this client is considered "isolated". This
33 * information is used by the Extended Isolation feature
34 * @BATADV_TT_CLIENT_NOPURGE: this client should never be removed from the table
35 * @BATADV_TT_CLIENT_NEW: this client has been added to the local table but has
36 * not been announced yet
37 * @BATADV_TT_CLIENT_PENDING: this client is marked for removal but it is kept
38 * in the table for one more originator interval for consistency purposes
39 * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be part of
40 * the network but no nnode has already announced it
41 *27 *
42 * Bits from 0 to 7 are called _remote flags_ because they are sent on the wire.28 * Bits from 0 to 7 are called _remote flags_ because they are sent on the wire.
43 * Bits from 8 to 15 are called _local flags_ because they are used for local29 * Bits from 8 to 15 are called _local flags_ because they are used for local
@@ -48,160 +34,385 @@ · 4 unmodified lines
48 * in the TT CRC computation.34 * in the TT CRC computation.
49 */35 */
50enum batadv_tt_client_flags {36enum batadv_tt_client_flags {
37 /**
38 * @BATADV_TT_CLIENT_DEL: the client has to be deleted from the table
39 */
51 BATADV_TT_CLIENT_DEL = (1 << 0),40 BATADV_TT_CLIENT_DEL = (1 << 0),
41
42 /**
43 * @BATADV_TT_CLIENT_ROAM: the client roamed to/from another node and
44 * the new update telling its new real location has not been
45 * received/sent yet
46 */
52 BATADV_TT_CLIENT_ROAM = (1 << 1),47 BATADV_TT_CLIENT_ROAM = (1 << 1),
48
49 /**
50 * @BATADV_TT_CLIENT_WIFI: this client is connected through a wifi
51 * interface. This information is used by the "AP Isolation" feature
52 */
53 BATADV_TT_CLIENT_WIFI = (1 << 4),53 BATADV_TT_CLIENT_WIFI = (1 << 4),
54
55 /**
56 * @BATADV_TT_CLIENT_ISOLA: this client is considered "isolated". This
57 * information is used by the Extended Isolation feature
58 */
54 BATADV_TT_CLIENT_ISOLA = (1 << 5),59 BATADV_TT_CLIENT_ISOLA = (1 << 5),
60
61 /**
62 * @BATADV_TT_CLIENT_NOPURGE: this client should never be removed from
63 * the table
64 */
55 BATADV_TT_CLIENT_NOPURGE = (1 << 8),65 BATADV_TT_CLIENT_NOPURGE = (1 << 8),
66
67 /**
68 * @BATADV_TT_CLIENT_NEW: this client has been added to the local table
69 * but has not been announced yet
70 */
56 BATADV_TT_CLIENT_NEW = (1 << 9),71 BATADV_TT_CLIENT_NEW = (1 << 9),
72
73 /**
74 * @BATADV_TT_CLIENT_PENDING: this client is marked for removal but it
75 * is kept in the table for one more originator interval for consistency
76 * purposes
77 */
57 BATADV_TT_CLIENT_PENDING = (1 << 10),78 BATADV_TT_CLIENT_PENDING = (1 << 10),
79
80 /**
81 * @BATADV_TT_CLIENT_TEMP: this global client has been detected to be
82 * part of the network but no nnode has already announced it
83 */
58 BATADV_TT_CLIENT_TEMP = (1 << 11),84 BATADV_TT_CLIENT_TEMP = (1 << 11),
59};85};
60 86
61/**87/**
62 * enum batadv_nl_attrs - batman-adv netlink attributes88 * enum batadv_nl_attrs - batman-adv netlink attributes
63 *
64 * @BATADV_ATTR_UNSPEC: unspecified attribute to catch errors
65 * @BATADV_ATTR_VERSION: batman-adv version string
66 * @BATADV_ATTR_ALGO_NAME: name of routing algorithm
67 * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface
68 * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface
69 * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface
70 * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface
71 * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface
72 * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv interface
73 * @BATADV_ATTR_ORIG_ADDRESS: originator mac address
74 * @BATADV_ATTR_TPMETER_RESULT: result of run (see batadv_tp_meter_status)
75 * @BATADV_ATTR_TPMETER_TEST_TIME: time (msec) the run took
76 * @BATADV_ATTR_TPMETER_BYTES: amount of acked bytes during run
77 * @BATADV_ATTR_TPMETER_COOKIE: session cookie to match tp_meter session
78 * @BATADV_ATTR_PAD: attribute used for padding for 64-bit alignment
79 * @BATADV_ATTR_ACTIVE: Flag indicating if the hard interface is active
80 * @BATADV_ATTR_TT_ADDRESS: Client MAC address
81 * @BATADV_ATTR_TT_TTVN: Translation table version
82 * @BATADV_ATTR_TT_LAST_TTVN: Previous translation table version
83 * @BATADV_ATTR_TT_CRC32: CRC32 over translation table
84 * @BATADV_ATTR_TT_VID: VLAN ID
85 * @BATADV_ATTR_TT_FLAGS: Translation table client flags
86 * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best
87 * @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen
88 * @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address
89 * @BATADV_ATTR_TQ: TQ to neighbour
90 * @BATADV_ATTR_THROUGHPUT: Estimated throughput to Neighbour
91 * @BATADV_ATTR_BANDWIDTH_UP: Reported uplink bandwidth
92 * @BATADV_ATTR_BANDWIDTH_DOWN: Reported downlink bandwidth
93 * @BATADV_ATTR_ROUTER: Gateway router MAC address
94 * @BATADV_ATTR_BLA_OWN: Flag indicating own originator
95 * @BATADV_ATTR_BLA_ADDRESS: Bridge loop avoidance claim MAC address
96 * @BATADV_ATTR_BLA_VID: BLA VLAN ID
97 * @BATADV_ATTR_BLA_BACKBONE: BLA gateway originator MAC address
98 * @BATADV_ATTR_BLA_CRC: BLA CRC
99 * @__BATADV_ATTR_AFTER_LAST: internal use
100 * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available
101 * @BATADV_ATTR_MAX: highest attribute number currently defined
102 */89 */
103enum batadv_nl_attrs {90enum batadv_nl_attrs {
91 /**
92 * @BATADV_ATTR_UNSPEC: unspecified attribute to catch errors
93 */
104 BATADV_ATTR_UNSPEC,94 BATADV_ATTR_UNSPEC,
95
96 /**
97 * @BATADV_ATTR_VERSION: batman-adv version string
98 */
105 BATADV_ATTR_VERSION,99 BATADV_ATTR_VERSION,
100
101 /**
102 * @BATADV_ATTR_ALGO_NAME: name of routing algorithm
103 */
106 BATADV_ATTR_ALGO_NAME,104 BATADV_ATTR_ALGO_NAME,
105
106 /**
107 * @BATADV_ATTR_MESH_IFINDEX: index of the batman-adv interface
108 */
107 BATADV_ATTR_MESH_IFINDEX,109 BATADV_ATTR_MESH_IFINDEX,
110
111 /**
112 * @BATADV_ATTR_MESH_IFNAME: name of the batman-adv interface
113 */
108 BATADV_ATTR_MESH_IFNAME,114 BATADV_ATTR_MESH_IFNAME,
115
116 /**
117 * @BATADV_ATTR_MESH_ADDRESS: mac address of the batman-adv interface
118 */
109 BATADV_ATTR_MESH_ADDRESS,119 BATADV_ATTR_MESH_ADDRESS,
120
121 /**
122 * @BATADV_ATTR_HARD_IFINDEX: index of the non-batman-adv interface
123 */
110 BATADV_ATTR_HARD_IFINDEX,124 BATADV_ATTR_HARD_IFINDEX,
125
126 /**
127 * @BATADV_ATTR_HARD_IFNAME: name of the non-batman-adv interface
128 */
111 BATADV_ATTR_HARD_IFNAME,129 BATADV_ATTR_HARD_IFNAME,
130
131 /**
132 * @BATADV_ATTR_HARD_ADDRESS: mac address of the non-batman-adv
133 * interface
134 */
112 BATADV_ATTR_HARD_ADDRESS,135 BATADV_ATTR_HARD_ADDRESS,
136
137 /**
138 * @BATADV_ATTR_ORIG_ADDRESS: originator mac address
139 */
113 BATADV_ATTR_ORIG_ADDRESS,140 BATADV_ATTR_ORIG_ADDRESS,
141
142 /**
143 * @BATADV_ATTR_TPMETER_RESULT: result of run (see
144 * batadv_tp_meter_status)
145 */
114 BATADV_ATTR_TPMETER_RESULT,146 BATADV_ATTR_TPMETER_RESULT,
147
148 /**
149 * @BATADV_ATTR_TPMETER_TEST_TIME: time (msec) the run took
150 */
115 BATADV_ATTR_TPMETER_TEST_TIME,151 BATADV_ATTR_TPMETER_TEST_TIME,
152
153 /**
154 * @BATADV_ATTR_TPMETER_BYTES: amount of acked bytes during run
155 */
116 BATADV_ATTR_TPMETER_BYTES,156 BATADV_ATTR_TPMETER_BYTES,
157
158 /**
159 * @BATADV_ATTR_TPMETER_COOKIE: session cookie to match tp_meter session
160 */
117 BATADV_ATTR_TPMETER_COOKIE,161 BATADV_ATTR_TPMETER_COOKIE,
162
163 /**
164 * @BATADV_ATTR_PAD: attribute used for padding for 64-bit alignment
165 */
118 BATADV_ATTR_PAD,166 BATADV_ATTR_PAD,
167
168 /**
169 * @BATADV_ATTR_ACTIVE: Flag indicating if the hard interface is active
170 */
119 BATADV_ATTR_ACTIVE,171 BATADV_ATTR_ACTIVE,
172
173 /**
174 * @BATADV_ATTR_TT_ADDRESS: Client MAC address
175 */
120 BATADV_ATTR_TT_ADDRESS,176 BATADV_ATTR_TT_ADDRESS,
177
178 /**
179 * @BATADV_ATTR_TT_TTVN: Translation table version
180 */
121 BATADV_ATTR_TT_TTVN,181 BATADV_ATTR_TT_TTVN,
182
183 /**
184 * @BATADV_ATTR_TT_LAST_TTVN: Previous translation table version
185 */
122 BATADV_ATTR_TT_LAST_TTVN,186 BATADV_ATTR_TT_LAST_TTVN,
187
188 /**
189 * @BATADV_ATTR_TT_CRC32: CRC32 over translation table
190 */
123 BATADV_ATTR_TT_CRC32,191 BATADV_ATTR_TT_CRC32,
192
193 /**
194 * @BATADV_ATTR_TT_VID: VLAN ID
195 */
124 BATADV_ATTR_TT_VID,196 BATADV_ATTR_TT_VID,
197
198 /**
199 * @BATADV_ATTR_TT_FLAGS: Translation table client flags
200 */
125 BATADV_ATTR_TT_FLAGS,201 BATADV_ATTR_TT_FLAGS,
202
203 /**
204 * @BATADV_ATTR_FLAG_BEST: Flags indicating entry is the best
205 */
126 BATADV_ATTR_FLAG_BEST,206 BATADV_ATTR_FLAG_BEST,
207
208 /**
209 * @BATADV_ATTR_LAST_SEEN_MSECS: Time in milliseconds since last seen
210 */
127 BATADV_ATTR_LAST_SEEN_MSECS,211 BATADV_ATTR_LAST_SEEN_MSECS,
212
213 /**
214 * @BATADV_ATTR_NEIGH_ADDRESS: Neighbour MAC address
215 */
128 BATADV_ATTR_NEIGH_ADDRESS,216 BATADV_ATTR_NEIGH_ADDRESS,
217
218 /**
219 * @BATADV_ATTR_TQ: TQ to neighbour
220 */
129 BATADV_ATTR_TQ,221 BATADV_ATTR_TQ,
222
223 /**
224 * @BATADV_ATTR_THROUGHPUT: Estimated throughput to Neighbour
225 */
130 BATADV_ATTR_THROUGHPUT,226 BATADV_ATTR_THROUGHPUT,
227
228 /**
229 * @BATADV_ATTR_BANDWIDTH_UP: Reported uplink bandwidth
230 */
131 BATADV_ATTR_BANDWIDTH_UP,231 BATADV_ATTR_BANDWIDTH_UP,
232
233 /**
234 * @BATADV_ATTR_BANDWIDTH_DOWN: Reported downlink bandwidth
235 */
132 BATADV_ATTR_BANDWIDTH_DOWN,236 BATADV_ATTR_BANDWIDTH_DOWN,
237
238 /**
239 * @BATADV_ATTR_ROUTER: Gateway router MAC address
240 */
133 BATADV_ATTR_ROUTER,241 BATADV_ATTR_ROUTER,
242
243 /**
244 * @BATADV_ATTR_BLA_OWN: Flag indicating own originator
245 */
134 BATADV_ATTR_BLA_OWN,246 BATADV_ATTR_BLA_OWN,
247
248 /**
249 * @BATADV_ATTR_BLA_ADDRESS: Bridge loop avoidance claim MAC address
250 */
135 BATADV_ATTR_BLA_ADDRESS,251 BATADV_ATTR_BLA_ADDRESS,
252
253 /**
254 * @BATADV_ATTR_BLA_VID: BLA VLAN ID
255 */
136 BATADV_ATTR_BLA_VID,256 BATADV_ATTR_BLA_VID,
257
258 /**
259 * @BATADV_ATTR_BLA_BACKBONE: BLA gateway originator MAC address
260 */
137 BATADV_ATTR_BLA_BACKBONE,261 BATADV_ATTR_BLA_BACKBONE,
262
263 /**
264 * @BATADV_ATTR_BLA_CRC: BLA CRC
265 */
138 BATADV_ATTR_BLA_CRC,266 BATADV_ATTR_BLA_CRC,
267
139 /* add attributes above here, update the policy in netlink.c */268 /* add attributes above here, update the policy in netlink.c */
269
270 /**
271 * @__BATADV_ATTR_AFTER_LAST: internal use
272 */
140 __BATADV_ATTR_AFTER_LAST,273 __BATADV_ATTR_AFTER_LAST,
274
275 /**
276 * @NUM_BATADV_ATTR: total number of batadv_nl_attrs available
277 */
141 NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST,278 NUM_BATADV_ATTR = __BATADV_ATTR_AFTER_LAST,
279
280 /**
281 * @BATADV_ATTR_MAX: highest attribute number currently defined
282 */
142 BATADV_ATTR_MAX = __BATADV_ATTR_AFTER_LAST - 1283 BATADV_ATTR_MAX = __BATADV_ATTR_AFTER_LAST - 1
143};284};
144 285
145/**286/**
146 * enum batadv_nl_commands - supported batman-adv netlink commands287 * enum batadv_nl_commands - supported batman-adv netlink commands
147 *
148 * @BATADV_CMD_UNSPEC: unspecified command to catch errors
149 * @BATADV_CMD_GET_MESH_INFO: Query basic information about batman-adv device
150 * @BATADV_CMD_TP_METER: Start a tp meter session
151 * @BATADV_CMD_TP_METER_CANCEL: Cancel a tp meter session
152 * @BATADV_CMD_GET_ROUTING_ALGOS: Query the list of routing algorithms.
153 * @BATADV_CMD_GET_HARDIFS: Query list of hard interfaces
154 * @BATADV_CMD_GET_TRANSTABLE_LOCAL: Query list of local translations
155 * @BATADV_CMD_GET_TRANSTABLE_GLOBAL Query list of global translations
156 * @BATADV_CMD_GET_ORIGINATORS: Query list of originators
157 * @BATADV_CMD_GET_NEIGHBORS: Query list of neighbours
158 * @BATADV_CMD_GET_GATEWAYS: Query list of gateways
159 * @BATADV_CMD_GET_BLA_CLAIM: Query list of bridge loop avoidance claims
160 * @BATADV_CMD_GET_BLA_BACKBONE: Query list of bridge loop avoidance backbones
161 * @__BATADV_CMD_AFTER_LAST: internal use
162 * @BATADV_CMD_MAX: highest used command number
163 */288 */
164enum batadv_nl_commands {289enum batadv_nl_commands {
290 /**
291 * @BATADV_CMD_UNSPEC: unspecified command to catch errors
292 */
165 BATADV_CMD_UNSPEC,293 BATADV_CMD_UNSPEC,
294
295 /**
296 * @BATADV_CMD_GET_MESH_INFO: Query basic information about batman-adv
297 * device
298 */
166 BATADV_CMD_GET_MESH_INFO,299 BATADV_CMD_GET_MESH_INFO,
300
301 /**
302 * @BATADV_CMD_TP_METER: Start a tp meter session
303 */
167 BATADV_CMD_TP_METER,304 BATADV_CMD_TP_METER,
305
306 /**
307 * @BATADV_CMD_TP_METER_CANCEL: Cancel a tp meter session
308 */
168 BATADV_CMD_TP_METER_CANCEL,309 BATADV_CMD_TP_METER_CANCEL,
310
311 /**
312 * @BATADV_CMD_GET_ROUTING_ALGOS: Query the list of routing algorithms.
313 */
169 BATADV_CMD_GET_ROUTING_ALGOS,314 BATADV_CMD_GET_ROUTING_ALGOS,
315
316 /**
317 * @BATADV_CMD_GET_HARDIFS: Query list of hard interfaces
318 */
170 BATADV_CMD_GET_HARDIFS,319 BATADV_CMD_GET_HARDIFS,
320
321 /**
322 * @BATADV_CMD_GET_TRANSTABLE_LOCAL: Query list of local translations
323 */
171 BATADV_CMD_GET_TRANSTABLE_LOCAL,324 BATADV_CMD_GET_TRANSTABLE_LOCAL,
325
326 /**
327 * @BATADV_CMD_GET_TRANSTABLE_GLOBAL: Query list of global translations
328 */
172 BATADV_CMD_GET_TRANSTABLE_GLOBAL,329 BATADV_CMD_GET_TRANSTABLE_GLOBAL,
330
331 /**
332 * @BATADV_CMD_GET_ORIGINATORS: Query list of originators
333 */
173 BATADV_CMD_GET_ORIGINATORS,334 BATADV_CMD_GET_ORIGINATORS,
335
336 /**
337 * @BATADV_CMD_GET_NEIGHBORS: Query list of neighbours
338 */
174 BATADV_CMD_GET_NEIGHBORS,339 BATADV_CMD_GET_NEIGHBORS,
340
341 /**
342 * @BATADV_CMD_GET_GATEWAYS: Query list of gateways
343 */
175 BATADV_CMD_GET_GATEWAYS,344 BATADV_CMD_GET_GATEWAYS,
345
346 /**
347 * @BATADV_CMD_GET_BLA_CLAIM: Query list of bridge loop avoidance claims
348 */
176 BATADV_CMD_GET_BLA_CLAIM,349 BATADV_CMD_GET_BLA_CLAIM,
350
351 /**
352 * @BATADV_CMD_GET_BLA_BACKBONE: Query list of bridge loop avoidance
353 * backbones
354 */
177 BATADV_CMD_GET_BLA_BACKBONE,355 BATADV_CMD_GET_BLA_BACKBONE,
356
178 /* add new commands above here */357 /* add new commands above here */
358
359 /**
360 * @__BATADV_CMD_AFTER_LAST: internal use
361 */
179 __BATADV_CMD_AFTER_LAST,362 __BATADV_CMD_AFTER_LAST,
363
364 /**
365 * @BATADV_CMD_MAX: highest used command number
366 */
180 BATADV_CMD_MAX = __BATADV_CMD_AFTER_LAST - 1367 BATADV_CMD_MAX = __BATADV_CMD_AFTER_LAST - 1
181};368};
182 369
183/**370/**
184 * enum batadv_tp_meter_reason - reason of a tp meter test run stop371 * enum batadv_tp_meter_reason - reason of a tp meter test run stop
185 * @BATADV_TP_REASON_COMPLETE: sender finished tp run
186 * @BATADV_TP_REASON_CANCEL: sender was stopped during run
187 * @BATADV_TP_REASON_DST_UNREACHABLE: receiver could not be reached or didn't
188 * answer
189 * @BATADV_TP_REASON_RESEND_LIMIT: (unused) sender retry reached limit
190 * @BATADV_TP_REASON_ALREADY_ONGOING: test to or from the same node already
191 * ongoing
192 * @BATADV_TP_REASON_MEMORY_ERROR: test was stopped due to low memory
193 * @BATADV_TP_REASON_CANT_SEND: failed to send via outgoing interface
194 * @BATADV_TP_REASON_TOO_MANY: too many ongoing sessions
195 */372 */
196enum batadv_tp_meter_reason {373enum batadv_tp_meter_reason {
374 /**
375 * @BATADV_TP_REASON_COMPLETE: sender finished tp run
376 */
197 BATADV_TP_REASON_COMPLETE = 3,377 BATADV_TP_REASON_COMPLETE = 3,
378
379 /**
380 * @BATADV_TP_REASON_CANCEL: sender was stopped during run
381 */
198 BATADV_TP_REASON_CANCEL = 4,382 BATADV_TP_REASON_CANCEL = 4,
383
199 /* error status >= 128 */384 /* error status >= 128 */
385
386 /**
387 * @BATADV_TP_REASON_DST_UNREACHABLE: receiver could not be reached or
388 * didn't answer
389 */
200 BATADV_TP_REASON_DST_UNREACHABLE = 128,390 BATADV_TP_REASON_DST_UNREACHABLE = 128,
391
392 /**
393 * @BATADV_TP_REASON_RESEND_LIMIT: (unused) sender retry reached limit
394 */
201 BATADV_TP_REASON_RESEND_LIMIT = 129,395 BATADV_TP_REASON_RESEND_LIMIT = 129,
396
397 /**
398 * @BATADV_TP_REASON_ALREADY_ONGOING: test to or from the same node
399 * already ongoing
400 */
202 BATADV_TP_REASON_ALREADY_ONGOING = 130,401 BATADV_TP_REASON_ALREADY_ONGOING = 130,
402
403 /**
404 * @BATADV_TP_REASON_MEMORY_ERROR: test was stopped due to low memory
405 */
203 BATADV_TP_REASON_MEMORY_ERROR = 131,406 BATADV_TP_REASON_MEMORY_ERROR = 131,
407
408 /**
409 * @BATADV_TP_REASON_CANT_SEND: failed to send via outgoing interface
410 */
204 BATADV_TP_REASON_CANT_SEND = 132,411 BATADV_TP_REASON_CANT_SEND = 132,
412
413 /**
414 * @BATADV_TP_REASON_TOO_MANY: too many ongoing sessions
415 */
205 BATADV_TP_REASON_TOO_MANY = 133,416 BATADV_TP_REASON_TOO_MANY = 133,
206};417};
207 418
include/uapi/linux/baycom.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * The Linux BAYCOM driver for the Baycom serial 1200 baud modem3 * The Linux BAYCOM driver for the Baycom serial 1200 baud modem
3 * and the parallel 9600 baud modem4 * and the parallel 9600 baud modem
include/uapi/linux/bcache.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_BCACHE_H2#ifndef _LINUX_BCACHE_H
2#define _LINUX_BCACHE_H3#define _LINUX_BCACHE_H
3 4
include/uapi/linux/bcm933xx_hcs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Broadcom Cable Modem firmware format3 * Broadcom Cable Modem firmware format
3 */4 */
include/uapi/linux/bfs_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/bfs_fs.h - BFS data structures on disk.3 * include/linux/bfs_fs.h - BFS data structures on disk.
3 * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com>4 * Copyright (C) 1999 Tigran Aivazian <tigran@veritas.com>
include/uapi/linux/binfmts.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_BINFMTS_H2#ifndef _UAPI_LINUX_BINFMTS_H
2#define _UAPI_LINUX_BINFMTS_H3#define _UAPI_LINUX_BINFMTS_H
3 4
include/uapi/linux/blkpg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_BLKPG_H2#ifndef _UAPI__LINUX_BLKPG_H
2#define _UAPI__LINUX_BLKPG_H3#define _UAPI__LINUX_BLKPG_H
3 4
include/uapi/linux/blktrace_api.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPIBLKTRACE_H2#ifndef _UAPIBLKTRACE_H
2#define _UAPIBLKTRACE_H3#define _UAPIBLKTRACE_H
3 4
include/uapi/linux/blkzoned.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Zoned block devices handling.3 * Zoned block devices handling.
3 *4 *
include/uapi/linux/bpf.h+149−13
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com2/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
2 *3 *
3 * This program is free software; you can redistribute it and/or4 * This program is free software; you can redistribute it and/or
@@ -92,6 +93,7 @@ enum bpf_cmd { · 88 unmodified lines
92 BPF_PROG_GET_FD_BY_ID,93 BPF_PROG_GET_FD_BY_ID,
93 BPF_MAP_GET_FD_BY_ID,94 BPF_MAP_GET_FD_BY_ID,
94 BPF_OBJ_GET_INFO_BY_FD,95 BPF_OBJ_GET_INFO_BY_FD,
96 BPF_PROG_QUERY,
95};97};
96 98
97enum bpf_map_type {99enum bpf_map_type {
@@ -111,6 +113,7 @@ enum bpf_map_type { · 13 unmodified lines
111 BPF_MAP_TYPE_HASH_OF_MAPS,113 BPF_MAP_TYPE_HASH_OF_MAPS,
112 BPF_MAP_TYPE_DEVMAP,114 BPF_MAP_TYPE_DEVMAP,
113 BPF_MAP_TYPE_SOCKMAP,115 BPF_MAP_TYPE_SOCKMAP,
116 BPF_MAP_TYPE_CPUMAP,
114};117};
115 118
116enum bpf_prog_type {119enum bpf_prog_type {
@@ -129,6 +132,7 @@ enum bpf_prog_type { · 12 unmodified lines
129 BPF_PROG_TYPE_LWT_XMIT,132 BPF_PROG_TYPE_LWT_XMIT,
130 BPF_PROG_TYPE_SOCK_OPS,133 BPF_PROG_TYPE_SOCK_OPS,
131 BPF_PROG_TYPE_SK_SKB,134 BPF_PROG_TYPE_SK_SKB,
135 BPF_PROG_TYPE_CGROUP_DEVICE,
132};136};
133 137
134enum bpf_attach_type {138enum bpf_attach_type {
@@ -138,16 +142,53 @@ enum bpf_attach_type { · 3 unmodified lines
138 BPF_CGROUP_SOCK_OPS,142 BPF_CGROUP_SOCK_OPS,
139 BPF_SK_SKB_STREAM_PARSER,143 BPF_SK_SKB_STREAM_PARSER,
140 BPF_SK_SKB_STREAM_VERDICT,144 BPF_SK_SKB_STREAM_VERDICT,
145 BPF_CGROUP_DEVICE,
141 __MAX_BPF_ATTACH_TYPE146 __MAX_BPF_ATTACH_TYPE
142};147};
143 148
144#define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE149#define MAX_BPF_ATTACH_TYPE __MAX_BPF_ATTACH_TYPE
145 150
146/* If BPF_F_ALLOW_OVERRIDE flag is used in BPF_PROG_ATTACH command151/* cgroup-bpf attach flags used in BPF_PROG_ATTACH command
147 * to the given target_fd cgroup the descendent cgroup will be able to152 *
148 * override effective bpf program that was inherited from this cgroup153 * NONE(default): No further bpf programs allowed in the subtree.
154 *
155 * BPF_F_ALLOW_OVERRIDE: If a sub-cgroup installs some bpf program,
156 * the program in this cgroup yields to sub-cgroup program.
157 *
158 * BPF_F_ALLOW_MULTI: If a sub-cgroup installs some bpf program,
159 * that cgroup program gets run in addition to the program in this cgroup.
160 *
161 * Only one program is allowed to be attached to a cgroup with
162 * NONE or BPF_F_ALLOW_OVERRIDE flag.
163 * Attaching another program on top of NONE or BPF_F_ALLOW_OVERRIDE will
164 * release old program and attach the new one. Attach flags has to match.
165 *
166 * Multiple programs are allowed to be attached to a cgroup with
167 * BPF_F_ALLOW_MULTI flag. They are executed in FIFO order
168 * (those that were attached first, run first)
169 * The programs of sub-cgroup are executed first, then programs of
170 * this cgroup and then programs of parent cgroup.
171 * When children program makes decision (like picking TCP CA or sock bind)
172 * parent program has a chance to override it.
173 *
174 * A cgroup with MULTI or OVERRIDE flag allows any attach flags in sub-cgroups.
175 * A cgroup with NONE doesn't allow any programs in sub-cgroups.
176 * Ex1:
177 * cgrp1 (MULTI progs A, B) ->
178 * cgrp2 (OVERRIDE prog C) ->
179 * cgrp3 (MULTI prog D) ->
180 * cgrp4 (OVERRIDE prog E) ->
181 * cgrp5 (NONE prog F)
182 * the event in cgrp5 triggers execution of F,D,A,B in that order.
183 * if prog F is detached, the execution is E,D,A,B
184 * if prog F and D are detached, the execution is E,A,B
185 * if prog F, E and D are detached, the execution is C,A,B
186 *
187 * All eligible programs are executed regardless of return code from
188 * earlier programs.
149 */189 */
150#define BPF_F_ALLOW_OVERRIDE (1U << 0)190#define BPF_F_ALLOW_OVERRIDE (1U << 0)
191#define BPF_F_ALLOW_MULTI (1U << 1)
151 192
152/* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the193/* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the
153 * verifier will perform strict alignment checking as if the kernel194 * verifier will perform strict alignment checking as if the kernel
@@ -175,6 +216,15 @@ enum bpf_attach_type { · 21 unmodified lines
175/* Specify numa node during map creation */216/* Specify numa node during map creation */
176#define BPF_F_NUMA_NODE (1U << 2)217#define BPF_F_NUMA_NODE (1U << 2)
177 218
219/* flags for BPF_PROG_QUERY */
220#define BPF_F_QUERY_EFFECTIVE (1U << 0)
221
222#define BPF_OBJ_NAME_LEN 16U
223
224/* Flags for accessing BPF object */
225#define BPF_F_RDONLY (1U << 3)
226#define BPF_F_WRONLY (1U << 4)
227
178union bpf_attr {228union bpf_attr {
179 struct { /* anonymous struct used by BPF_MAP_CREATE command */229 struct { /* anonymous struct used by BPF_MAP_CREATE command */
180 __u32 map_type; /* one of enum bpf_map_type */230 __u32 map_type; /* one of enum bpf_map_type */
@@ -188,6 +238,7 @@ union bpf_attr { · 7 unmodified lines
188 __u32 numa_node; /* numa node (effective only if238 __u32 numa_node; /* numa node (effective only if
189 * BPF_F_NUMA_NODE is set).239 * BPF_F_NUMA_NODE is set).
190 */240 */
241 char map_name[BPF_OBJ_NAME_LEN];
191 };242 };
192 243
193 struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */244 struct { /* anonymous struct used by BPF_MAP_*_ELEM commands */
@@ -210,11 +261,14 @@ union bpf_attr { · 16 unmodified lines
210 __aligned_u64 log_buf; /* user supplied buffer */261 __aligned_u64 log_buf; /* user supplied buffer */
211 __u32 kern_version; /* checked when prog_type=kprobe */262 __u32 kern_version; /* checked when prog_type=kprobe */
212 __u32 prog_flags;263 __u32 prog_flags;
264 char prog_name[BPF_OBJ_NAME_LEN];
265 __u32 prog_ifindex; /* ifindex of netdev to prep for */
213 };266 };
214 267
215 struct { /* anonymous struct used by BPF_OBJ_* commands */268 struct { /* anonymous struct used by BPF_OBJ_* commands */
216 __aligned_u64 pathname;269 __aligned_u64 pathname;
217 __u32 bpf_fd;270 __u32 bpf_fd;
271 __u32 file_flags;
218 };272 };
219 273
220 struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */274 struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */
@@ -242,6 +296,7 @@ union bpf_attr { · 21 unmodified lines
242 __u32 map_id;296 __u32 map_id;
243 };297 };
244 __u32 next_id;298 __u32 next_id;
299 __u32 open_flags;
245 };300 };
246 301
247 struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */302 struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */
@@ -249,6 +304,15 @@ union bpf_attr { · 1 unmodified line
249 __u32 info_len;304 __u32 info_len;
250 __aligned_u64 info;305 __aligned_u64 info;
251 } info;306 } info;
307
308 struct { /* anonymous struct used by BPF_PROG_QUERY command */
309 __u32 target_fd; /* container object to query */
310 __u32 attach_type;
311 __u32 query_flags;
312 __u32 attach_flags;
313 __aligned_u64 prog_ids;
314 __u32 prog_cnt;
315 } query;
252} __attribute__((aligned(8)));316} __attribute__((aligned(8)));
253 317
254/* BPF helper function descriptions:318/* BPF helper function descriptions:
@@ -312,7 +376,7 @@ union bpf_attr { · 57 unmodified lines
312 * jump into another BPF program376 * jump into another BPF program
313 * @ctx: context pointer passed to next program377 * @ctx: context pointer passed to next program
314 * @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY378 * @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY
315 * @index: index inside array that selects specific program to run379 * @index: 32-bit index inside array that selects specific program to run
316 * Return: 0 on success or negative error380 * Return: 0 on success or negative error
317 *381 *
318 * int bpf_clone_redirect(skb, ifindex, flags)382 * int bpf_clone_redirect(skb, ifindex, flags)
@@ -553,12 +617,22 @@ union bpf_attr { · 234 unmodified lines
553 * int bpf_setsockopt(bpf_socket, level, optname, optval, optlen)617 * int bpf_setsockopt(bpf_socket, level, optname, optval, optlen)
554 * Calls setsockopt. Not all opts are available, only those with618 * Calls setsockopt. Not all opts are available, only those with
555 * integer optvals plus TCP_CONGESTION.619 * integer optvals plus TCP_CONGESTION.
556 * Supported levels: SOL_SOCKET and IPROTO_TCP620 * Supported levels: SOL_SOCKET and IPPROTO_TCP
621 * @bpf_socket: pointer to bpf_socket
622 * @level: SOL_SOCKET or IPPROTO_TCP
623 * @optname: option name
624 * @optval: pointer to option value
625 * @optlen: length of optval in bytes
626 * Return: 0 or negative error
627 *
628 * int bpf_getsockopt(bpf_socket, level, optname, optval, optlen)
629 * Calls getsockopt. Not all opts are available.
630 * Supported levels: IPPROTO_TCP
557 * @bpf_socket: pointer to bpf_socket631 * @bpf_socket: pointer to bpf_socket
558 * @level: SOL_SOCKET or IPROTO_TCP632 * @level: IPPROTO_TCP
559 * @optname: option name633 * @optname: option name
560 * @optval: pointer to option value634 * @optval: pointer to option value
561 * @optlen: length of optval in byes635 * @optlen: length of optval in bytes
562 * Return: 0 or negative error636 * Return: 0 or negative error
563 *637 *
564 * int bpf_skb_adjust_room(skb, len_diff, mode, flags)638 * int bpf_skb_adjust_room(skb, len_diff, mode, flags)
@@ -575,13 +649,34 @@ union bpf_attr { · 10 unmodified lines
575 * @map: pointer to sockmap649 * @map: pointer to sockmap
576 * @key: key to lookup sock in map650 * @key: key to lookup sock in map
577 * @flags: reserved for future use651 * @flags: reserved for future use
578 * Return: SK_REDIRECT652 * Return: SK_PASS
579 *653 *
580 * int bpf_sock_map_update(skops, map, key, flags)654 * int bpf_sock_map_update(skops, map, key, flags)
581 * @skops: pointer to bpf_sock_ops655 * @skops: pointer to bpf_sock_ops
582 * @map: pointer to sockmap to update656 * @map: pointer to sockmap to update
583 * @key: key to insert/update sock in map657 * @key: key to insert/update sock in map
584 * @flags: same flags as map update elem658 * @flags: same flags as map update elem
659 *
660 * int bpf_xdp_adjust_meta(xdp_md, delta)
661 * Adjust the xdp_md.data_meta by delta
662 * @xdp_md: pointer to xdp_md
663 * @delta: An positive/negative integer to be added to xdp_md.data_meta
664 * Return: 0 on success or negative on error
665 *
666 * int bpf_perf_event_read_value(map, flags, buf, buf_size)
667 * read perf event counter value and perf event enabled/running time
668 * @map: pointer to perf_event_array map
669 * @flags: index of event in the map or bitmask flags
670 * @buf: buf to fill
671 * @buf_size: size of the buf
672 * Return: 0 on success or negative error code
673 *
674 * int bpf_perf_prog_read_value(ctx, buf, buf_size)
675 * read perf prog attached perf event counter and enabled/running time
676 * @ctx: pointer to ctx
677 * @buf: buf to fill
678 * @buf_size: size of the buf
679 * Return : 0 on success or negative error code
585 */680 */
586#define __BPF_FUNC_MAPPER(FN) \681#define __BPF_FUNC_MAPPER(FN) \
587 FN(unspec), \682 FN(unspec), \
@@ -638,6 +733,10 @@ union bpf_attr { · 50 unmodified lines
638 FN(redirect_map), \733 FN(redirect_map), \
639 FN(sk_redirect_map), \734 FN(sk_redirect_map), \
640 FN(sock_map_update), \735 FN(sock_map_update), \
736 FN(xdp_adjust_meta), \
737 FN(perf_event_read_value), \
738 FN(perf_prog_read_value), \
739 FN(getsockopt),
641 740
642/* integer value in 'imm' field of BPF_CALL instruction selects which helper741/* integer value in 'imm' field of BPF_CALL instruction selects which helper
643 * function eBPF program intends to call742 * function eBPF program intends to call
@@ -681,7 +780,9 @@ enum bpf_func_id { · 37 unmodified lines
681#define BPF_F_ZERO_CSUM_TX (1ULL << 1)780#define BPF_F_ZERO_CSUM_TX (1ULL << 1)
682#define BPF_F_DONT_FRAGMENT (1ULL << 2)781#define BPF_F_DONT_FRAGMENT (1ULL << 2)
683 782
684/* BPF_FUNC_perf_event_output and BPF_FUNC_perf_event_read flags. */783/* BPF_FUNC_perf_event_output, BPF_FUNC_perf_event_read and
784 * BPF_FUNC_perf_event_read_value flags.
785 */
685#define BPF_F_INDEX_MASK 0xffffffffULL786#define BPF_F_INDEX_MASK 0xffffffffULL
686#define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK787#define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK
687/* BPF_FUNC_perf_event_output for sk_buff input context. */788/* BPF_FUNC_perf_event_output for sk_buff input context. */
@@ -715,7 +816,7 @@ struct __sk_buff { · 27 unmodified lines
715 __u32 data_end;816 __u32 data_end;
716 __u32 napi_id;817 __u32 napi_id;
717 818
718 /* accessed by BPF_PROG_TYPE_sk_skb types */819 /* Accessed by BPF_PROG_TYPE_sk_skb types from here to ... */
719 __u32 family;820 __u32 family;
720 __u32 remote_ip4; /* Stored in network byte order */821 __u32 remote_ip4; /* Stored in network byte order */
721 __u32 local_ip4; /* Stored in network byte order */822 __u32 local_ip4; /* Stored in network byte order */
@@ -723,6 +824,9 @@ struct __sk_buff { · 1 unmodified line
723 __u32 local_ip6[4]; /* Stored in network byte order */824 __u32 local_ip6[4]; /* Stored in network byte order */
724 __u32 remote_port; /* Stored in network byte order */825 __u32 remote_port; /* Stored in network byte order */
725 __u32 local_port; /* stored in host byte order */826 __u32 local_port; /* stored in host byte order */
827 /* ... here. */
828
829 __u32 data_meta;
726};830};
727 831
728struct bpf_tunnel_key {832struct bpf_tunnel_key {
@@ -783,12 +887,12 @@ enum xdp_action { · 54 unmodified lines
783struct xdp_md {887struct xdp_md {
784 __u32 data;888 __u32 data;
785 __u32 data_end;889 __u32 data_end;
890 __u32 data_meta;
786};891};
787 892
788enum sk_action {893enum sk_action {
789 SK_ABORTED = 0,894 SK_DROP = 0,
790 SK_DROP,895 SK_PASS,
791 SK_REDIRECT,
792};896};
793 897
794#define BPF_TAG_SIZE 8898#define BPF_TAG_SIZE 8
@@ -801,6 +905,11 @@ struct bpf_prog_info { · 6 unmodified lines
801 __u32 xlated_prog_len;905 __u32 xlated_prog_len;
802 __aligned_u64 jited_prog_insns;906 __aligned_u64 jited_prog_insns;
803 __aligned_u64 xlated_prog_insns;907 __aligned_u64 xlated_prog_insns;
908 __u64 load_time; /* ns since boottime */
909 __u32 created_by_uid;
910 __u32 nr_map_ids;
911 __aligned_u64 map_ids;
912 char name[BPF_OBJ_NAME_LEN];
804} __attribute__((aligned(8)));913} __attribute__((aligned(8)));
805 914
806struct bpf_map_info {915struct bpf_map_info {
@@ -810,6 +919,7 @@ struct bpf_map_info { · 3 unmodified lines
810 __u32 value_size;919 __u32 value_size;
811 __u32 max_entries;920 __u32 max_entries;
812 __u32 map_flags;921 __u32 map_flags;
922 char name[BPF_OBJ_NAME_LEN];
813} __attribute__((aligned(8)));923} __attribute__((aligned(8)));
814 924
815/* User bpf_sock_ops struct to access socket values and specify request ops925/* User bpf_sock_ops struct to access socket values and specify request ops
@@ -859,9 +969,35 @@ enum { · 43 unmodified lines
859 BPF_SOCK_OPS_NEEDS_ECN, /* If connection's congestion control969 BPF_SOCK_OPS_NEEDS_ECN, /* If connection's congestion control
860 * needs ECN970 * needs ECN
861 */971 */
972 BPF_SOCK_OPS_BASE_RTT, /* Get base RTT. The correct value is
973 * based on the path and may be
974 * dependent on the congestion control
975 * algorithm. In general it indicates
976 * a congestion threshold. RTTs above
977 * this indicate congestion
978 */
862};979};
863 980
864#define TCP_BPF_IW 1001 /* Set TCP initial congestion window */981#define TCP_BPF_IW 1001 /* Set TCP initial congestion window */
865#define TCP_BPF_SNDCWND_CLAMP 1002 /* Set sndcwnd_clamp */982#define TCP_BPF_SNDCWND_CLAMP 1002 /* Set sndcwnd_clamp */
866 983
984struct bpf_perf_event_value {
985 __u64 counter;
986 __u64 enabled;
987 __u64 running;
988};
989
990#define BPF_DEVCG_ACC_MKNOD (1ULL << 0)
991#define BPF_DEVCG_ACC_READ (1ULL << 1)
992#define BPF_DEVCG_ACC_WRITE (1ULL << 2)
993
994#define BPF_DEVCG_DEV_BLOCK (1ULL << 0)
995#define BPF_DEVCG_DEV_CHAR (1ULL << 1)
996
997struct bpf_cgroup_dev_ctx {
998 __u32 access_type; /* (access << 16) | type */
999 __u32 major;
1000 __u32 minor;
1001};
1002
867#endif /* _UAPI__LINUX_BPF_H__ */1003#endif /* _UAPI__LINUX_BPF_H__ */
include/uapi/linux/bpf_common.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_BPF_COMMON_H__2#ifndef _UAPI__LINUX_BPF_COMMON_H__
2#define _UAPI__LINUX_BPF_COMMON_H__3#define _UAPI__LINUX_BPF_COMMON_H__
3 4
include/uapi/linux/bpf_perf_event.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Copyright (c) 2016 Facebook2/* Copyright (c) 2016 Facebook
2 *3 *
3 * This program is free software; you can redistribute it and/or4 * This program is free software; you can redistribute it and/or
include/uapi/linux/bpqether.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __BPQETHER_H2#ifndef __BPQETHER_H
2#define __BPQETHER_H3#define __BPQETHER_H
3 4
include/uapi/linux/bsg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPIBSG_H2#ifndef _UAPIBSG_H
2#define _UAPIBSG_H3#define _UAPIBSG_H
3 4
include/uapi/linux/bt-bmc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2015-2016, IBM Corporation.3 * Copyright (c) 2015-2016, IBM Corporation.
3 *4 *
include/uapi/linux/btrfs.h+8−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2007 Oracle. All rights reserved.3 * Copyright (C) 2007 Oracle. All rights reserved.
3 *4 *
@@ -608,10 +609,14 @@ struct btrfs_ioctl_ino_path_args { · 604 unmodified lines
608struct btrfs_ioctl_logical_ino_args {609struct btrfs_ioctl_logical_ino_args {
609 __u64 logical; /* in */610 __u64 logical; /* in */
610 __u64 size; /* in */611 __u64 size; /* in */
611 __u64 reserved[4];612 __u64 reserved[3]; /* must be 0 for now */
613 __u64 flags; /* in, v2 only */
612 /* struct btrfs_data_container *inodes; out */614 /* struct btrfs_data_container *inodes; out */
613 __u64 inodes;615 __u64 inodes;
614};616};
617/* Return every ref to the extent, not just those containing logical block.
618 * Requires logical == extent bytenr. */
619#define BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET (1ULL << 0)
615 620
616enum btrfs_dev_stat_values {621enum btrfs_dev_stat_values {
617 /* disk I/O failure stats */622 /* disk I/O failure stats */
@@ -835,5 +840,7 @@ enum btrfs_err_code { · 217 unmodified lines
835 struct btrfs_ioctl_feature_flags[3])840 struct btrfs_ioctl_feature_flags[3])
836#define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \841#define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \
837 struct btrfs_ioctl_vol_args_v2)842 struct btrfs_ioctl_vol_args_v2)
843#define BTRFS_IOC_LOGICAL_INO_V2 _IOWR(BTRFS_IOCTL_MAGIC, 59, \
844 struct btrfs_ioctl_logical_ino_args)
838 845
839#endif /* _UAPI_LINUX_BTRFS_H */846#endif /* _UAPI_LINUX_BTRFS_H */
include/uapi/linux/btrfs_tree.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _BTRFS_CTREE_H_2#ifndef _BTRFS_CTREE_H_
2#define _BTRFS_CTREE_H_3#define _BTRFS_CTREE_H_
3 4
@@ -732,6 +733,7 @@ struct btrfs_balance_item { · 728 unmodified lines
732#define BTRFS_FILE_EXTENT_INLINE 0733#define BTRFS_FILE_EXTENT_INLINE 0
733#define BTRFS_FILE_EXTENT_REG 1734#define BTRFS_FILE_EXTENT_REG 1
734#define BTRFS_FILE_EXTENT_PREALLOC 2735#define BTRFS_FILE_EXTENT_PREALLOC 2
736#define BTRFS_FILE_EXTENT_TYPES 2
735 737
736struct btrfs_file_extent_item {738struct btrfs_file_extent_item {
737 /*739 /*
include/uapi/linux/byteorder/big_endian.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H2#ifndef _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H
2#define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H3#define _UAPI_LINUX_BYTEORDER_BIG_ENDIAN_H
3 4
include/uapi/linux/byteorder/little_endian.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H2#ifndef _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H
2#define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H3#define _UAPI_LINUX_BYTEORDER_LITTLE_ENDIAN_H
3 4
include/uapi/linux/caif/caif_socket.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* linux/caif_socket.h2/* linux/caif_socket.h
2 * CAIF Definitions for CAIF socket and network layer3 * CAIF Definitions for CAIF socket and network layer
3 * Copyright (C) ST-Ericsson AB 20104 * Copyright (C) ST-Ericsson AB 2010
include/uapi/linux/caif/if_caif.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) ST-Ericsson AB 20103 * Copyright (C) ST-Ericsson AB 2010
3 * Author: Sjur Brendeland4 * Author: Sjur Brendeland
include/uapi/linux/can.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * linux/can.h3 * linux/can.h
3 *4 *
include/uapi/linux/can/bcm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * linux/can/bcm.h3 * linux/can/bcm.h
3 *4 *
include/uapi/linux/can/error.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * linux/can/error.h3 * linux/can/error.h
3 *4 *
include/uapi/linux/can/gw.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * linux/can/gw.h3 * linux/can/gw.h
3 *4 *
include/uapi/linux/can/netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/can/netlink.h3 * linux/can/netlink.h
3 *4 *
include/uapi/linux/can/raw.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * linux/can/raw.h3 * linux/can/raw.h
3 *4 *
include/uapi/linux/can/vxcan.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_CAN_VXCAN_H2#ifndef _UAPI_CAN_VXCAN_H
2#define _UAPI_CAN_VXCAN_H3#define _UAPI_CAN_VXCAN_H
3 4
include/uapi/linux/capability.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * This is <linux/capability.h>3 * This is <linux/capability.h>
3 *4 *
include/uapi/linux/capi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: capi.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $2/* $Id: capi.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $
2 * 3 *
3 * CAPI 2.0 Interface for Linux4 * CAPI 2.0 Interface for Linux
include/uapi/linux/cciss_defs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef CCISS_DEFS_H2#ifndef CCISS_DEFS_H
2#define CCISS_DEFS_H3#define CCISS_DEFS_H
3 4
include/uapi/linux/cciss_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPICCISS_IOCTLH2#ifndef _UAPICCISS_IOCTLH
2#define _UAPICCISS_IOCTLH3#define _UAPICCISS_IOCTLH
3 4
include/uapi/linux/cdrom.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * -- <linux/cdrom.h>3 * -- <linux/cdrom.h>
3 * General header file for linux CD-ROM drivers 4 * General header file for linux CD-ROM drivers
include/uapi/linux/cec-funcs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * cec - HDMI Consumer Electronics Control message functions3 * cec - HDMI Consumer Electronics Control message functions
3 *4 *
include/uapi/linux/cec.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * cec - HDMI Consumer Electronics Control public header3 * cec - HDMI Consumer Electronics Control public header
3 *4 *
@@ -410,6 +411,8 @@ struct cec_log_addrs { · 406 unmodified lines
410#define CEC_EVENT_LOST_MSGS 2411#define CEC_EVENT_LOST_MSGS 2
411#define CEC_EVENT_PIN_CEC_LOW 3412#define CEC_EVENT_PIN_CEC_LOW 3
412#define CEC_EVENT_PIN_CEC_HIGH 4413#define CEC_EVENT_PIN_CEC_HIGH 4
414#define CEC_EVENT_PIN_HPD_LOW 5
415#define CEC_EVENT_PIN_HPD_HIGH 6
413 416
414#define CEC_EVENT_FL_INITIAL_STATE (1 << 0)417#define CEC_EVENT_FL_INITIAL_STATE (1 << 0)
415#define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1)418#define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1)
include/uapi/linux/cgroupstats.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
1/* cgroupstats.h - exporting per-cgroup statistics2/* cgroupstats.h - exporting per-cgroup statistics
2 *3 *
3 * Copyright IBM Corporation, 20074 * Copyright IBM Corporation, 2007
include/uapi/linux/chio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ioctl interface for the scsi media changer driver3 * ioctl interface for the scsi media changer driver
3 */4 */
include/uapi/linux/cifs/cifs_mount.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * include/uapi/linux/cifs/cifs_mount.h3 * include/uapi/linux/cifs/cifs_mount.h
3 *4 *
include/uapi/linux/cm4000_cs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_CM4000_H_2#ifndef _UAPI_CM4000_H_
2#define _UAPI_CM4000_H_3#define _UAPI_CM4000_H_
3 4
include/uapi/linux/cn_proc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
1/*2/*
2 * cn_proc.h - process events connector3 * cn_proc.h - process events connector
3 *4 *
include/uapi/linux/coda_psdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__CODA_PSDEV_H2#ifndef _UAPI__CODA_PSDEV_H
2#define _UAPI__CODA_PSDEV_H3#define _UAPI__CODA_PSDEV_H
3 4
include/uapi/linux/coff.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* This file is derived from the GAS 2.1.4 assembler control file.2/* This file is derived from the GAS 2.1.4 assembler control file.
2 The GAS product is under the GNU General Public License, version 2 or later.3 The GAS product is under the GNU General Public License, version 2 or later.
3 As such, this file is also under that license.4 As such, this file is also under that license.
include/uapi/linux/connector.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * connector.h3 * connector.h
3 * 4 *
include/uapi/linux/const.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* const.h: Macros for dealing with constants. */2/* const.h: Macros for dealing with constants. */
2 3
3#ifndef _LINUX_CONST_H4#ifndef _LINUX_CONST_H
include/uapi/linux/coresight-stm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UAPI_CORESIGHT_STM_H_2#ifndef __UAPI_CORESIGHT_STM_H_
2#define __UAPI_CORESIGHT_STM_H_3#define __UAPI_CORESIGHT_STM_H_
3 4
include/uapi/linux/cramfs_fs.h+26−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__CRAMFS_H2#ifndef _UAPI__CRAMFS_H
2#define _UAPI__CRAMFS_H3#define _UAPI__CRAMFS_H
3 4
@@ -73,6 +74,7 @@ struct cramfs_super { · 69 unmodified lines
73#define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */74#define CRAMFS_FLAG_HOLES 0x00000100 /* support for holes */
74#define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */75#define CRAMFS_FLAG_WRONG_SIGNATURE 0x00000200 /* reserved */
75#define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */76#define CRAMFS_FLAG_SHIFTED_ROOT_OFFSET 0x00000400 /* shifted root fs */
77#define CRAMFS_FLAG_EXT_BLOCK_POINTERS 0x00000800 /* block pointer extensions */
76 78
77/*79/*
78 * Valid values in super.flags. Currently we refuse to mount80 * Valid values in super.flags. Currently we refuse to mount
@@ -82,7 +84,30 @@ struct cramfs_super { · 3 unmodified lines
82#define CRAMFS_SUPPORTED_FLAGS ( 0x000000ff \84#define CRAMFS_SUPPORTED_FLAGS ( 0x000000ff \
83 | CRAMFS_FLAG_HOLES \85 | CRAMFS_FLAG_HOLES \
84 | CRAMFS_FLAG_WRONG_SIGNATURE \86 | CRAMFS_FLAG_WRONG_SIGNATURE \
85 | CRAMFS_FLAG_SHIFTED_ROOT_OFFSET )87 | CRAMFS_FLAG_SHIFTED_ROOT_OFFSET \
88 | CRAMFS_FLAG_EXT_BLOCK_POINTERS )
86 89
90/*
91 * Block pointer flags
92 *
93 * The maximum block offset that needs to be represented is roughly:
94 *
95 * (1 << CRAMFS_OFFSET_WIDTH) * 4 +
96 * (1 << CRAMFS_SIZE_WIDTH) / PAGE_SIZE * (4 + PAGE_SIZE)
97 * = 0x11004000
98 *
99 * That leaves room for 3 flag bits in the block pointer table.
100 */
101#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31)
102#define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30)
103
104#define CRAMFS_BLK_FLAGS ( CRAMFS_BLK_FLAG_UNCOMPRESSED \
105 | CRAMFS_BLK_FLAG_DIRECT_PTR )
106
107/*
108 * Direct blocks are at least 4-byte aligned.
109 * Pointers to direct blocks are shifted down by 2 bits.
110 */
111#define CRAMFS_BLK_DIRECT_PTR_SHIFT 2
87 112
88#endif /* _UAPI__CRAMFS_H */113#endif /* _UAPI__CRAMFS_H */
include/uapi/linux/cryptouser.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Crypto user configuration API.3 * Crypto user configuration API.
3 *4 *
include/uapi/linux/cuda.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for talking to the CUDA. The CUDA is a microcontroller3 * Definitions for talking to the CUDA. The CUDA is a microcontroller
3 * which controls the ADB, system power, RTC, and various other things.4 * which controls the ADB, system power, RTC, and various other things.
include/uapi/linux/cyclades.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Revision: 3.0 $$Date: 1998/11/02 14:20:59 $2/* $Revision: 3.0 $$Date: 1998/11/02 14:20:59 $
2 * linux/include/linux/cyclades.h3 * linux/include/linux/cyclades.h
3 *4 *
include/uapi/linux/cycx_cfm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2* cycx_cfm.h Cyclom 2X WAN Link Driver.3* cycx_cfm.h Cyclom 2X WAN Link Driver.
3* Definitions for the Cyclom 2X Firmware Module (CFM).4* Definitions for the Cyclom 2X Firmware Module (CFM).
include/uapi/linux/dcbnl.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2008-2011, Intel Corporation.3 * Copyright (c) 2008-2011, Intel Corporation.
3 *4 *
@@ -205,6 +206,7 @@ struct cee_pfc { · 201 unmodified lines
205#define IEEE_8021QAZ_APP_SEL_STREAM 2206#define IEEE_8021QAZ_APP_SEL_STREAM 2
206#define IEEE_8021QAZ_APP_SEL_DGRAM 3207#define IEEE_8021QAZ_APP_SEL_DGRAM 3
207#define IEEE_8021QAZ_APP_SEL_ANY 4208#define IEEE_8021QAZ_APP_SEL_ANY 4
209#define IEEE_8021QAZ_APP_SEL_DSCP 5
208 210
209/* This structure contains the IEEE 802.1Qaz APP managed object. This211/* This structure contains the IEEE 802.1Qaz APP managed object. This
210 * object is also used for the CEE std as well.212 * object is also used for the CEE std as well.
include/uapi/linux/dccp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_DCCP_H2#ifndef _UAPI_LINUX_DCCP_H
2#define _UAPI_LINUX_DCCP_H3#define _UAPI_LINUX_DCCP_H
3 4
include/uapi/linux/devlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/uapi/linux/devlink.h - Network physical device Netlink interface3 * include/uapi/linux/devlink.h - Network physical device Netlink interface
3 * Copyright (c) 2016 Mellanox Technologies. All rights reserved.4 * Copyright (c) 2016 Mellanox Technologies. All rights reserved.
include/uapi/linux/dlm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/******************************************************************************2/******************************************************************************
2*******************************************************************************3*******************************************************************************
3**4**
include/uapi/linux/dlm_device.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/******************************************************************************2/******************************************************************************
2*******************************************************************************3*******************************************************************************
3**4**
include/uapi/linux/dlm_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2007 Red Hat, Inc. All rights reserved.3 * Copyright (C) 2007 Red Hat, Inc. All rights reserved.
3 *4 *
include/uapi/linux/dlm_plock.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
3 *4 *
include/uapi/linux/dlmconstants.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/******************************************************************************2/******************************************************************************
2*******************************************************************************3*******************************************************************************
3**4**
include/uapi/linux/dm-ioctl.h+3−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited.3 * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited.
3 * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved.4 * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved.
@@ -269,9 +270,9 @@ enum { · 265 unmodified lines
269#define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl)270#define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl)
270 271
271#define DM_VERSION_MAJOR 4272#define DM_VERSION_MAJOR 4
272#define DM_VERSION_MINOR 36273#define DM_VERSION_MINOR 37
273#define DM_VERSION_PATCHLEVEL 0274#define DM_VERSION_PATCHLEVEL 0
274#define DM_VERSION_EXTRA "-ioctl (2017-06-09)"275#define DM_VERSION_EXTRA "-ioctl (2017-09-20)"
275 276
276/* Status bits */277/* Status bits */
277#define DM_READONLY_FLAG (1 << 0) /* In/Out */278#define DM_READONLY_FLAG (1 << 0) /* In/Out */
include/uapi/linux/dm-log-userspace.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2006-2009 Red Hat, Inc.3 * Copyright (C) 2006-2009 Red Hat, Inc.
3 *4 *
include/uapi/linux/dma-buf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Framework for buffer objects that can be shared across devices/subsystems.3 * Framework for buffer objects that can be shared across devices/subsystems.
3 *4 *
include/uapi/linux/dn.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_DN_H2#ifndef _LINUX_DN_H
2#define _LINUX_DN_H3#define _LINUX_DN_H
3 4
include/uapi/linux/dqblk_xfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1995-2001,2004 Silicon Graphics, Inc. All Rights Reserved.3 * Copyright (c) 1995-2001,2004 Silicon Graphics, Inc. All Rights Reserved.
3 *4 *
include/uapi/linux/dvb/audio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * audio.h3 * audio.h
3 *4 *
include/uapi/linux/dvb/ca.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * ca.h3 * ca.h
3 *4 *
include/uapi/linux/dvb/dmx.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * dmx.h3 * dmx.h
3 *4 *
include/uapi/linux/dvb/frontend.h+2−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * frontend.h3 * frontend.h
3 *4 *
@@ -830,7 +831,7 @@ struct dtv_fe_stats { · 826 unmodified lines
830 * @cmd: Digital TV command.831 * @cmd: Digital TV command.
831 * @reserved: Not used.832 * @reserved: Not used.
832 * @u: Union with the values for the command.833 * @u: Union with the values for the command.
833 * @result: Result of the command set (currently unused).834 * @result: Unused
834 *835 *
835 * The @u union may have either one of the values below:836 * The @u union may have either one of the values below:
836 *837 *
include/uapi/linux/dvb/net.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * net.h3 * net.h
3 *4 *
include/uapi/linux/dvb/osd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * osd.h3 * osd.h
3 *4 *
include/uapi/linux/dvb/version.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * version.h3 * version.h
3 *4 *
include/uapi/linux/dvb/video.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * video.h3 * video.h
3 *4 *
include/uapi/linux/edd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/edd.h3 * linux/include/linux/edd.h
3 * Copyright (C) 2002, 2003, 2004 Dell Inc.4 * Copyright (C) 2002, 2003, 2004 Dell Inc.
include/uapi/linux/efs_fs_sb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * efs_fs_sb.h3 * efs_fs_sb.h
3 *4 *
include/uapi/linux/elf-em.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_ELF_EM_H2#ifndef _LINUX_ELF_EM_H
2#define _LINUX_ELF_EM_H3#define _LINUX_ELF_EM_H
3 4
include/uapi/linux/elf-fdpic.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* elf-fdpic.h: FDPIC ELF load map2/* elf-fdpic.h: FDPIC ELF load map
2 *3 *
3 * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.4 * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
include/uapi/linux/elf.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_ELF_H2#ifndef _UAPI_LINUX_ELF_H
2#define _UAPI_LINUX_ELF_H3#define _UAPI_LINUX_ELF_H
3 4
@@ -411,11 +412,13 @@ typedef struct elf64_shdr { · 407 unmodified lines
411#define NT_S390_VXRS_HIGH 0x30a /* s390 vector registers 16-31 */412#define NT_S390_VXRS_HIGH 0x30a /* s390 vector registers 16-31 */
412#define NT_S390_GS_CB 0x30b /* s390 guarded storage registers */413#define NT_S390_GS_CB 0x30b /* s390 guarded storage registers */
413#define NT_S390_GS_BC 0x30c /* s390 guarded storage broadcast control block */414#define NT_S390_GS_BC 0x30c /* s390 guarded storage broadcast control block */
415#define NT_S390_RI_CB 0x30d /* s390 runtime instrumentation */
414#define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */416#define NT_ARM_VFP 0x400 /* ARM VFP/NEON registers */
415#define NT_ARM_TLS 0x401 /* ARM TLS register */417#define NT_ARM_TLS 0x401 /* ARM TLS register */
416#define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */418#define NT_ARM_HW_BREAK 0x402 /* ARM hardware breakpoint registers */
417#define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */419#define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */
418#define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */420#define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */
421#define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension registers */
419#define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */422#define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */
420#define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */423#define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */
421#define NT_METAG_TLS 0x502 /* Metag TLS pointer */424#define NT_METAG_TLS 0x502 /* Metag TLS pointer */
include/uapi/linux/elfcore.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_ELFCORE_H2#ifndef _UAPI_LINUX_ELFCORE_H
2#define _UAPI_LINUX_ELFCORE_H3#define _UAPI_LINUX_ELFCORE_H
3 4
include/uapi/linux/errqueue.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_ERRQUEUE_H2#ifndef _UAPI_LINUX_ERRQUEUE_H
2#define _UAPI_LINUX_ERRQUEUE_H3#define _UAPI_LINUX_ERRQUEUE_H
3 4
include/uapi/linux/ethtool.h+6−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ethtool.h: Defines for Linux ethtool.3 * ethtool.h: Defines for Linux ethtool.
3 *4 *
@@ -1753,6 +1754,8 @@ enum ethtool_reset_flags { · 1749 unmodified lines
1753 * %ethtool_link_mode_bit_indices for the link modes, and other1754 * %ethtool_link_mode_bit_indices for the link modes, and other
1754 * link features that the link partner advertised through1755 * link features that the link partner advertised through
1755 * autonegotiation; 0 if unknown or not applicable. Read-only.1756 * autonegotiation; 0 if unknown or not applicable. Read-only.
1757 * @transceiver: Used to distinguish different possible PHY types,
1758 * reported consistently by PHYLIB. Read-only.
1756 *1759 *
1757 * If autonegotiation is disabled, the speed and @duplex represent the1760 * If autonegotiation is disabled, the speed and @duplex represent the
1758 * fixed link mode and are writable if the driver supports multiple1761 * fixed link mode and are writable if the driver supports multiple
@@ -1804,7 +1807,9 @@ struct ethtool_link_settings { · 45 unmodified lines
1804 __u8 eth_tp_mdix;1807 __u8 eth_tp_mdix;
1805 __u8 eth_tp_mdix_ctrl;1808 __u8 eth_tp_mdix_ctrl;
1806 __s8 link_mode_masks_nwords;1809 __s8 link_mode_masks_nwords;
1807 __u32 reserved[8];1810 __u8 transceiver;
1811 __u8 reserved1[3];
1812 __u32 reserved[7];
1808 __u32 link_mode_masks[0];1813 __u32 link_mode_masks[0];
1809 /* layout of link_mode_masks fields:1814 /* layout of link_mode_masks fields:
1810 * __u32 map_supported[link_mode_masks_nwords];1815 * __u32 map_supported[link_mode_masks_nwords];
include/uapi/linux/eventpoll.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/eventpoll.h ( Efficient event polling implementation )3 * include/linux/eventpoll.h ( Efficient event polling implementation )
3 * Copyright (C) 2001,...,2006 Davide Libenzi4 * Copyright (C) 2001,...,2006 Davide Libenzi
include/uapi/linux/fadvise.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef FADVISE_H_INCLUDED2#ifndef FADVISE_H_INCLUDED
2#define FADVISE_H_INCLUDED3#define FADVISE_H_INCLUDED
3 4
include/uapi/linux/falloc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_FALLOC_H_2#ifndef _UAPI_FALLOC_H_
2#define _UAPI_FALLOC_H_3#define _UAPI_FALLOC_H_
3 4
include/uapi/linux/fanotify.h+4−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FANOTIFY_H2#ifndef _UAPI_LINUX_FANOTIFY_H
2#define _UAPI_LINUX_FANOTIFY_H3#define _UAPI_LINUX_FANOTIFY_H
3 4
@@ -35,6 +36,7 @@ · 31 unmodified lines
35 36
36#define FAN_UNLIMITED_QUEUE 0x0000001037#define FAN_UNLIMITED_QUEUE 0x00000010
37#define FAN_UNLIMITED_MARKS 0x0000002038#define FAN_UNLIMITED_MARKS 0x00000020
39#define FAN_ENABLE_AUDIT 0x00000040
38 40
39#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \41#define FAN_ALL_INIT_FLAGS (FAN_CLOEXEC | FAN_NONBLOCK | \
40 FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE |\42 FAN_ALL_CLASS_BITS | FAN_UNLIMITED_QUEUE |\
@@ -99,6 +101,8 @@ struct fanotify_response { · 58 unmodified lines
99/* Legit userspace responses to a _PERM event */101/* Legit userspace responses to a _PERM event */
100#define FAN_ALLOW 0x01102#define FAN_ALLOW 0x01
101#define FAN_DENY 0x02103#define FAN_DENY 0x02
104#define FAN_AUDIT 0x10 /* Bit mask to create audit record for result */
105
102/* No fd set in event */106/* No fd set in event */
103#define FAN_NOFD -1107#define FAN_NOFD -1
104 108
include/uapi/linux/fb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FB_H2#ifndef _UAPI_LINUX_FB_H
2#define _UAPI_LINUX_FB_H3#define _UAPI_LINUX_FB_H
3 4
include/uapi/linux/fcntl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FCNTL_H2#ifndef _UAPI_LINUX_FCNTL_H
2#define _UAPI_LINUX_FCNTL_H3#define _UAPI_LINUX_FCNTL_H
3 4
include/uapi/linux/fd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FD_H2#ifndef _UAPI_LINUX_FD_H
2#define _UAPI_LINUX_FD_H3#define _UAPI_LINUX_FD_H
3 4
include/uapi/linux/fdreg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_FDREG_H2#ifndef _LINUX_FDREG_H
2#define _LINUX_FDREG_H3#define _LINUX_FDREG_H
3/*4/*
include/uapi/linux/fib_rules.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_FIB_RULES_H2#ifndef __LINUX_FIB_RULES_H
2#define __LINUX_FIB_RULES_H3#define __LINUX_FIB_RULES_H
3 4
include/uapi/linux/fiemap.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * FS_IOC_FIEMAP ioctl infrastructure.3 * FS_IOC_FIEMAP ioctl infrastructure.
3 *4 *
include/uapi/linux/filter.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Linux Socket Filter Data Structures3 * Linux Socket Filter Data Structures
3 */4 */
include/uapi/linux/flat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2002-2003 David McCullough <davidm@snapgear.com>3 * Copyright (C) 2002-2003 David McCullough <davidm@snapgear.com>
3 * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>4 * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>
include/uapi/linux/fou.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* fou.h - FOU Interface */2/* fou.h - FOU Interface */
2 3
3#ifndef _UAPI_LINUX_FOU_H4#ifndef _UAPI_LINUX_FOU_H
include/uapi/linux/fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FS_H2#ifndef _UAPI_LINUX_FS_H
2#define _UAPI_LINUX_FS_H3#define _UAPI_LINUX_FS_H
3 4
include/uapi/linux/fsl_hypervisor.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Freescale hypervisor ioctl and kernel interface3 * Freescale hypervisor ioctl and kernel interface
3 *4 *
include/uapi/linux/fsmap.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * FS_IOC_GETFSMAP ioctl infrastructure.3 * FS_IOC_GETFSMAP ioctl infrastructure.
3 *4 *
include/uapi/linux/fuse.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 This file defines the kernel interface of FUSE3 This file defines the kernel interface of FUSE
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>4 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
include/uapi/linux/futex.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_FUTEX_H2#ifndef _UAPI_LINUX_FUTEX_H
2#define _UAPI_LINUX_FUTEX_H3#define _UAPI_LINUX_FUTEX_H
3 4
include/uapi/linux/gameport.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik3 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *4 *
include/uapi/linux/gen_stats.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_GEN_STATS_H2#ifndef __LINUX_GEN_STATS_H
2#define __LINUX_GEN_STATS_H3#define __LINUX_GEN_STATS_H
3 4
include/uapi/linux/genetlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_GENERIC_NETLINK_H2#ifndef _UAPI__LINUX_GENERIC_NETLINK_H
2#define _UAPI__LINUX_GENERIC_NETLINK_H3#define _UAPI__LINUX_GENERIC_NETLINK_H
3 4
include/uapi/linux/genwqe/genwqe_card.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __GENWQE_CARD_H__2#ifndef __GENWQE_CARD_H__
2#define __GENWQE_CARD_H__3#define __GENWQE_CARD_H__
3 4
include/uapi/linux/gfs2_ondisk.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
include/uapi/linux/gigaset_dev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * interface to user space for the gigaset driver3 * interface to user space for the gigaset driver
3 *4 *
include/uapi/linux/gpio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * <linux/gpio.h> - userspace ABI for the GPIO character devices3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
3 *4 *
include/uapi/linux/gsmmux.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_GSMMUX_H2#ifndef _LINUX_GSMMUX_H
2#define _LINUX_GSMMUX_H3#define _LINUX_GSMMUX_H
3 4
include/uapi/linux/gtp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_GTP_H_2#ifndef _UAPI_LINUX_GTP_H_
2#define _UAPI_LINUX_GTP_H_3#define _UAPI_LINUX_GTP_H_
3 4
include/uapi/linux/hash_info.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Hash Info: Hash algorithms information3 * Hash Info: Hash algorithms information
3 *4 *
include/uapi/linux/hdlc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Generic HDLC support routines for Linux3 * Generic HDLC support routines for Linux
3 *4 *
include/uapi/linux/hdlc/ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __HDLC_IOCTL_H__2#ifndef __HDLC_IOCTL_H__
2#define __HDLC_IOCTL_H__3#define __HDLC_IOCTL_H__
3 4
include/uapi/linux/hdlcdrv.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * hdlcdrv.h -- HDLC packet radio network driver.3 * hdlcdrv.h -- HDLC packet radio network driver.
3 * The Linux soundcard driver for 1200 baud and 9600 baud packet radio4 * The Linux soundcard driver for 1200 baud and 9600 baud packet radio
include/uapi/linux/hdreg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_HDREG_H2#ifndef _LINUX_HDREG_H
2#define _LINUX_HDREG_H3#define _LINUX_HDREG_H
3 4
include/uapi/linux/hid.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1999 Andreas Gal3 * Copyright (c) 1999 Andreas Gal
3 * Copyright (c) 2000-2001 Vojtech Pavlik4 * Copyright (c) 2000-2001 Vojtech Pavlik
include/uapi/linux/hiddev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1999-2000 Vojtech Pavlik3 * Copyright (c) 1999-2000 Vojtech Pavlik
3 *4 *
include/uapi/linux/hidraw.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2007 Jiri Kosina3 * Copyright (c) 2007 Jiri Kosina
3 */4 */
include/uapi/linux/hpet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__HPET__2#ifndef _UAPI__HPET__
2#define _UAPI__HPET__3#define _UAPI__HPET__
3 4
include/uapi/linux/hsi/cs-protocol.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * cmt-speech interface definitions3 * cmt-speech interface definitions
3 *4 *
include/uapi/linux/hsi/hsi_char.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Part of the HSI character device driver.3 * Part of the HSI character device driver.
3 *4 *
include/uapi/linux/hsr_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 2011-2013 Autronica Fire and Security AS3 * Copyright 2011-2013 Autronica Fire and Security AS
3 *4 *
include/uapi/linux/hw_breakpoint.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_HW_BREAKPOINT_H2#ifndef _UAPI_LINUX_HW_BREAKPOINT_H
2#define _UAPI_LINUX_HW_BREAKPOINT_H3#define _UAPI_LINUX_HW_BREAKPOINT_H
3 4
include/uapi/linux/hyperv.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 *3 *
3 * Copyright (c) 2011, Microsoft Corporation.4 * Copyright (c) 2011, Microsoft Corporation.
include/uapi/linux/hysdn_if.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: hysdn_if.h,v 1.1.8.3 2001/09/23 22:25:05 kai Exp $2/* $Id: hysdn_if.h,v 1.1.8.3 2001/09/23 22:25:05 kai Exp $
2 *3 *
3 * Linux driver for HYSDN cards4 * Linux driver for HYSDN cards
include/uapi/linux/i2c-dev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 i2c-dev.h - i2c-bus driver, char device interface3 i2c-dev.h - i2c-bus driver, char device interface
3 4
include/uapi/linux/i2c.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* ------------------------------------------------------------------------- */2/* ------------------------------------------------------------------------- */
2/* */3/* */
3/* i2c.h - definitions for the i2c-bus interface */4/* i2c.h - definitions for the i2c-bus interface */
include/uapi/linux/i2o-dev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * I2O user space accessible structures/APIs3 * I2O user space accessible structures/APIs
3 *4 *
include/uapi/linux/i8k.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops3 * i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops
3 *4 *
include/uapi/linux/icmp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/icmpv6.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_ICMPV6_H2#ifndef _UAPI_LINUX_ICMPV6_H
2#define _UAPI_LINUX_ICMPV6_H3#define _UAPI_LINUX_ICMPV6_H
3 4
include/uapi/linux/if.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_addr.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_IF_ADDR_H2#ifndef __LINUX_IF_ADDR_H
2#define __LINUX_IF_ADDR_H3#define __LINUX_IF_ADDR_H
3 4
include/uapi/linux/if_addrlabel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * if_addrlabel.h - netlink interface for address labels3 * if_addrlabel.h - netlink interface for address labels
3 *4 *
include/uapi/linux/if_alg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * if_alg: User-space algorithm interface3 * if_alg: User-space algorithm interface
3 *4 *
include/uapi/linux/if_arcnet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_arp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_bonding.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'.3 * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'.
3 *4 *
include/uapi/linux/if_bridge.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Linux ethernet bridge3 * Linux ethernet bridge
3 *4 *
include/uapi/linux/if_cablemodem.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef _LINUX_CABLEMODEM_H_2#ifndef _LINUX_CABLEMODEM_H_
2#define _LINUX_CABLEMODEM_H_3#define _LINUX_CABLEMODEM_H_
3/*4/*
include/uapi/linux/if_eql.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Equalizer Load-balancer for serial network interfaces.3 * Equalizer Load-balancer for serial network interfaces.
3 *4 *
include/uapi/linux/if_ether.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_fc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_fddi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_frad.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are3 * DLCI/FRAD Definitions for Frame Relay Access Devices. DLCI devices are
3 * created for each DLCI associated with a FRAD. The FRAD driver4 * created for each DLCI associated with a FRAD. The FRAD driver
include/uapi/linux/if_hippi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/if_infiniband.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * This software is available to you under a choice of one of two3 * This software is available to you under a choice of one of two
3 * licenses. You may choose to be licensed under the terms of the GNU4 * licenses. You may choose to be licensed under the terms of the GNU
include/uapi/linux/if_link.h+9−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_IF_LINK_H2#ifndef _UAPI_LINUX_IF_LINK_H
2#define _UAPI_LINUX_IF_LINK_H3#define _UAPI_LINUX_IF_LINK_H
3 4
@@ -158,6 +159,8 @@ enum { · 154 unmodified lines
158 IFLA_PAD,159 IFLA_PAD,
159 IFLA_XDP,160 IFLA_XDP,
160 IFLA_EVENT,161 IFLA_EVENT,
162 IFLA_NEW_NETNSID,
163 IFLA_IF_NETNSID,
161 __IFLA_MAX164 __IFLA_MAX
162};165};
163 166
@@ -325,6 +328,8 @@ enum { · 161 unmodified lines
325 IFLA_BRPORT_MCAST_TO_UCAST,328 IFLA_BRPORT_MCAST_TO_UCAST,
326 IFLA_BRPORT_VLAN_TUNNEL,329 IFLA_BRPORT_VLAN_TUNNEL,
327 IFLA_BRPORT_BCAST_FLOOD,330 IFLA_BRPORT_BCAST_FLOOD,
331 IFLA_BRPORT_GROUP_FWD_MASK,
332 IFLA_BRPORT_NEIGH_SUPPRESS,
328 __IFLA_BRPORT_MAX333 __IFLA_BRPORT_MAX
329};334};
330#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)335#define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
@@ -462,6 +467,7 @@ enum macsec_validation_type { · 131 unmodified lines
462enum {467enum {
463 IFLA_IPVLAN_UNSPEC,468 IFLA_IPVLAN_UNSPEC,
464 IFLA_IPVLAN_MODE,469 IFLA_IPVLAN_MODE,
470 IFLA_IPVLAN_FLAGS,
465 __IFLA_IPVLAN_MAX471 __IFLA_IPVLAN_MAX
466};472};
467 473
@@ -474,6 +480,9 @@ enum ipvlan_mode { · 6 unmodified lines
474 IPVLAN_MODE_MAX480 IPVLAN_MODE_MAX
475};481};
476 482
483#define IPVLAN_F_PRIVATE 0x01
484#define IPVLAN_F_VEPA 0x02
485
477/* VXLAN section */486/* VXLAN section */
478enum {487enum {
479 IFLA_VXLAN_UNSPEC,488 IFLA_VXLAN_UNSPEC,
include/uapi/linux/if_ltalk.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_LTALK_H2#ifndef _UAPI__LINUX_LTALK_H
2#define _UAPI__LINUX_LTALK_H3#define _UAPI__LINUX_LTALK_H
3 4
include/uapi/linux/if_macsec.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/uapi/linux/if_macsec.h - MACsec device3 * include/uapi/linux/if_macsec.h - MACsec device
3 *4 *
include/uapi/linux/if_packet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_IF_PACKET_H2#ifndef __LINUX_IF_PACKET_H
2#define __LINUX_IF_PACKET_H3#define __LINUX_IF_PACKET_H
3 4
include/uapi/linux/if_phonet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * File: if_phonet.h3 * File: if_phonet.h
3 *4 *
include/uapi/linux/if_plip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * NET3 PLIP tuning facilities for the new Niibe PLIP.3 * NET3 PLIP tuning facilities for the new Niibe PLIP.
3 *4 *
include/uapi/linux/if_pppol2tp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/***************************************************************************2/***************************************************************************
2 * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661)3 * Linux PPP over L2TP (PPPoL2TP) Socket Implementation (RFC 2661)
3 *4 *
include/uapi/linux/if_pppox.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/***************************************************************************2/***************************************************************************
2 * Linux PPP over X - Generic PPP transport layer sockets3 * Linux PPP over X - Generic PPP transport layer sockets
3 * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516) 4 * Linux PPP over Ethernet (PPPoE) Socket Implementation (RFC 2516)
include/uapi/linux/if_slip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Swansea University Computer Society NET33 * Swansea University Computer Society NET3
3 * 4 *
include/uapi/linux/if_team.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/if_team.h - Network team device driver header3 * include/linux/if_team.h - Network team device driver header
3 * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com>4 * Copyright (c) 2011 Jiri Pirko <jpirko@redhat.com>
include/uapi/linux/if_tun.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Universal TUN/TAP device driver.3 * Universal TUN/TAP device driver.
3 * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>4 * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>
@@ -60,6 +61,8 @@ · 56 unmodified lines
60/* TUNSETIFF ifr flags */61/* TUNSETIFF ifr flags */
61#define IFF_TUN 0x000162#define IFF_TUN 0x0001
62#define IFF_TAP 0x000263#define IFF_TAP 0x0002
64#define IFF_NAPI 0x0010
65#define IFF_NAPI_FRAGS 0x0020
63#define IFF_NO_PI 0x100066#define IFF_NO_PI 0x1000
64/* This flag has no real effect */67/* This flag has no real effect */
65#define IFF_ONE_QUEUE 0x200068#define IFF_ONE_QUEUE 0x2000
include/uapi/linux/if_tunnel.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_IF_TUNNEL_H_2#ifndef _UAPI_IF_TUNNEL_H_
2#define _UAPI_IF_TUNNEL_H_3#define _UAPI_IF_TUNNEL_H_
3 4
@@ -84,6 +85,7 @@ enum tunnel_encap_types { · 80 unmodified lines
84 TUNNEL_ENCAP_NONE,85 TUNNEL_ENCAP_NONE,
85 TUNNEL_ENCAP_FOU,86 TUNNEL_ENCAP_FOU,
86 TUNNEL_ENCAP_GUE,87 TUNNEL_ENCAP_GUE,
88 TUNNEL_ENCAP_MPLS,
87};89};
88 90
89#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)91#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)
include/uapi/linux/if_vlan.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * VLAN An implementation of 802.1Q VLAN tagging.3 * VLAN An implementation of 802.1Q VLAN tagging.
3 *4 *
include/uapi/linux/if_x25.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Linux X.25 packet to device interface3 * Linux X.25 packet to device interface
3 *4 *
include/uapi/linux/ife.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UAPI_IFE_H2#ifndef __UAPI_IFE_H
2#define __UAPI_IFE_H3#define __UAPI_IFE_H
3 4
include/uapi/linux/igmp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Linux NET3: Internet Group Management Protocol [IGMP]3 * Linux NET3: Internet Group Management Protocol [IGMP]
3 *4 *
include/uapi/linux/iio/events.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* The industrial I/O - event passing to userspace2/* The industrial I/O - event passing to userspace
2 *3 *
3 * Copyright (c) 2008-2011 Jonathan Cameron4 * Copyright (c) 2008-2011 Jonathan Cameron
include/uapi/linux/iio/types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* industrial I/O data types needed both in and out of kernel2/* industrial I/O data types needed both in and out of kernel
2 *3 *
3 * Copyright (c) 2008 Jonathan Cameron4 * Copyright (c) 2008 Jonathan Cameron
include/uapi/linux/ila.h+22−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* ila.h - ILA Interface */2/* ila.h - ILA Interface */
2 3
3#ifndef _UAPI_LINUX_ILA_H4#ifndef _UAPI_LINUX_ILA_H
@@ -16,6 +17,8 @@ enum { · 12 unmodified lines
16 ILA_ATTR_DIR, /* u32 */17 ILA_ATTR_DIR, /* u32 */
17 ILA_ATTR_PAD,18 ILA_ATTR_PAD,
18 ILA_ATTR_CSUM_MODE, /* u8 */19 ILA_ATTR_CSUM_MODE, /* u8 */
20 ILA_ATTR_IDENT_TYPE, /* u8 */
21 ILA_ATTR_HOOK_TYPE, /* u8 */
19 22
20 __ILA_ATTR_MAX,23 __ILA_ATTR_MAX,
21};24};
@@ -40,6 +43,25 @@ enum { · 18 unmodified lines
40 ILA_CSUM_ADJUST_TRANSPORT,43 ILA_CSUM_ADJUST_TRANSPORT,
41 ILA_CSUM_NEUTRAL_MAP,44 ILA_CSUM_NEUTRAL_MAP,
42 ILA_CSUM_NO_ACTION,45 ILA_CSUM_NO_ACTION,
46 ILA_CSUM_NEUTRAL_MAP_AUTO,
47};
48
49enum {
50 ILA_ATYPE_IID = 0,
51 ILA_ATYPE_LUID,
52 ILA_ATYPE_VIRT_V4,
53 ILA_ATYPE_VIRT_UNI_V6,
54 ILA_ATYPE_VIRT_MULTI_V6,
55 ILA_ATYPE_NONLOCAL_ADDR,
56 ILA_ATYPE_RSVD_1,
57 ILA_ATYPE_RSVD_2,
58
59 ILA_ATYPE_USE_FORMAT = 32, /* Get type from type field in identifier */
60};
61
62enum {
63 ILA_HOOK_ROUTE_OUTPUT,
64 ILA_HOOK_ROUTE_INPUT,
43};65};
44 66
45#endif /* _UAPI_LINUX_ILA_H */67#endif /* _UAPI_LINUX_ILA_H */
include/uapi/linux/in.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/in6.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Types and definitions for AF_INET6 3 * Types and definitions for AF_INET6
3 * Linux INET6 implementation 4 * Linux INET6 implementation
@@ -284,6 +285,7 @@ struct in6_flowlabel_req { · 280 unmodified lines
284#define IPV6_TRANSPARENT 75285#define IPV6_TRANSPARENT 75
285#define IPV6_UNICAST_IF 76286#define IPV6_UNICAST_IF 76
286#define IPV6_RECVFRAGSIZE 77287#define IPV6_RECVFRAGSIZE 77
288#define IPV6_FREEBIND 78
287 289
288/*290/*
289 * Multicast Routing:291 * Multicast Routing:
include/uapi/linux/in_route.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_IN_ROUTE_H2#ifndef _LINUX_IN_ROUTE_H
2#define _LINUX_IN_ROUTE_H3#define _LINUX_IN_ROUTE_H
3 4
include/uapi/linux/inet_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_INET_DIAG_H_2#ifndef _UAPI_INET_DIAG_H_
2#define _UAPI_INET_DIAG_H_3#define _UAPI_INET_DIAG_H_
3 4
include/uapi/linux/inotify.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Inode based directory notification for Linux3 * Inode based directory notification for Linux
3 *4 *
include/uapi/linux/input-event-codes.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Input event codes3 * Input event codes
3 *4 *
@@ -406,6 +407,7 @@ · 402 unmodified lines
406#define BTN_TOOL_MOUSE 0x146407#define BTN_TOOL_MOUSE 0x146
407#define BTN_TOOL_LENS 0x147408#define BTN_TOOL_LENS 0x147
408#define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */409#define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
410#define BTN_STYLUS3 0x149
409#define BTN_TOUCH 0x14a411#define BTN_TOUCH 0x14a
410#define BTN_STYLUS 0x14b412#define BTN_STYLUS 0x14b
411#define BTN_STYLUS2 0x14c413#define BTN_STYLUS2 0x14c
include/uapi/linux/input.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1999-2002 Vojtech Pavlik3 * Copyright (c) 1999-2002 Vojtech Pavlik
3 *4 *
include/uapi/linux/ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_IOCTL_H2#ifndef _LINUX_IOCTL_H
2#define _LINUX_IOCTL_H3#define _LINUX_IOCTL_H
3 4
include/uapi/linux/ip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/ip6_tunnel.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6_TUNNEL_H2#ifndef _IP6_TUNNEL_H
2#define _IP6_TUNNEL_H3#define _IP6_TUNNEL_H
3 4
@@ -20,6 +21,8 @@ · 16 unmodified lines
20#define IP6_TNL_F_RCV_DSCP_COPY 0x1021#define IP6_TNL_F_RCV_DSCP_COPY 0x10
21/* copy fwmark from inner packet */22/* copy fwmark from inner packet */
22#define IP6_TNL_F_USE_ORIG_FWMARK 0x2023#define IP6_TNL_F_USE_ORIG_FWMARK 0x20
24/* allow remote endpoint on the local node */
25#define IP6_TNL_F_ALLOW_LOCAL_REMOTE 0x40
23 26
24struct ip6_tnl_parm {27struct ip6_tnl_parm {
25 char name[IFNAMSIZ]; /* name of tunnel device */28 char name[IFNAMSIZ]; /* name of tunnel device */
include/uapi/linux/ip_vs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * IP Virtual Server3 * IP Virtual Server
3 * data structure and functionality definitions4 * data structure and functionality definitions
include/uapi/linux/ipc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_IPC_H2#ifndef _UAPI_LINUX_IPC_H
2#define _UAPI_LINUX_IPC_H3#define _UAPI_LINUX_IPC_H
3 4
include/uapi/linux/ipmi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * ipmi.h3 * ipmi.h
3 *4 *
include/uapi/linux/ipmi_msgdefs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * ipmi_smi.h3 * ipmi_smi.h
3 *4 *
include/uapi/linux/ipsec.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_IPSEC_H2#ifndef _LINUX_IPSEC_H
2#define _LINUX_IPSEC_H3#define _LINUX_IPSEC_H
3 4
include/uapi/linux/ipv6.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_IPV6_H2#ifndef _UAPI_IPV6_H
2#define _UAPI_IPV6_H3#define _UAPI_IPV6_H
3 4
@@ -185,6 +186,7 @@ enum { · 181 unmodified lines
185 DEVCONF_ADDR_GEN_MODE,186 DEVCONF_ADDR_GEN_MODE,
186 DEVCONF_DISABLE_POLICY,187 DEVCONF_DISABLE_POLICY,
187 DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN,188 DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN,
189 DEVCONF_NDISC_TCLASS,
188 DEVCONF_MAX190 DEVCONF_MAX
189};191};
190 192
include/uapi/linux/ipv6_route.h+2−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Linux INET6 implementation 3 * Linux INET6 implementation
3 *4 *
@@ -28,7 +29,7 @@ · 24 unmodified lines
28 29
29#define RTF_ROUTEINFO 0x00800000 /* route information - RA */30#define RTF_ROUTEINFO 0x00800000 /* route information - RA */
30 31
31#define RTF_CACHE 0x01000000 /* cache entry */32#define RTF_CACHE 0x01000000 /* read-only: can not be set by user */
32#define RTF_FLOW 0x02000000 /* flow significant route */33#define RTF_FLOW 0x02000000 /* flow significant route */
33#define RTF_POLICY 0x04000000 /* policy route */34#define RTF_POLICY 0x04000000 /* policy route */
34 35
include/uapi/linux/ipx.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPX_H_2#ifndef _IPX_H_
2#define _IPX_H_3#define _IPX_H_
3#include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */4#include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */
include/uapi/linux/irda.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*********************************************************************2/*********************************************************************
2 * 3 *
3 * Filename: irda.h4 * Filename: irda.h
include/uapi/linux/isdn.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: isdn.h,v 1.125.2.3 2004/02/10 01:07:14 keil Exp $2/* $Id: isdn.h,v 1.125.2.3 2004/02/10 01:07:14 keil Exp $
2 *3 *
3 * Main header for the Linux ISDN subsystem (linklevel).4 * Main header for the Linux ISDN subsystem (linklevel).
include/uapi/linux/isdn/capicmd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $2/* $Id: capicmd.h,v 1.2.6.2 2001/09/23 22:24:33 kai Exp $
2 * 3 *
3 * CAPI 2.0 Interface for Linux4 * CAPI 2.0 Interface for Linux
include/uapi/linux/isdn_divertif.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $2/* $Id: isdn_divertif.h,v 1.4.6.1 2001/09/23 22:25:05 kai Exp $
2 *3 *
3 * Header for the diversion supplementary interface for i4l.4 * Header for the diversion supplementary interface for i4l.
include/uapi/linux/isdn_ppp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/* Linux ISDN subsystem, sync PPP, interface to ipppd2/* Linux ISDN subsystem, sync PPP, interface to ipppd
2 *3 *
3 * Copyright 1994-1999 by Fritz Elfert (fritz@isdn4linux.de)4 * Copyright 1994-1999 by Fritz Elfert (fritz@isdn4linux.de)
include/uapi/linux/isdnif.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/* $Id: isdnif.h,v 1.43.2.2 2004/01/12 23:08:35 keil Exp $2/* $Id: isdnif.h,v 1.43.2.2 2004/01/12 23:08:35 keil Exp $
2 *3 *
3 * Linux ISDN subsystem4 * Linux ISDN subsystem
include/uapi/linux/iso_fs.h+82−81
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ISOFS_FS_H2#ifndef _ISOFS_FS_H
2#define _ISOFS_FS_H3#define _ISOFS_FS_H
3 4
@@ -12,10 +13,10 @@ · 8 unmodified lines
12#define ISODCL(from, to) (to - from + 1)13#define ISODCL(from, to) (to - from + 1)
13 14
14struct iso_volume_descriptor {15struct iso_volume_descriptor {
15 char type[ISODCL(1,1)]; /* 711 */16 __u8 type[ISODCL(1,1)]; /* 711 */
16 char id[ISODCL(2,6)];17 char id[ISODCL(2,6)];
17 char version[ISODCL(7,7)];18 __u8 version[ISODCL(7,7)];
18 char data[ISODCL(8,2048)];19 __u8 data[ISODCL(8,2048)];
19};20};
20 21
21/* volume descriptor types */22/* volume descriptor types */
@@ -26,24 +27,24 @@ struct iso_volume_descriptor { · 4 unmodified lines
26#define ISO_STANDARD_ID "CD001"27#define ISO_STANDARD_ID "CD001"
27 28
28struct iso_primary_descriptor {29struct iso_primary_descriptor {
29 char type [ISODCL ( 1, 1)]; /* 711 */30 __u8 type [ISODCL ( 1, 1)]; /* 711 */
30 char id [ISODCL ( 2, 6)];31 char id [ISODCL ( 2, 6)];
31 char version [ISODCL ( 7, 7)]; /* 711 */32 __u8 version [ISODCL ( 7, 7)]; /* 711 */
32 char unused1 [ISODCL ( 8, 8)];33 __u8 unused1 [ISODCL ( 8, 8)];
33 char system_id [ISODCL ( 9, 40)]; /* achars */34 char system_id [ISODCL ( 9, 40)]; /* achars */
34 char volume_id [ISODCL ( 41, 72)]; /* dchars */35 char volume_id [ISODCL ( 41, 72)]; /* dchars */
35 char unused2 [ISODCL ( 73, 80)];36 __u8 unused2 [ISODCL ( 73, 80)];
36 char volume_space_size [ISODCL ( 81, 88)]; /* 733 */37 __u8 volume_space_size [ISODCL ( 81, 88)]; /* 733 */
37 char unused3 [ISODCL ( 89, 120)];38 __u8 unused3 [ISODCL ( 89, 120)];
38 char volume_set_size [ISODCL (121, 124)]; /* 723 */39 __u8 volume_set_size [ISODCL (121, 124)]; /* 723 */
39 char volume_sequence_number [ISODCL (125, 128)]; /* 723 */40 __u8 volume_sequence_number [ISODCL (125, 128)]; /* 723 */
40 char logical_block_size [ISODCL (129, 132)]; /* 723 */41 __u8 logical_block_size [ISODCL (129, 132)]; /* 723 */
41 char path_table_size [ISODCL (133, 140)]; /* 733 */42 __u8 path_table_size [ISODCL (133, 140)]; /* 733 */
42 char type_l_path_table [ISODCL (141, 144)]; /* 731 */43 __u8 type_l_path_table [ISODCL (141, 144)]; /* 731 */
43 char opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */44 __u8 opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */
44 char type_m_path_table [ISODCL (149, 152)]; /* 732 */45 __u8 type_m_path_table [ISODCL (149, 152)]; /* 732 */
45 char opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */46 __u8 opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */
46 char root_directory_record [ISODCL (157, 190)]; /* 9.1 */47 __u8 root_directory_record [ISODCL (157, 190)]; /* 9.1 */
47 char volume_set_id [ISODCL (191, 318)]; /* dchars */48 char volume_set_id [ISODCL (191, 318)]; /* dchars */
48 char publisher_id [ISODCL (319, 446)]; /* achars */49 char publisher_id [ISODCL (319, 446)]; /* achars */
49 char preparer_id [ISODCL (447, 574)]; /* achars */50 char preparer_id [ISODCL (447, 574)]; /* achars */
@@ -51,36 +52,36 @@ struct iso_primary_descriptor { · 1 unmodified line
51 char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */52 char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */
52 char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */53 char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */
53 char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */54 char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */
54 char creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */55 __u8 creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */
55 char modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */56 __u8 modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */
56 char expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */57 __u8 expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */
57 char effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */58 __u8 effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */
58 char file_structure_version [ISODCL (882, 882)]; /* 711 */59 __u8 file_structure_version [ISODCL (882, 882)]; /* 711 */
59 char unused4 [ISODCL (883, 883)];60 __u8 unused4 [ISODCL (883, 883)];
60 char application_data [ISODCL (884, 1395)];61 __u8 application_data [ISODCL (884, 1395)];
61 char unused5 [ISODCL (1396, 2048)];62 __u8 unused5 [ISODCL (1396, 2048)];
62};63};
63 64
64/* Almost the same as the primary descriptor but two fields are specified */65/* Almost the same as the primary descriptor but two fields are specified */
65struct iso_supplementary_descriptor {66struct iso_supplementary_descriptor {
66 char type [ISODCL ( 1, 1)]; /* 711 */67 __u8 type [ISODCL ( 1, 1)]; /* 711 */
67 char id [ISODCL ( 2, 6)];68 char id [ISODCL ( 2, 6)];
68 char version [ISODCL ( 7, 7)]; /* 711 */69 __u8 version [ISODCL ( 7, 7)]; /* 711 */
69 char flags [ISODCL ( 8, 8)]; /* 853 */70 __u8 flags [ISODCL ( 8, 8)]; /* 853 */
70 char system_id [ISODCL ( 9, 40)]; /* achars */71 char system_id [ISODCL ( 9, 40)]; /* achars */
71 char volume_id [ISODCL ( 41, 72)]; /* dchars */72 char volume_id [ISODCL ( 41, 72)]; /* dchars */
72 char unused2 [ISODCL ( 73, 80)];73 __u8 unused2 [ISODCL ( 73, 80)];
73 char volume_space_size [ISODCL ( 81, 88)]; /* 733 */74 __u8 volume_space_size [ISODCL ( 81, 88)]; /* 733 */
74 char escape [ISODCL ( 89, 120)]; /* 856 */75 __u8 escape [ISODCL ( 89, 120)]; /* 856 */
75 char volume_set_size [ISODCL (121, 124)]; /* 723 */76 __u8 volume_set_size [ISODCL (121, 124)]; /* 723 */
76 char volume_sequence_number [ISODCL (125, 128)]; /* 723 */77 __u8 volume_sequence_number [ISODCL (125, 128)]; /* 723 */
77 char logical_block_size [ISODCL (129, 132)]; /* 723 */78 __u8 logical_block_size [ISODCL (129, 132)]; /* 723 */
78 char path_table_size [ISODCL (133, 140)]; /* 733 */79 __u8 path_table_size [ISODCL (133, 140)]; /* 733 */
79 char type_l_path_table [ISODCL (141, 144)]; /* 731 */80 __u8 type_l_path_table [ISODCL (141, 144)]; /* 731 */
80 char opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */81 __u8 opt_type_l_path_table [ISODCL (145, 148)]; /* 731 */
81 char type_m_path_table [ISODCL (149, 152)]; /* 732 */82 __u8 type_m_path_table [ISODCL (149, 152)]; /* 732 */
82 char opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */83 __u8 opt_type_m_path_table [ISODCL (153, 156)]; /* 732 */
83 char root_directory_record [ISODCL (157, 190)]; /* 9.1 */84 __u8 root_directory_record [ISODCL (157, 190)]; /* 9.1 */
84 char volume_set_id [ISODCL (191, 318)]; /* dchars */85 char volume_set_id [ISODCL (191, 318)]; /* dchars */
85 char publisher_id [ISODCL (319, 446)]; /* achars */86 char publisher_id [ISODCL (319, 446)]; /* achars */
86 char preparer_id [ISODCL (447, 574)]; /* achars */87 char preparer_id [ISODCL (447, 574)]; /* achars */
@@ -88,54 +89,54 @@ struct iso_supplementary_descriptor { · 1 unmodified line
88 char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */89 char copyright_file_id [ISODCL (703, 739)]; /* 7.5 dchars */
89 char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */90 char abstract_file_id [ISODCL (740, 776)]; /* 7.5 dchars */
90 char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */91 char bibliographic_file_id [ISODCL (777, 813)]; /* 7.5 dchars */
91 char creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */92 __u8 creation_date [ISODCL (814, 830)]; /* 8.4.26.1 */
92 char modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */93 __u8 modification_date [ISODCL (831, 847)]; /* 8.4.26.1 */
93 char expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */94 __u8 expiration_date [ISODCL (848, 864)]; /* 8.4.26.1 */
94 char effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */95 __u8 effective_date [ISODCL (865, 881)]; /* 8.4.26.1 */
95 char file_structure_version [ISODCL (882, 882)]; /* 711 */96 __u8 file_structure_version [ISODCL (882, 882)]; /* 711 */
96 char unused4 [ISODCL (883, 883)];97 __u8 unused4 [ISODCL (883, 883)];
97 char application_data [ISODCL (884, 1395)];98 __u8 application_data [ISODCL (884, 1395)];
98 char unused5 [ISODCL (1396, 2048)];99 __u8 unused5 [ISODCL (1396, 2048)];
99};100};
100 101
101 102
102#define HS_STANDARD_ID "CDROM"103#define HS_STANDARD_ID "CDROM"
103 104
104struct hs_volume_descriptor {105struct hs_volume_descriptor {
105 char foo [ISODCL ( 1, 8)]; /* 733 */106 __u8 foo [ISODCL ( 1, 8)]; /* 733 */
106 char type [ISODCL ( 9, 9)]; /* 711 */107 __u8 type [ISODCL ( 9, 9)]; /* 711 */
107 char id [ISODCL ( 10, 14)];108 char id [ISODCL ( 10, 14)];
108 char version [ISODCL ( 15, 15)]; /* 711 */109 __u8 version [ISODCL ( 15, 15)]; /* 711 */
109 char data[ISODCL(16,2048)];110 __u8 data[ISODCL(16,2048)];
110};111};
111 112
112 113
113struct hs_primary_descriptor {114struct hs_primary_descriptor {
114 char foo [ISODCL ( 1, 8)]; /* 733 */115 __u8 foo [ISODCL ( 1, 8)]; /* 733 */
115 char type [ISODCL ( 9, 9)]; /* 711 */116 __u8 type [ISODCL ( 9, 9)]; /* 711 */
116 char id [ISODCL ( 10, 14)];117 __u8 id [ISODCL ( 10, 14)];
117 char version [ISODCL ( 15, 15)]; /* 711 */118 __u8 version [ISODCL ( 15, 15)]; /* 711 */
118 char unused1 [ISODCL ( 16, 16)]; /* 711 */119 __u8 unused1 [ISODCL ( 16, 16)]; /* 711 */
119 char system_id [ISODCL ( 17, 48)]; /* achars */120 char system_id [ISODCL ( 17, 48)]; /* achars */
120 char volume_id [ISODCL ( 49, 80)]; /* dchars */121 char volume_id [ISODCL ( 49, 80)]; /* dchars */
121 char unused2 [ISODCL ( 81, 88)]; /* 733 */122 __u8 unused2 [ISODCL ( 81, 88)]; /* 733 */
122 char volume_space_size [ISODCL ( 89, 96)]; /* 733 */123 __u8 volume_space_size [ISODCL ( 89, 96)]; /* 733 */
123 char unused3 [ISODCL ( 97, 128)]; /* 733 */124 __u8 unused3 [ISODCL ( 97, 128)]; /* 733 */
124 char volume_set_size [ISODCL (129, 132)]; /* 723 */125 __u8 volume_set_size [ISODCL (129, 132)]; /* 723 */
125 char volume_sequence_number [ISODCL (133, 136)]; /* 723 */126 __u8 volume_sequence_number [ISODCL (133, 136)]; /* 723 */
126 char logical_block_size [ISODCL (137, 140)]; /* 723 */127 __u8 logical_block_size [ISODCL (137, 140)]; /* 723 */
127 char path_table_size [ISODCL (141, 148)]; /* 733 */128 __u8 path_table_size [ISODCL (141, 148)]; /* 733 */
128 char type_l_path_table [ISODCL (149, 152)]; /* 731 */129 __u8 type_l_path_table [ISODCL (149, 152)]; /* 731 */
129 char unused4 [ISODCL (153, 180)]; /* 733 */130 __u8 unused4 [ISODCL (153, 180)]; /* 733 */
130 char root_directory_record [ISODCL (181, 214)]; /* 9.1 */131 __u8 root_directory_record [ISODCL (181, 214)]; /* 9.1 */
131};132};
132 133
133/* We use this to help us look up the parent inode numbers. */134/* We use this to help us look up the parent inode numbers. */
134 135
135struct iso_path_table{136struct iso_path_table{
136 unsigned char name_len[2]; /* 721 */137 __u8 name_len[2]; /* 721 */
137 char extent[4]; /* 731 */138 __u8 extent[4]; /* 731 */
138 char parent[2]; /* 721 */139 __u8 parent[2]; /* 721 */
139 char name[0];140 char name[0];
140} __attribute__((packed));141} __attribute__((packed));
141 142
@@ -143,16 +144,16 @@ struct iso_path_table{ · 1 unmodified line
143 there is an extra reserved byte after the flags */144 there is an extra reserved byte after the flags */
144 145
145struct iso_directory_record {146struct iso_directory_record {
146 char length [ISODCL (1, 1)]; /* 711 */147 __u8 length [ISODCL (1, 1)]; /* 711 */
147 char ext_attr_length [ISODCL (2, 2)]; /* 711 */148 __u8 ext_attr_length [ISODCL (2, 2)]; /* 711 */
148 char extent [ISODCL (3, 10)]; /* 733 */149 __u8 extent [ISODCL (3, 10)]; /* 733 */
149 char size [ISODCL (11, 18)]; /* 733 */150 __u8 size [ISODCL (11, 18)]; /* 733 */
150 char date [ISODCL (19, 25)]; /* 7 by 711 */151 __u8 date [ISODCL (19, 25)]; /* 7 by 711 */
151 char flags [ISODCL (26, 26)];152 __u8 flags [ISODCL (26, 26)];
152 char file_unit_size [ISODCL (27, 27)]; /* 711 */153 __u8 file_unit_size [ISODCL (27, 27)]; /* 711 */
153 char interleave [ISODCL (28, 28)]; /* 711 */154 __u8 interleave [ISODCL (28, 28)]; /* 711 */
154 char volume_sequence_number [ISODCL (29, 32)]; /* 723 */155 __u8 volume_sequence_number [ISODCL (29, 32)]; /* 723 */
155 unsigned char name_len [ISODCL (33, 33)]; /* 711 */156 __u8 name_len [ISODCL (33, 33)]; /* 711 */
156 char name [0];157 char name [0];
157} __attribute__((packed));158} __attribute__((packed));
158 159
include/uapi/linux/ivtv.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 Public ivtv API header3 Public ivtv API header
3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
include/uapi/linux/ivtvfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 On Screen Display cx23415 Framebuffer driver3 On Screen Display cx23415 Framebuffer driver
3 4
include/uapi/linux/ixjuser.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __LINUX_IXJUSER_H2#ifndef __LINUX_IXJUSER_H
2#define __LINUX_IXJUSER_H3#define __LINUX_IXJUSER_H
3 4
include/uapi/linux/joystick.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 1996-2000 Vojtech Pavlik3 * Copyright (C) 1996-2000 Vojtech Pavlik
3 *4 *
include/uapi/linux/kcm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Kernel Connection Multiplexor3 * Kernel Connection Multiplexor
3 *4 *
include/uapi/linux/kcmp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_KCMP_H2#ifndef _UAPI_LINUX_KCMP_H
2#define _UAPI_LINUX_KCMP_H3#define _UAPI_LINUX_KCMP_H
3 4
include/uapi/linux/kcov.h+25−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_KCOV_IOCTLS_H2#ifndef _LINUX_KCOV_IOCTLS_H
2#define _LINUX_KCOV_IOCTLS_H3#define _LINUX_KCOV_IOCTLS_H
3 4
@@ -7,4 +8,28 @@ · 3 unmodified lines
7#define KCOV_ENABLE _IO('c', 100)8#define KCOV_ENABLE _IO('c', 100)
8#define KCOV_DISABLE _IO('c', 101)9#define KCOV_DISABLE _IO('c', 101)
9 10
11enum {
12 /*
13 * Tracing coverage collection mode.
14 * Covered PCs are collected in a per-task buffer.
15 * In new KCOV version the mode is chosen by calling
16 * ioctl(fd, KCOV_ENABLE, mode). In older versions the mode argument
17 * was supposed to be 0 in such a call. So, for reasons of backward
18 * compatibility, we have chosen the value KCOV_TRACE_PC to be 0.
19 */
20 KCOV_TRACE_PC = 0,
21 /* Collecting comparison operands mode. */
22 KCOV_TRACE_CMP = 1,
23};
24
25/*
26 * The format for the types of collected comparisons.
27 *
28 * Bit 0 shows whether one of the arguments is a compile-time constant.
29 * Bits 1 & 2 contain log2 of the argument size, up to 8 bytes.
30 */
31#define KCOV_CMP_CONST (1 << 0)
32#define KCOV_CMP_SIZE(n) ((n) << 1)
33#define KCOV_CMP_MASK KCOV_CMP_SIZE(3)
34
10#endif /* _LINUX_KCOV_IOCTLS_H */35#endif /* _LINUX_KCOV_IOCTLS_H */
include/uapi/linux/kd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_KD_H2#ifndef _UAPI_LINUX_KD_H
2#define _UAPI_LINUX_KD_H3#define _UAPI_LINUX_KD_H
3#include <linux/types.h>4#include <linux/types.h>
include/uapi/linux/kdev_t.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_KDEV_T_H2#ifndef _UAPI_LINUX_KDEV_T_H
2#define _UAPI_LINUX_KDEV_T_H3#define _UAPI_LINUX_KDEV_T_H
3#ifndef __KERNEL__4#ifndef __KERNEL__
include/uapi/linux/kernel-page-flags.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H2#ifndef _UAPILINUX_KERNEL_PAGE_FLAGS_H
2#define _UAPILINUX_KERNEL_PAGE_FLAGS_H3#define _UAPILINUX_KERNEL_PAGE_FLAGS_H
3 4
include/uapi/linux/kernel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_KERNEL_H2#ifndef _UAPI_LINUX_KERNEL_H
2#define _UAPI_LINUX_KERNEL_H3#define _UAPI_LINUX_KERNEL_H
3 4
include/uapi/linux/kernelcapi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $3 * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $
3 * 4 *
include/uapi/linux/kexec.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPILINUX_KEXEC_H2#ifndef _UAPILINUX_KEXEC_H
2#define _UAPILINUX_KEXEC_H3#define _UAPILINUX_KEXEC_H
3 4
include/uapi/linux/keyboard.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_KEYBOARD_H2#ifndef _UAPI__LINUX_KEYBOARD_H
2#define _UAPI__LINUX_KEYBOARD_H3#define _UAPI__LINUX_KEYBOARD_H
3 4
include/uapi/linux/keyctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* keyctl.h: keyctl command IDs2/* keyctl.h: keyctl command IDs
2 *3 *
3 * Copyright (C) 2004, 2008 Red Hat, Inc. All Rights Reserved.4 * Copyright (C) 2004, 2008 Red Hat, Inc. All Rights Reserved.
include/uapi/linux/kfd_ioctl.h+87−87
@@ -23,15 +23,15 @@ · 22 unmodified lines
23#ifndef KFD_IOCTL_H_INCLUDED23#ifndef KFD_IOCTL_H_INCLUDED
24#define KFD_IOCTL_H_INCLUDED24#define KFD_IOCTL_H_INCLUDED
25 25
26#include <linux/types.h>26#include <drm/drm.h>
27#include <linux/ioctl.h>27#include <linux/ioctl.h>
28 28
29#define KFD_IOCTL_MAJOR_VERSION 129#define KFD_IOCTL_MAJOR_VERSION 1
30#define KFD_IOCTL_MINOR_VERSION 130#define KFD_IOCTL_MINOR_VERSION 1
31 31
32struct kfd_ioctl_get_version_args {32struct kfd_ioctl_get_version_args {
33 uint32_t major_version; /* from KFD */33 __u32 major_version; /* from KFD */
34 uint32_t minor_version; /* from KFD */34 __u32 minor_version; /* from KFD */
35};35};
36 36
37/* For kfd_ioctl_create_queue_args.queue_type. */37/* For kfd_ioctl_create_queue_args.queue_type. */
@@ -43,36 +43,36 @@ struct kfd_ioctl_get_version_args { · 5 unmodified lines
43#define KFD_MAX_QUEUE_PRIORITY 1543#define KFD_MAX_QUEUE_PRIORITY 15
44 44
45struct kfd_ioctl_create_queue_args {45struct kfd_ioctl_create_queue_args {
46 uint64_t ring_base_address; /* to KFD */46 __u64 ring_base_address; /* to KFD */
47 uint64_t write_pointer_address; /* from KFD */47 __u64 write_pointer_address; /* from KFD */
48 uint64_t read_pointer_address; /* from KFD */48 __u64 read_pointer_address; /* from KFD */
49 uint64_t doorbell_offset; /* from KFD */49 __u64 doorbell_offset; /* from KFD */
50 50
51 uint32_t ring_size; /* to KFD */51 __u32 ring_size; /* to KFD */
52 uint32_t gpu_id; /* to KFD */52 __u32 gpu_id; /* to KFD */
53 uint32_t queue_type; /* to KFD */53 __u32 queue_type; /* to KFD */
54 uint32_t queue_percentage; /* to KFD */54 __u32 queue_percentage; /* to KFD */
55 uint32_t queue_priority; /* to KFD */55 __u32 queue_priority; /* to KFD */
56 uint32_t queue_id; /* from KFD */56 __u32 queue_id; /* from KFD */
57 57
58 uint64_t eop_buffer_address; /* to KFD */58 __u64 eop_buffer_address; /* to KFD */
59 uint64_t eop_buffer_size; /* to KFD */59 __u64 eop_buffer_size; /* to KFD */
60 uint64_t ctx_save_restore_address; /* to KFD */60 __u64 ctx_save_restore_address; /* to KFD */
61 uint64_t ctx_save_restore_size; /* to KFD */61 __u64 ctx_save_restore_size; /* to KFD */
62};62};
63 63
64struct kfd_ioctl_destroy_queue_args {64struct kfd_ioctl_destroy_queue_args {
65 uint32_t queue_id; /* to KFD */65 __u32 queue_id; /* to KFD */
66 uint32_t pad;66 __u32 pad;
67};67};
68 68
69struct kfd_ioctl_update_queue_args {69struct kfd_ioctl_update_queue_args {
70 uint64_t ring_base_address; /* to KFD */70 __u64 ring_base_address; /* to KFD */
71 71
72 uint32_t queue_id; /* to KFD */72 __u32 queue_id; /* to KFD */
73 uint32_t ring_size; /* to KFD */73 __u32 ring_size; /* to KFD */
74 uint32_t queue_percentage; /* to KFD */74 __u32 queue_percentage; /* to KFD */
75 uint32_t queue_priority; /* to KFD */75 __u32 queue_priority; /* to KFD */
76};76};
77 77
78/* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */78/* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */
@@ -80,13 +80,13 @@ struct kfd_ioctl_update_queue_args { · 1 unmodified line
80#define KFD_IOC_CACHE_POLICY_NONCOHERENT 180#define KFD_IOC_CACHE_POLICY_NONCOHERENT 1
81 81
82struct kfd_ioctl_set_memory_policy_args {82struct kfd_ioctl_set_memory_policy_args {
83 uint64_t alternate_aperture_base; /* to KFD */83 __u64 alternate_aperture_base; /* to KFD */
84 uint64_t alternate_aperture_size; /* to KFD */84 __u64 alternate_aperture_size; /* to KFD */
85 85
86 uint32_t gpu_id; /* to KFD */86 __u32 gpu_id; /* to KFD */
87 uint32_t default_policy; /* to KFD */87 __u32 default_policy; /* to KFD */
88 uint32_t alternate_policy; /* to KFD */88 __u32 alternate_policy; /* to KFD */
89 uint32_t pad;89 __u32 pad;
90};90};
91 91
92/*92/*
@@ -97,26 +97,26 @@ struct kfd_ioctl_set_memory_policy_args { · 4 unmodified lines
97 */97 */
98 98
99struct kfd_ioctl_get_clock_counters_args {99struct kfd_ioctl_get_clock_counters_args {
100 uint64_t gpu_clock_counter; /* from KFD */100 __u64 gpu_clock_counter; /* from KFD */
101 uint64_t cpu_clock_counter; /* from KFD */101 __u64 cpu_clock_counter; /* from KFD */
102 uint64_t system_clock_counter; /* from KFD */102 __u64 system_clock_counter; /* from KFD */
103 uint64_t system_clock_freq; /* from KFD */103 __u64 system_clock_freq; /* from KFD */
104 104
105 uint32_t gpu_id; /* to KFD */105 __u32 gpu_id; /* to KFD */
106 uint32_t pad;106 __u32 pad;
107};107};
108 108
109#define NUM_OF_SUPPORTED_GPUS 7109#define NUM_OF_SUPPORTED_GPUS 7
110 110
111struct kfd_process_device_apertures {111struct kfd_process_device_apertures {
112 uint64_t lds_base; /* from KFD */112 __u64 lds_base; /* from KFD */
113 uint64_t lds_limit; /* from KFD */113 __u64 lds_limit; /* from KFD */
114 uint64_t scratch_base; /* from KFD */114 __u64 scratch_base; /* from KFD */
115 uint64_t scratch_limit; /* from KFD */115 __u64 scratch_limit; /* from KFD */
116 uint64_t gpuvm_base; /* from KFD */116 __u64 gpuvm_base; /* from KFD */
117 uint64_t gpuvm_limit; /* from KFD */117 __u64 gpuvm_limit; /* from KFD */
118 uint32_t gpu_id; /* from KFD */118 __u32 gpu_id; /* from KFD */
119 uint32_t pad;119 __u32 pad;
120};120};
121 121
122struct kfd_ioctl_get_process_apertures_args {122struct kfd_ioctl_get_process_apertures_args {
@@ -124,8 +124,8 @@ struct kfd_ioctl_get_process_apertures_args { · 1 unmodified line
124 process_apertures[NUM_OF_SUPPORTED_GPUS];/* from KFD */124 process_apertures[NUM_OF_SUPPORTED_GPUS];/* from KFD */
125 125
126 /* from KFD, should be in the range [1 - NUM_OF_SUPPORTED_GPUS] */126 /* from KFD, should be in the range [1 - NUM_OF_SUPPORTED_GPUS] */
127 uint32_t num_of_nodes;127 __u32 num_of_nodes;
128 uint32_t pad;128 __u32 pad;
129};129};
130 130
131#define MAX_ALLOWED_NUM_POINTS 100131#define MAX_ALLOWED_NUM_POINTS 100
@@ -133,25 +133,25 @@ struct kfd_ioctl_get_process_apertures_args { · 1 unmodified line
133#define MAX_ALLOWED_WAC_BUFF_SIZE 128133#define MAX_ALLOWED_WAC_BUFF_SIZE 128
134 134
135struct kfd_ioctl_dbg_register_args {135struct kfd_ioctl_dbg_register_args {
136 uint32_t gpu_id; /* to KFD */136 __u32 gpu_id; /* to KFD */
137 uint32_t pad;137 __u32 pad;
138};138};
139 139
140struct kfd_ioctl_dbg_unregister_args {140struct kfd_ioctl_dbg_unregister_args {
141 uint32_t gpu_id; /* to KFD */141 __u32 gpu_id; /* to KFD */
142 uint32_t pad;142 __u32 pad;
143};143};
144 144
145struct kfd_ioctl_dbg_address_watch_args {145struct kfd_ioctl_dbg_address_watch_args {
146 uint64_t content_ptr; /* a pointer to the actual content */146 __u64 content_ptr; /* a pointer to the actual content */
147 uint32_t gpu_id; /* to KFD */147 __u32 gpu_id; /* to KFD */
148 uint32_t buf_size_in_bytes; /*including gpu_id and buf_size */148 __u32 buf_size_in_bytes; /*including gpu_id and buf_size */
149};149};
150 150
151struct kfd_ioctl_dbg_wave_control_args {151struct kfd_ioctl_dbg_wave_control_args {
152 uint64_t content_ptr; /* a pointer to the actual content */152 __u64 content_ptr; /* a pointer to the actual content */
153 uint32_t gpu_id; /* to KFD */153 __u32 gpu_id; /* to KFD */
154 uint32_t buf_size_in_bytes; /*including gpu_id and buf_size */154 __u32 buf_size_in_bytes; /*including gpu_id and buf_size */
155};155};
156 156
157/* Matching HSA_EVENTTYPE */157/* Matching HSA_EVENTTYPE */
@@ -169,47 +169,47 @@ struct kfd_ioctl_dbg_wave_control_args { · 11 unmodified lines
169#define KFD_IOC_WAIT_RESULT_TIMEOUT 1169#define KFD_IOC_WAIT_RESULT_TIMEOUT 1
170#define KFD_IOC_WAIT_RESULT_FAIL 2170#define KFD_IOC_WAIT_RESULT_FAIL 2
171 171
172#define KFD_SIGNAL_EVENT_LIMIT 256172#define KFD_SIGNAL_EVENT_LIMIT 4096
173 173
174struct kfd_ioctl_create_event_args {174struct kfd_ioctl_create_event_args {
175 uint64_t event_page_offset; /* from KFD */175 __u64 event_page_offset; /* from KFD */
176 uint32_t event_trigger_data; /* from KFD - signal events only */176 __u32 event_trigger_data; /* from KFD - signal events only */
177 uint32_t event_type; /* to KFD */177 __u32 event_type; /* to KFD */
178 uint32_t auto_reset; /* to KFD */178 __u32 auto_reset; /* to KFD */
179 uint32_t node_id; /* to KFD - only valid for certain179 __u32 node_id; /* to KFD - only valid for certain
180 event types */180 event types */
181 uint32_t event_id; /* from KFD */181 __u32 event_id; /* from KFD */
182 uint32_t event_slot_index; /* from KFD */182 __u32 event_slot_index; /* from KFD */
183};183};
184 184
185struct kfd_ioctl_destroy_event_args {185struct kfd_ioctl_destroy_event_args {
186 uint32_t event_id; /* to KFD */186 __u32 event_id; /* to KFD */
187 uint32_t pad;187 __u32 pad;
188};188};
189 189
190struct kfd_ioctl_set_event_args {190struct kfd_ioctl_set_event_args {
191 uint32_t event_id; /* to KFD */191 __u32 event_id; /* to KFD */
192 uint32_t pad;192 __u32 pad;
193};193};
194 194
195struct kfd_ioctl_reset_event_args {195struct kfd_ioctl_reset_event_args {
196 uint32_t event_id; /* to KFD */196 __u32 event_id; /* to KFD */
197 uint32_t pad;197 __u32 pad;
198};198};
199 199
200struct kfd_memory_exception_failure {200struct kfd_memory_exception_failure {
201 uint32_t NotPresent; /* Page not present or supervisor privilege */201 __u32 NotPresent; /* Page not present or supervisor privilege */
202 uint32_t ReadOnly; /* Write access to a read-only page */202 __u32 ReadOnly; /* Write access to a read-only page */
203 uint32_t NoExecute; /* Execute access to a page marked NX */203 __u32 NoExecute; /* Execute access to a page marked NX */
204 uint32_t pad;204 __u32 pad;
205};205};
206 206
207/* memory exception data*/207/* memory exception data*/
208struct kfd_hsa_memory_exception_data {208struct kfd_hsa_memory_exception_data {
209 struct kfd_memory_exception_failure failure;209 struct kfd_memory_exception_failure failure;
210 uint64_t va;210 __u64 va;
211 uint32_t gpu_id;211 __u32 gpu_id;
212 uint32_t pad;212 __u32 pad;
213};213};
214 214
215/* Event data*/215/* Event data*/
@@ -217,19 +217,19 @@ struct kfd_event_data { · 1 unmodified line
217 union {217 union {
218 struct kfd_hsa_memory_exception_data memory_exception_data;218 struct kfd_hsa_memory_exception_data memory_exception_data;
219 }; /* From KFD */219 }; /* From KFD */
220 uint64_t kfd_event_data_ext; /* pointer to an extension structure220 __u64 kfd_event_data_ext; /* pointer to an extension structure
221 for future exception types */221 for future exception types */
222 uint32_t event_id; /* to KFD */222 __u32 event_id; /* to KFD */
223 uint32_t pad;223 __u32 pad;
224};224};
225 225
226struct kfd_ioctl_wait_events_args {226struct kfd_ioctl_wait_events_args {
227 uint64_t events_ptr; /* pointed to struct227 __u64 events_ptr; /* pointed to struct
228 kfd_event_data array, to KFD */228 kfd_event_data array, to KFD */
229 uint32_t num_events; /* to KFD */229 __u32 num_events; /* to KFD */
230 uint32_t wait_for_all; /* to KFD */230 __u32 wait_for_all; /* to KFD */
231 uint32_t timeout; /* to KFD */231 __u32 timeout; /* to KFD */
232 uint32_t wait_result; /* from KFD */232 __u32 wait_result; /* from KFD */
233};233};
234 234
235struct kfd_ioctl_set_scratch_backing_va_args {235struct kfd_ioctl_set_scratch_backing_va_args {
include/uapi/linux/kvm.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_KVM_H2#ifndef __LINUX_KVM_H
2#define __LINUX_KVM_H3#define __LINUX_KVM_H
3 4
@@ -930,6 +931,7 @@ struct kvm_ppc_resize_hpt { · 926 unmodified lines
930#define KVM_CAP_PPC_SMT_POSSIBLE 147931#define KVM_CAP_PPC_SMT_POSSIBLE 147
931#define KVM_CAP_HYPERV_SYNIC2 148932#define KVM_CAP_HYPERV_SYNIC2 148
932#define KVM_CAP_HYPERV_VP_INDEX 149933#define KVM_CAP_HYPERV_VP_INDEX 149
934#define KVM_CAP_S390_AIS_MIGRATION 150
933 935
934#ifdef KVM_CAP_IRQ_ROUTING936#ifdef KVM_CAP_IRQ_ROUTING
935 937
include/uapi/linux/kvm_para.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_KVM_PARA_H2#ifndef _UAPI__LINUX_KVM_PARA_H
2#define _UAPI__LINUX_KVM_PARA_H3#define _UAPI__LINUX_KVM_PARA_H
3 4
include/uapi/linux/l2tp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * L2TP-over-IP socket for L2TPv3.3 * L2TP-over-IP socket for L2TPv3.
3 *4 *
include/uapi/linux/libc-compat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Compatibility interface for userspace libc header coordination:3 * Compatibility interface for userspace libc header coordination:
3 *4 *
include/uapi/linux/lightnvm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2015 CNEX Labs. All rights reserved.3 * Copyright (C) 2015 CNEX Labs. All rights reserved.
3 *4 *
include/uapi/linux/limits.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_LIMITS_H2#ifndef _LINUX_LIMITS_H
2#define _LINUX_LIMITS_H3#define _LINUX_LIMITS_H
3 4
include/uapi/linux/lirc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * lirc.h - linux infrared remote control header file3 * lirc.h - linux infrared remote control header file
3 * last modified 2010/07/13 by Jarod Wilson4 * last modified 2010/07/13 by Jarod Wilson
include/uapi/linux/llc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.3 * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators.
3 *4 *
include/uapi/linux/loop.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/loop.h3 * include/linux/loop.h
3 *4 *
include/uapi/linux/lp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * usr/include/linux/lp.h c.1991-1992 James Wiegand3 * usr/include/linux/lp.h c.1991-1992 James Wiegand
3 * many modifications copyright (C) 1992 Michael K. Johnson4 * many modifications copyright (C) 1992 Michael K. Johnson
include/uapi/linux/lwtunnel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LWTUNNEL_H_2#ifndef _UAPI_LWTUNNEL_H_
2#define _UAPI_LWTUNNEL_H_3#define _UAPI_LWTUNNEL_H_
3 4
include/uapi/linux/magic.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_MAGIC_H__2#ifndef __LINUX_MAGIC_H__
2#define __LINUX_MAGIC_H__3#define __LINUX_MAGIC_H__
3 4
@@ -46,6 +47,7 @@ · 42 unmodified lines
46#define OPENPROM_SUPER_MAGIC 0x9fa147#define OPENPROM_SUPER_MAGIC 0x9fa1
47#define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */48#define QNX4_SUPER_MAGIC 0x002f /* qnx4 fs detection */
48#define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */49#define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */
50#define AFS_FS_MAGIC 0x6B414653
49 51
50#define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */52#define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */
51 /* used by file system utilities that53 /* used by file system utilities that
include/uapi/linux/major.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_MAJOR_H2#ifndef _LINUX_MAJOR_H
2#define _LINUX_MAJOR_H3#define _LINUX_MAJOR_H
3 4
include/uapi/linux/map_to_7segment.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com>3 * Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com>
3 *4 *
include/uapi/linux/matroxfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_MATROXFB_H__2#ifndef __LINUX_MATROXFB_H__
2#define __LINUX_MATROXFB_H__3#define __LINUX_MATROXFB_H__
3 4
include/uapi/linux/max2175.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * max2175.h3 * max2175.h
3 *4 *
include/uapi/linux/mdio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/mdio.h: definitions for MDIO (clause 45) transceivers3 * linux/mdio.h: definitions for MDIO (clause 45) transceivers
3 * Copyright 2006-2009 Solarflare Communications Inc.4 * Copyright 2006-2009 Solarflare Communications Inc.
include/uapi/linux/media-bus-format.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Media Bus API header3 * Media Bus API header
3 *4 *
include/uapi/linux/media.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Multimedia device API3 * Multimedia device API
3 *4 *
include/uapi/linux/mei.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/******************************************************************************2/******************************************************************************
2 * Intel Management Engine Interface (Intel MEI) Linux driver3 * Intel Management Engine Interface (Intel MEI) Linux driver
3 * Intel MEI Interface Header4 * Intel MEI Interface Header
include/uapi/linux/membarrier.h+16−7
@@ -52,21 +52,30 @@ · 51 unmodified lines
52 * (non-running threads are de facto in such a52 * (non-running threads are de facto in such a
53 * state). This only covers threads from the53 * state). This only covers threads from the
54 * same processes as the caller thread. This54 * same processes as the caller thread. This
55 * command returns 0. The "expedited" commands55 * command returns 0 on success. The
56 * complete faster than the non-expedited ones,56 * "expedited" commands complete faster than
57 * they never block, but have the downside of57 * the non-expedited ones, they never block,
58 * causing extra overhead.58 * but have the downside of causing extra
59 * overhead. A process needs to register its
60 * intent to use the private expedited command
61 * prior to using it, otherwise this command
62 * returns -EPERM.
63 * @MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED:
64 * Register the process intent to use
65 * MEMBARRIER_CMD_PRIVATE_EXPEDITED. Always
66 * returns 0.
59 *67 *
60 * Command to be passed to the membarrier system call. The commands need to68 * Command to be passed to the membarrier system call. The commands need to
61 * be a single bit each, except for MEMBARRIER_CMD_QUERY which is assigned to69 * be a single bit each, except for MEMBARRIER_CMD_QUERY which is assigned to
62 * the value 0.70 * the value 0.
63 */71 */
64enum membarrier_cmd {72enum membarrier_cmd {
65 MEMBARRIER_CMD_QUERY = 0,73 MEMBARRIER_CMD_QUERY = 0,
66 MEMBARRIER_CMD_SHARED = (1 << 0),74 MEMBARRIER_CMD_SHARED = (1 << 0),
67 /* reserved for MEMBARRIER_CMD_SHARED_EXPEDITED (1 << 1) */75 /* reserved for MEMBARRIER_CMD_SHARED_EXPEDITED (1 << 1) */
68 /* reserved for MEMBARRIER_CMD_PRIVATE (1 << 2) */76 /* reserved for MEMBARRIER_CMD_PRIVATE (1 << 2) */
69 MEMBARRIER_CMD_PRIVATE_EXPEDITED = (1 << 3),77 MEMBARRIER_CMD_PRIVATE_EXPEDITED = (1 << 3),
78 MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = (1 << 4),
70};79};
71 80
72#endif /* _UAPI_LINUX_MEMBARRIER_H */81#endif /* _UAPI_LINUX_MEMBARRIER_H */
include/uapi/linux/memfd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_MEMFD_H2#ifndef _UAPI_LINUX_MEMFD_H
2#define _UAPI_LINUX_MEMFD_H3#define _UAPI_LINUX_MEMFD_H
3 4
include/uapi/linux/mempolicy.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * NUMA memory policies for Linux.3 * NUMA memory policies for Linux.
3 * Copyright 2003,2004 Andi Kleen SuSE Labs4 * Copyright 2003,2004 Andi Kleen SuSE Labs
include/uapi/linux/meye.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Motion Eye video4linux driver for Sony Vaio PictureBook3 * Motion Eye video4linux driver for Sony Vaio PictureBook
3 *4 *
include/uapi/linux/mic_common.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Intel MIC Platform Software Stack (MPSS)3 * Intel MIC Platform Software Stack (MPSS)
3 *4 *
include/uapi/linux/mic_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Intel MIC Platform Software Stack (MPSS)3 * Intel MIC Platform Software Stack (MPSS)
3 *4 *
include/uapi/linux/mii.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/mii.h: definitions for MII-compatible transceivers3 * linux/mii.h: definitions for MII-compatible transceivers
3 * Originally drivers/net/sunhme.h.4 * Originally drivers/net/sunhme.h.
include/uapi/linux/minix_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_MINIX_FS_H2#ifndef _LINUX_MINIX_FS_H
2#define _LINUX_MINIX_FS_H3#define _LINUX_MINIX_FS_H
3 4
include/uapi/linux/mman.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_MMAN_H2#ifndef _UAPI_LINUX_MMAN_H
2#define _UAPI_LINUX_MMAN_H3#define _UAPI_LINUX_MMAN_H
3 4
include/uapi/linux/mmc/ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef LINUX_MMC_IOCTL_H2#ifndef LINUX_MMC_IOCTL_H
2#define LINUX_MMC_IOCTL_H3#define LINUX_MMC_IOCTL_H
3 4
include/uapi/linux/mmtimer.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Intel Multimedia Timer device interface3 * Intel Multimedia Timer device interface
3 *4 *
include/uapi/linux/module.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_MODULE_H2#ifndef _UAPI_LINUX_MODULE_H
2#define _UAPI_LINUX_MODULE_H3#define _UAPI_LINUX_MODULE_H
3 4
include/uapi/linux/mpls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_MPLS_H2#ifndef _UAPI_MPLS_H
2#define _UAPI_MPLS_H3#define _UAPI_MPLS_H
3 4
include/uapi/linux/mpls_iptunnel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * mpls tunnel api3 * mpls tunnel api
3 *4 *
include/uapi/linux/mqueue.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/* Copyright (C) 2003 Krzysztof Benedyczak & Michal Wronski2/* Copyright (C) 2003 Krzysztof Benedyczak & Michal Wronski
2 3
3 This program is free software; you can redistribute it and/or4 This program is free software; you can redistribute it and/or
include/uapi/linux/mroute.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_MROUTE_H2#ifndef _UAPI__LINUX_MROUTE_H
2#define _UAPI__LINUX_MROUTE_H3#define _UAPI__LINUX_MROUTE_H
3 4
include/uapi/linux/mroute6.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_MROUTE6_H2#ifndef _UAPI__LINUX_MROUTE6_H
2#define _UAPI__LINUX_MROUTE6_H3#define _UAPI__LINUX_MROUTE6_H
3 4
include/uapi/linux/msdos_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_MSDOS_FS_H2#ifndef _UAPI_LINUX_MSDOS_FS_H
2#define _UAPI_LINUX_MSDOS_FS_H3#define _UAPI_LINUX_MSDOS_FS_H
3 4
include/uapi/linux/msg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_MSG_H2#ifndef _UAPI_LINUX_MSG_H
2#define _UAPI_LINUX_MSG_H3#define _UAPI_LINUX_MSG_H
3 4
include/uapi/linux/mtio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* 2/*
2 * linux/mtio.h header file for Linux. Written by H. Bergman3 * linux/mtio.h header file for Linux. Written by H. Bergman
3 *4 *
include/uapi/linux/n_r3964.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/* r3964 linediscipline for linux2/* r3964 linediscipline for linux
2 *3 *
3 * -----------------------------------------------------------4 * -----------------------------------------------------------
include/uapi/linux/nbd-netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2017 Facebook. All rights reserved.3 * Copyright (C) 2017 Facebook. All rights reserved.
3 *4 *
include/uapi/linux/nbd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * 1999 Copyright (C) Pavel Machek, pavel@ucw.cz. This code is GPL.3 * 1999 Copyright (C) Pavel Machek, pavel@ucw.cz. This code is GPL.
3 * 1999/11/04 Copyright (C) 1999 VMware, Inc. (Regis "HPReg" Duchesne)4 * 1999/11/04 Copyright (C) 1999 VMware, Inc. (Regis "HPReg" Duchesne)
include/uapi/linux/ncp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ncp.h3 * ncp.h
3 *4 *
include/uapi/linux/ncp_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ncp_fs.h3 * ncp_fs.h
3 *4 *
include/uapi/linux/ncp_mount.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ncp_mount.h3 * ncp_mount.h
3 *4 *
include/uapi/linux/ncp_no.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NCP_NO2#ifndef _NCP_NO
2#define _NCP_NO3#define _NCP_NO
3 4
include/uapi/linux/neighbour.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_NEIGHBOUR_H2#ifndef __LINUX_NEIGHBOUR_H
2#define __LINUX_NEIGHBOUR_H3#define __LINUX_NEIGHBOUR_H
3 4
include/uapi/linux/net.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * NET An implementation of the SOCKET network access protocol.3 * NET An implementation of the SOCKET network access protocol.
3 * This is the master header file for the Linux NET layer,4 * This is the master header file for the Linux NET layer,
include/uapi/linux/net_dropmon.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __NET_DROPMON_H2#ifndef __NET_DROPMON_H
2#define __NET_DROPMON_H3#define __NET_DROPMON_H
3 4
include/uapi/linux/net_namespace.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Copyright (c) 2015 6WIND S.A.2/* Copyright (c) 2015 6WIND S.A.
2 * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>3 * Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>
3 *4 *
include/uapi/linux/net_tstamp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Userspace API for hardware time stamping of network packets3 * Userspace API for hardware time stamping of network packets
3 *4 *
include/uapi/linux/netconf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_NETCONF_H_2#ifndef _UAPI_LINUX_NETCONF_H_
2#define _UAPI_LINUX_NETCONF_H_3#define _UAPI_LINUX_NETCONF_H_
3 4
include/uapi/linux/netdevice.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/netfilter.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_NETFILTER_H2#ifndef _UAPI__LINUX_NETFILTER_H
2#define _UAPI__LINUX_NETFILTER_H3#define _UAPI__LINUX_NETFILTER_H
3 4
include/uapi/linux/netfilter/ipset/ip_set.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>2/* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
2 * Patrick Schaaf <bof@bof.de>3 * Patrick Schaaf <bof@bof.de>
3 * Martin Josefsson <gandalf@wlug.westbo.se>4 * Martin Josefsson <gandalf@wlug.westbo.se>
include/uapi/linux/netfilter/ipset/ip_set_bitmap.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__IP_SET_BITMAP_H2#ifndef _UAPI__IP_SET_BITMAP_H
2#define _UAPI__IP_SET_BITMAP_H3#define _UAPI__IP_SET_BITMAP_H
3 4
include/uapi/linux/netfilter/ipset/ip_set_hash.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__IP_SET_HASH_H2#ifndef _UAPI__IP_SET_HASH_H
2#define _UAPI__IP_SET_HASH_H3#define _UAPI__IP_SET_HASH_H
3 4
include/uapi/linux/netfilter/ipset/ip_set_list.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__IP_SET_LIST_H2#ifndef _UAPI__IP_SET_LIST_H
2#define _UAPI__IP_SET_LIST_H3#define _UAPI__IP_SET_LIST_H
3 4
include/uapi/linux/netfilter/nf_conntrack_common.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NF_CONNTRACK_COMMON_H2#ifndef _UAPI_NF_CONNTRACK_COMMON_H
2#define _UAPI_NF_CONNTRACK_COMMON_H3#define _UAPI_NF_CONNTRACK_COMMON_H
3/* Connection state tracking for netfilter. This is separated from,4/* Connection state tracking for netfilter. This is separated from,
include/uapi/linux/netfilter/nf_conntrack_ftp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NF_CONNTRACK_FTP_H2#ifndef _UAPI_NF_CONNTRACK_FTP_H
2#define _UAPI_NF_CONNTRACK_FTP_H3#define _UAPI_NF_CONNTRACK_FTP_H
3/* FTP tracking. */4/* FTP tracking. */
include/uapi/linux/netfilter/nf_conntrack_sctp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NF_CONNTRACK_SCTP_H2#ifndef _UAPI_NF_CONNTRACK_SCTP_H
2#define _UAPI_NF_CONNTRACK_SCTP_H3#define _UAPI_NF_CONNTRACK_SCTP_H
3/* SCTP tracking. */4/* SCTP tracking. */
include/uapi/linux/netfilter/nf_conntrack_tcp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NF_CONNTRACK_TCP_H2#ifndef _UAPI_NF_CONNTRACK_TCP_H
2#define _UAPI_NF_CONNTRACK_TCP_H3#define _UAPI_NF_CONNTRACK_TCP_H
3/* TCP tracking. */4/* TCP tracking. */
include/uapi/linux/netfilter/nf_conntrack_tuple_common.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NF_CONNTRACK_TUPLE_COMMON_H2#ifndef _NF_CONNTRACK_TUPLE_COMMON_H
2#define _NF_CONNTRACK_TUPLE_COMMON_H3#define _NF_CONNTRACK_TUPLE_COMMON_H
3 4
include/uapi/linux/netfilter/nf_log.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NETFILTER_NF_LOG_H2#ifndef _NETFILTER_NF_LOG_H
2#define _NETFILTER_NF_LOG_H3#define _NETFILTER_NF_LOG_H
3 4
include/uapi/linux/netfilter/nf_nat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NETFILTER_NF_NAT_H2#ifndef _NETFILTER_NF_NAT_H
2#define _NETFILTER_NF_NAT_H3#define _NETFILTER_NF_NAT_H
3 4
include/uapi/linux/netfilter/nf_tables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NF_TABLES_H2#ifndef _LINUX_NF_TABLES_H
2#define _LINUX_NF_TABLES_H3#define _LINUX_NF_TABLES_H
3 4
include/uapi/linux/netfilter/nf_tables_compat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NFT_COMPAT_NFNETLINK_H_2#ifndef _NFT_COMPAT_NFNETLINK_H_
2#define _NFT_COMPAT_NFNETLINK_H_3#define _NFT_COMPAT_NFNETLINK_H_
3 4
include/uapi/linux/netfilter/nfnetlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NFNETLINK_H2#ifndef _UAPI_NFNETLINK_H
2#define _UAPI_NFNETLINK_H3#define _UAPI_NFNETLINK_H
3#include <linux/types.h>4#include <linux/types.h>
include/uapi/linux/netfilter/nfnetlink_acct.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_NFNL_ACCT_H_2#ifndef _UAPI_NFNL_ACCT_H_
2#define _UAPI_NFNL_ACCT_H_3#define _UAPI_NFNL_ACCT_H_
3 4
include/uapi/linux/netfilter/nfnetlink_compat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NFNETLINK_COMPAT_H2#ifndef _NFNETLINK_COMPAT_H
2#define _NFNETLINK_COMPAT_H3#define _NFNETLINK_COMPAT_H
3 4
include/uapi/linux/netfilter/nfnetlink_conntrack.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPCONNTRACK_NETLINK_H2#ifndef _IPCONNTRACK_NETLINK_H
2#define _IPCONNTRACK_NETLINK_H3#define _IPCONNTRACK_NETLINK_H
3#include <linux/netfilter/nfnetlink.h>4#include <linux/netfilter/nfnetlink.h>
include/uapi/linux/netfilter/nfnetlink_cthelper.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NFNL_CTHELPER_H_2#ifndef _NFNL_CTHELPER_H_
2#define _NFNL_CTHELPER_H_3#define _NFNL_CTHELPER_H_
3 4
include/uapi/linux/netfilter/nfnetlink_cttimeout.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _CTTIMEOUT_NETLINK_H2#ifndef _CTTIMEOUT_NETLINK_H
2#define _CTTIMEOUT_NETLINK_H3#define _CTTIMEOUT_NETLINK_H
3#include <linux/netfilter/nfnetlink.h>4#include <linux/netfilter/nfnetlink.h>
include/uapi/linux/netfilter/nfnetlink_log.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NFNETLINK_LOG_H2#ifndef _NFNETLINK_LOG_H
2#define _NFNETLINK_LOG_H3#define _NFNETLINK_LOG_H
3 4
include/uapi/linux/netfilter/nfnetlink_queue.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _NFNETLINK_QUEUE_H2#ifndef _NFNETLINK_QUEUE_H
2#define _NFNETLINK_QUEUE_H3#define _NFNETLINK_QUEUE_H
3 4
include/uapi/linux/netfilter/x_tables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_X_TABLES_H2#ifndef _UAPI_X_TABLES_H
2#define _UAPI_X_TABLES_H3#define _UAPI_X_TABLES_H
3#include <linux/kernel.h>4#include <linux/kernel.h>
include/uapi/linux/netfilter/xt_AUDIT.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Header file for iptables xt_AUDIT target3 * Header file for iptables xt_AUDIT target
3 *4 *
include/uapi/linux/netfilter/xt_CHECKSUM.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Header file for iptables ipt_CHECKSUM target2/* Header file for iptables ipt_CHECKSUM target
2 *3 *
3 * (C) 2002 by Harald Welte <laforge@gnumonks.org>4 * (C) 2002 by Harald Welte <laforge@gnumonks.org>
include/uapi/linux/netfilter/xt_CLASSIFY.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CLASSIFY_H2#ifndef _XT_CLASSIFY_H
2#define _XT_CLASSIFY_H3#define _XT_CLASSIFY_H
3 4
include/uapi/linux/netfilter/xt_CONNMARK.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CONNMARK_H_target2#ifndef _XT_CONNMARK_H_target
2#define _XT_CONNMARK_H_target3#define _XT_CONNMARK_H_target
3 4
include/uapi/linux/netfilter/xt_CONNSECMARK.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CONNSECMARK_H_target2#ifndef _XT_CONNSECMARK_H_target
2#define _XT_CONNSECMARK_H_target3#define _XT_CONNSECMARK_H_target
3 4
include/uapi/linux/netfilter/xt_CT.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CT_H2#ifndef _XT_CT_H
2#define _XT_CT_H3#define _XT_CT_H
3 4
include/uapi/linux/netfilter/xt_DSCP.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* x_tables module for setting the IPv4/IPv6 DSCP field2/* x_tables module for setting the IPv4/IPv6 DSCP field
2 *3 *
3 * (C) 2002 Harald Welte <laforge@gnumonks.org>4 * (C) 2002 Harald Welte <laforge@gnumonks.org>
include/uapi/linux/netfilter/xt_HMARK.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef XT_HMARK_H_2#ifndef XT_HMARK_H_
2#define XT_HMARK_H_3#define XT_HMARK_H_
3 4
include/uapi/linux/netfilter/xt_IDLETIMER.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/netfilter/xt_IDLETIMER.h3 * linux/include/linux/netfilter/xt_IDLETIMER.h
3 *4 *
include/uapi/linux/netfilter/xt_LED.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_LED_H2#ifndef _XT_LED_H
2#define _XT_LED_H3#define _XT_LED_H
3 4
include/uapi/linux/netfilter/xt_LOG.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_LOG_H2#ifndef _XT_LOG_H
2#define _XT_LOG_H3#define _XT_LOG_H
3 4
include/uapi/linux/netfilter/xt_MARK.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_MARK_H_target2#ifndef _XT_MARK_H_target
2#define _XT_MARK_H_target3#define _XT_MARK_H_target
3 4
include/uapi/linux/netfilter/xt_NFLOG.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_NFLOG_TARGET2#ifndef _XT_NFLOG_TARGET
2#define _XT_NFLOG_TARGET3#define _XT_NFLOG_TARGET
3 4
include/uapi/linux/netfilter/xt_NFQUEUE.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* iptables module for using NFQUEUE mechanism2/* iptables module for using NFQUEUE mechanism
2 *3 *
3 * (C) 2005 Harald Welte <laforge@netfilter.org>4 * (C) 2005 Harald Welte <laforge@netfilter.org>
include/uapi/linux/netfilter/xt_RATEEST.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_RATEEST_TARGET_H2#ifndef _XT_RATEEST_TARGET_H
2#define _XT_RATEEST_TARGET_H3#define _XT_RATEEST_TARGET_H
3 4
include/uapi/linux/netfilter/xt_SECMARK.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_SECMARK_H_target2#ifndef _XT_SECMARK_H_target
2#define _XT_SECMARK_H_target3#define _XT_SECMARK_H_target
3 4
include/uapi/linux/netfilter/xt_SYNPROXY.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_SYNPROXY_H2#ifndef _XT_SYNPROXY_H
2#define _XT_SYNPROXY_H3#define _XT_SYNPROXY_H
3 4
include/uapi/linux/netfilter/xt_TCPMSS.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TCPMSS_H2#ifndef _XT_TCPMSS_H
2#define _XT_TCPMSS_H3#define _XT_TCPMSS_H
3 4
include/uapi/linux/netfilter/xt_TCPOPTSTRIP.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TCPOPTSTRIP_H2#ifndef _XT_TCPOPTSTRIP_H
2#define _XT_TCPOPTSTRIP_H3#define _XT_TCPOPTSTRIP_H
3 4
include/uapi/linux/netfilter/xt_TEE.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TEE_TARGET_H2#ifndef _XT_TEE_TARGET_H
2#define _XT_TEE_TARGET_H3#define _XT_TEE_TARGET_H
3 4
include/uapi/linux/netfilter/xt_TPROXY.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TPROXY_H2#ifndef _XT_TPROXY_H
2#define _XT_TPROXY_H3#define _XT_TPROXY_H
3 4
include/uapi/linux/netfilter/xt_addrtype.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_ADDRTYPE_H2#ifndef _XT_ADDRTYPE_H
2#define _XT_ADDRTYPE_H3#define _XT_ADDRTYPE_H
3 4
include/uapi/linux/netfilter/xt_bpf.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_BPF_H2#ifndef _XT_BPF_H
2#define _XT_BPF_H3#define _XT_BPF_H
3 4
@@ -23,6 +24,7 @@ enum xt_bpf_modes { · 19 unmodified lines
23 XT_BPF_MODE_FD_PINNED,24 XT_BPF_MODE_FD_PINNED,
24 XT_BPF_MODE_FD_ELF,25 XT_BPF_MODE_FD_ELF,
25};26};
27#define XT_BPF_MODE_PATH_PINNED XT_BPF_MODE_FD_PINNED
26 28
27struct xt_bpf_info_v1 {29struct xt_bpf_info_v1 {
28 __u16 mode;30 __u16 mode;
include/uapi/linux/netfilter/xt_cgroup.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_XT_CGROUP_H2#ifndef _UAPI_XT_CGROUP_H
2#define _UAPI_XT_CGROUP_H3#define _UAPI_XT_CGROUP_H
3 4
include/uapi/linux/netfilter/xt_cluster.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CLUSTER_MATCH_H2#ifndef _XT_CLUSTER_MATCH_H
2#define _XT_CLUSTER_MATCH_H3#define _XT_CLUSTER_MATCH_H
3 4
include/uapi/linux/netfilter/xt_comment.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_COMMENT_H2#ifndef _XT_COMMENT_H
2#define _XT_COMMENT_H3#define _XT_COMMENT_H
3 4
include/uapi/linux/netfilter/xt_connbytes.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CONNBYTES_H2#ifndef _XT_CONNBYTES_H
2#define _XT_CONNBYTES_H3#define _XT_CONNBYTES_H
3 4
include/uapi/linux/netfilter/xt_connlabel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#include <linux/types.h>2#include <linux/types.h>
2 3
3#define XT_CONNLABEL_MAXBIT 1274#define XT_CONNLABEL_MAXBIT 127
include/uapi/linux/netfilter/xt_connlimit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CONNLIMIT_H2#ifndef _XT_CONNLIMIT_H
2#define _XT_CONNLIMIT_H3#define _XT_CONNLIMIT_H
3 4
include/uapi/linux/netfilter/xt_connmark.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef _XT_CONNMARK_H2#ifndef _XT_CONNMARK_H
2#define _XT_CONNMARK_H3#define _XT_CONNMARK_H
3 4
include/uapi/linux/netfilter/xt_conntrack.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/* Header file for kernel module to match connection tracking information.2/* Header file for kernel module to match connection tracking information.
2 * GPL (C) 2001 Marc Boucher (marc@mbsi.ca).3 * GPL (C) 2001 Marc Boucher (marc@mbsi.ca).
3 */4 */
include/uapi/linux/netfilter/xt_cpu.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_CPU_H2#ifndef _XT_CPU_H
2#define _XT_CPU_H3#define _XT_CPU_H
3 4
include/uapi/linux/netfilter/xt_dccp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_DCCP_H_2#ifndef _XT_DCCP_H_
2#define _XT_DCCP_H_3#define _XT_DCCP_H_
3 4
include/uapi/linux/netfilter/xt_devgroup.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_DEVGROUP_H2#ifndef _XT_DEVGROUP_H
2#define _XT_DEVGROUP_H3#define _XT_DEVGROUP_H
3 4
include/uapi/linux/netfilter/xt_dscp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* x_tables module for matching the IPv4/IPv6 DSCP field2/* x_tables module for matching the IPv4/IPv6 DSCP field
2 *3 *
3 * (C) 2002 Harald Welte <laforge@gnumonks.org>4 * (C) 2002 Harald Welte <laforge@gnumonks.org>
include/uapi/linux/netfilter/xt_ecn.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* iptables module for matching the ECN header in IPv4 and TCP header2/* iptables module for matching the ECN header in IPv4 and TCP header
2 *3 *
3 * (C) 2002 Harald Welte <laforge@gnumonks.org>4 * (C) 2002 Harald Welte <laforge@gnumonks.org>
include/uapi/linux/netfilter/xt_esp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_ESP_H2#ifndef _XT_ESP_H
2#define _XT_ESP_H3#define _XT_ESP_H
3 4
include/uapi/linux/netfilter/xt_hashlimit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_XT_HASHLIMIT_H2#ifndef _UAPI_XT_HASHLIMIT_H
2#define _UAPI_XT_HASHLIMIT_H3#define _UAPI_XT_HASHLIMIT_H
3 4
include/uapi/linux/netfilter/xt_helper.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_HELPER_H2#ifndef _XT_HELPER_H
2#define _XT_HELPER_H3#define _XT_HELPER_H
3 4
include/uapi/linux/netfilter/xt_ipcomp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_IPCOMP_H2#ifndef _XT_IPCOMP_H
2#define _XT_IPCOMP_H3#define _XT_IPCOMP_H
3 4
include/uapi/linux/netfilter/xt_iprange.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NETFILTER_XT_IPRANGE_H2#ifndef _LINUX_NETFILTER_XT_IPRANGE_H
2#define _LINUX_NETFILTER_XT_IPRANGE_H 13#define _LINUX_NETFILTER_XT_IPRANGE_H 1
3 4
include/uapi/linux/netfilter/xt_ipvs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_IPVS_H2#ifndef _XT_IPVS_H
2#define _XT_IPVS_H3#define _XT_IPVS_H
3 4
include/uapi/linux/netfilter/xt_l2tp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NETFILTER_XT_L2TP_H2#ifndef _LINUX_NETFILTER_XT_L2TP_H
2#define _LINUX_NETFILTER_XT_L2TP_H3#define _LINUX_NETFILTER_XT_L2TP_H
3 4
include/uapi/linux/netfilter/xt_length.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_LENGTH_H2#ifndef _XT_LENGTH_H
2#define _XT_LENGTH_H3#define _XT_LENGTH_H
3 4
include/uapi/linux/netfilter/xt_limit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_RATE_H2#ifndef _XT_RATE_H
2#define _XT_RATE_H3#define _XT_RATE_H
3 4
include/uapi/linux/netfilter/xt_mac.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_MAC_H2#ifndef _XT_MAC_H
2#define _XT_MAC_H3#define _XT_MAC_H
3 4
include/uapi/linux/netfilter/xt_mark.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_MARK_H2#ifndef _XT_MARK_H
2#define _XT_MARK_H3#define _XT_MARK_H
3 4
include/uapi/linux/netfilter/xt_multiport.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_MULTIPORT_H2#ifndef _XT_MULTIPORT_H
2#define _XT_MULTIPORT_H3#define _XT_MULTIPORT_H
3 4
include/uapi/linux/netfilter/xt_nfacct.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_NFACCT_MATCH_H2#ifndef _XT_NFACCT_MATCH_H
2#define _XT_NFACCT_MATCH_H3#define _XT_NFACCT_MATCH_H
3 4
include/uapi/linux/netfilter/xt_osf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2003+ Evgeniy Polyakov <johnpol@2ka.mxt.ru>3 * Copyright (c) 2003+ Evgeniy Polyakov <johnpol@2ka.mxt.ru>
3 *4 *
include/uapi/linux/netfilter/xt_owner.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_OWNER_MATCH_H2#ifndef _XT_OWNER_MATCH_H
2#define _XT_OWNER_MATCH_H3#define _XT_OWNER_MATCH_H
3 4
include/uapi/linux/netfilter/xt_physdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_XT_PHYSDEV_H2#ifndef _UAPI_XT_PHYSDEV_H
2#define _UAPI_XT_PHYSDEV_H3#define _UAPI_XT_PHYSDEV_H
3 4
include/uapi/linux/netfilter/xt_pkttype.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_PKTTYPE_H2#ifndef _XT_PKTTYPE_H
2#define _XT_PKTTYPE_H3#define _XT_PKTTYPE_H
3 4
include/uapi/linux/netfilter/xt_policy.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_POLICY_H2#ifndef _XT_POLICY_H
2#define _XT_POLICY_H3#define _XT_POLICY_H
3 4
include/uapi/linux/netfilter/xt_quota.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_QUOTA_H2#ifndef _XT_QUOTA_H
2#define _XT_QUOTA_H3#define _XT_QUOTA_H
3 4
include/uapi/linux/netfilter/xt_rateest.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_RATEEST_MATCH_H2#ifndef _XT_RATEEST_MATCH_H
2#define _XT_RATEEST_MATCH_H3#define _XT_RATEEST_MATCH_H
3 4
include/uapi/linux/netfilter/xt_realm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_REALM_H2#ifndef _XT_REALM_H
2#define _XT_REALM_H3#define _XT_REALM_H
3 4
include/uapi/linux/netfilter/xt_recent.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NETFILTER_XT_RECENT_H2#ifndef _LINUX_NETFILTER_XT_RECENT_H
2#define _LINUX_NETFILTER_XT_RECENT_H 13#define _LINUX_NETFILTER_XT_RECENT_H 1
3 4
include/uapi/linux/netfilter/xt_rpfilter.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_RPATH_H2#ifndef _XT_RPATH_H
2#define _XT_RPATH_H3#define _XT_RPATH_H
3 4
include/uapi/linux/netfilter/xt_sctp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_SCTP_H_2#ifndef _XT_SCTP_H_
2#define _XT_SCTP_H_3#define _XT_SCTP_H_
3 4
include/uapi/linux/netfilter/xt_set.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_SET_H2#ifndef _XT_SET_H
2#define _XT_SET_H3#define _XT_SET_H
3 4
include/uapi/linux/netfilter/xt_socket.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_SOCKET_H2#ifndef _XT_SOCKET_H
2#define _XT_SOCKET_H3#define _XT_SOCKET_H
3 4
include/uapi/linux/netfilter/xt_state.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_STATE_H2#ifndef _XT_STATE_H
2#define _XT_STATE_H3#define _XT_STATE_H
3 4
include/uapi/linux/netfilter/xt_statistic.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_STATISTIC_H2#ifndef _XT_STATISTIC_H
2#define _XT_STATISTIC_H3#define _XT_STATISTIC_H
3 4
include/uapi/linux/netfilter/xt_string.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_STRING_H2#ifndef _XT_STRING_H
2#define _XT_STRING_H3#define _XT_STRING_H
3 4
include/uapi/linux/netfilter/xt_tcpmss.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TCPMSS_MATCH_H2#ifndef _XT_TCPMSS_MATCH_H
2#define _XT_TCPMSS_MATCH_H3#define _XT_TCPMSS_MATCH_H
3 4
include/uapi/linux/netfilter/xt_tcpudp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TCPUDP_H2#ifndef _XT_TCPUDP_H
2#define _XT_TCPUDP_H3#define _XT_TCPUDP_H
3 4
include/uapi/linux/netfilter/xt_time.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_TIME_H2#ifndef _XT_TIME_H
2#define _XT_TIME_H 13#define _XT_TIME_H 1
3 4
include/uapi/linux/netfilter/xt_u32.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _XT_U32_H2#ifndef _XT_U32_H
2#define _XT_U32_H 13#define _XT_U32_H 1
3 4
include/uapi/linux/netfilter_arp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1#ifndef __LINUX_ARP_NETFILTER_H2#ifndef __LINUX_ARP_NETFILTER_H
2#define __LINUX_ARP_NETFILTER_H3#define __LINUX_ARP_NETFILTER_H
3 4
include/uapi/linux/netfilter_arp/arp_tables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Format of an ARP firewall descriptor3 * Format of an ARP firewall descriptor
3 *4 *
include/uapi/linux/netfilter_arp/arpt_mangle.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ARPT_MANGLE_H2#ifndef _ARPT_MANGLE_H
2#define _ARPT_MANGLE_H3#define _ARPT_MANGLE_H
3#include <linux/netfilter_arp/arp_tables.h>4#include <linux/netfilter_arp/arp_tables.h>
include/uapi/linux/netfilter_bridge.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H2#ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H
2#define _UAPI__LINUX_BRIDGE_NETFILTER_H3#define _UAPI__LINUX_BRIDGE_NETFILTER_H
3 4
include/uapi/linux/netfilter_bridge/ebt_802_3.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H2#ifndef _UAPI__LINUX_BRIDGE_EBT_802_3_H
2#define _UAPI__LINUX_BRIDGE_EBT_802_3_H3#define _UAPI__LINUX_BRIDGE_EBT_802_3_H
3 4
include/uapi/linux/netfilter_bridge/ebt_among.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_AMONG_H2#ifndef __LINUX_BRIDGE_EBT_AMONG_H
2#define __LINUX_BRIDGE_EBT_AMONG_H3#define __LINUX_BRIDGE_EBT_AMONG_H
3 4
include/uapi/linux/netfilter_bridge/ebt_arp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_ARP_H2#ifndef __LINUX_BRIDGE_EBT_ARP_H
2#define __LINUX_BRIDGE_EBT_ARP_H3#define __LINUX_BRIDGE_EBT_ARP_H
3 4
include/uapi/linux/netfilter_bridge/ebt_arpreply.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H2#ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H
2#define __LINUX_BRIDGE_EBT_ARPREPLY_H3#define __LINUX_BRIDGE_EBT_ARPREPLY_H
3 4
include/uapi/linux/netfilter_bridge/ebt_ip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ebt_ip3 * ebt_ip
3 *4 *
include/uapi/linux/netfilter_bridge/ebt_ip6.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ebt_ip63 * ebt_ip6
3 *4 *
include/uapi/linux/netfilter_bridge/ebt_limit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_LIMIT_H2#ifndef __LINUX_BRIDGE_EBT_LIMIT_H
2#define __LINUX_BRIDGE_EBT_LIMIT_H3#define __LINUX_BRIDGE_EBT_LIMIT_H
3 4
include/uapi/linux/netfilter_bridge/ebt_log.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_LOG_H2#ifndef __LINUX_BRIDGE_EBT_LOG_H
2#define __LINUX_BRIDGE_EBT_LOG_H3#define __LINUX_BRIDGE_EBT_LOG_H
3 4
include/uapi/linux/netfilter_bridge/ebt_mark_m.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_MARK_M_H2#ifndef __LINUX_BRIDGE_EBT_MARK_M_H
2#define __LINUX_BRIDGE_EBT_MARK_M_H3#define __LINUX_BRIDGE_EBT_MARK_M_H
3 4
include/uapi/linux/netfilter_bridge/ebt_mark_t.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_MARK_T_H2#ifndef __LINUX_BRIDGE_EBT_MARK_T_H
2#define __LINUX_BRIDGE_EBT_MARK_T_H3#define __LINUX_BRIDGE_EBT_MARK_T_H
3 4
include/uapi/linux/netfilter_bridge/ebt_nat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_NAT_H2#ifndef __LINUX_BRIDGE_EBT_NAT_H
2#define __LINUX_BRIDGE_EBT_NAT_H3#define __LINUX_BRIDGE_EBT_NAT_H
3 4
include/uapi/linux/netfilter_bridge/ebt_nflog.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_NFLOG_H2#ifndef __LINUX_BRIDGE_EBT_NFLOG_H
2#define __LINUX_BRIDGE_EBT_NFLOG_H3#define __LINUX_BRIDGE_EBT_NFLOG_H
3 4
include/uapi/linux/netfilter_bridge/ebt_pkttype.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H2#ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H
2#define __LINUX_BRIDGE_EBT_PKTTYPE_H3#define __LINUX_BRIDGE_EBT_PKTTYPE_H
3 4
include/uapi/linux/netfilter_bridge/ebt_redirect.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_REDIRECT_H2#ifndef __LINUX_BRIDGE_EBT_REDIRECT_H
2#define __LINUX_BRIDGE_EBT_REDIRECT_H3#define __LINUX_BRIDGE_EBT_REDIRECT_H
3 4
include/uapi/linux/netfilter_bridge/ebt_stp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_STP_H2#ifndef __LINUX_BRIDGE_EBT_STP_H
2#define __LINUX_BRIDGE_EBT_STP_H3#define __LINUX_BRIDGE_EBT_STP_H
3 4
include/uapi/linux/netfilter_bridge/ebt_vlan.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_BRIDGE_EBT_VLAN_H2#ifndef __LINUX_BRIDGE_EBT_VLAN_H
2#define __LINUX_BRIDGE_EBT_VLAN_H3#define __LINUX_BRIDGE_EBT_VLAN_H
3 4
include/uapi/linux/netfilter_bridge/ebtables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ebtables3 * ebtables
3 *4 *
include/uapi/linux/netfilter_decnet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_DECNET_NETFILTER_H2#ifndef __LINUX_DECNET_NETFILTER_H
2#define __LINUX_DECNET_NETFILTER_H3#define __LINUX_DECNET_NETFILTER_H
3 4
include/uapi/linux/netfilter_ipv4.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* IPv4-specific defines for netfilter. 2/* IPv4-specific defines for netfilter.
2 * (C)1998 Rusty Russell -- This code is GPL.3 * (C)1998 Rusty Russell -- This code is GPL.
3 */4 */
include/uapi/linux/netfilter_ipv4/ip_tables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * 25-Jul-1998 Major changes to allow for ip chain table3 * 25-Jul-1998 Major changes to allow for ip chain table
3 *4 *
include/uapi/linux/netfilter_ipv4/ipt_CLUSTERIP.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPT_CLUSTERIP_H_target2#ifndef _IPT_CLUSTERIP_H_target
2#define _IPT_CLUSTERIP_H_target3#define _IPT_CLUSTERIP_H_target
3 4
include/uapi/linux/netfilter_ipv4/ipt_ECN.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Header file for iptables ipt_ECN target2/* Header file for iptables ipt_ECN target
2 *3 *
3 * (C) 2002 by Harald Welte <laforge@gnumonks.org>4 * (C) 2002 by Harald Welte <laforge@gnumonks.org>
include/uapi/linux/netfilter_ipv4/ipt_LOG.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPT_LOG_H2#ifndef _IPT_LOG_H
2#define _IPT_LOG_H3#define _IPT_LOG_H
3 4
include/uapi/linux/netfilter_ipv4/ipt_REJECT.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPT_REJECT_H2#ifndef _IPT_REJECT_H
2#define _IPT_REJECT_H3#define _IPT_REJECT_H
3 4
include/uapi/linux/netfilter_ipv4/ipt_TTL.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* TTL modification module for IP tables2/* TTL modification module for IP tables
2 * (C) 2000 by Harald Welte <laforge@netfilter.org> */3 * (C) 2000 by Harald Welte <laforge@netfilter.org> */
3 4
include/uapi/linux/netfilter_ipv4/ipt_ah.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPT_AH_H2#ifndef _IPT_AH_H
2#define _IPT_AH_H3#define _IPT_AH_H
3 4
include/uapi/linux/netfilter_ipv4/ipt_ecn.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IPT_ECN_H2#ifndef _IPT_ECN_H
2#define _IPT_ECN_H3#define _IPT_ECN_H
3 4
include/uapi/linux/netfilter_ipv4/ipt_ttl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* IP tables module for matching the value of the TTL2/* IP tables module for matching the value of the TTL
2 * (C) 2000 by Harald Welte <laforge@gnumonks.org> */3 * (C) 2000 by Harald Welte <laforge@gnumonks.org> */
3 4
include/uapi/linux/netfilter_ipv6.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* IPv6-specific defines for netfilter. 2/* IPv6-specific defines for netfilter.
2 * (C)1998 Rusty Russell -- This code is GPL.3 * (C)1998 Rusty Russell -- This code is GPL.
3 * (C)1999 David Jeffery4 * (C)1999 David Jeffery
include/uapi/linux/netfilter_ipv6/ip6_tables.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * 25-Jul-1998 Major changes to allow for ip chain table3 * 25-Jul-1998 Major changes to allow for ip chain table
3 *4 *
include/uapi/linux/netfilter_ipv6/ip6t_HL.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* Hop Limit modification module for ip6tables2/* Hop Limit modification module for ip6tables
2 * Maciej Soltysiak <solt@dns.toxicfilms.tv>3 * Maciej Soltysiak <solt@dns.toxicfilms.tv>
3 * Based on HW's TTL module */4 * Based on HW's TTL module */
include/uapi/linux/netfilter_ipv6/ip6t_LOG.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_LOG_H2#ifndef _IP6T_LOG_H
2#define _IP6T_LOG_H3#define _IP6T_LOG_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_NPT.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __NETFILTER_IP6T_NPT2#ifndef __NETFILTER_IP6T_NPT
2#define __NETFILTER_IP6T_NPT3#define __NETFILTER_IP6T_NPT
3 4
include/uapi/linux/netfilter_ipv6/ip6t_REJECT.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_REJECT_H2#ifndef _IP6T_REJECT_H
2#define _IP6T_REJECT_H3#define _IP6T_REJECT_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_ah.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_AH_H2#ifndef _IP6T_AH_H
2#define _IP6T_AH_H3#define _IP6T_AH_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_frag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_FRAG_H2#ifndef _IP6T_FRAG_H
2#define _IP6T_FRAG_H3#define _IP6T_FRAG_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_hl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* ip6tables module for matching the Hop Limit value2/* ip6tables module for matching the Hop Limit value
2 * Maciej Soltysiak <solt@dns.toxicfilms.tv>3 * Maciej Soltysiak <solt@dns.toxicfilms.tv>
3 * Based on HW's ttl module */4 * Based on HW's ttl module */
include/uapi/linux/netfilter_ipv6/ip6t_ipv6header.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* ipv6header match - matches IPv6 packets based2/* ipv6header match - matches IPv6 packets based
2on whether they contain certain headers */3on whether they contain certain headers */
3 4
include/uapi/linux/netfilter_ipv6/ip6t_mh.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_MH_H2#ifndef _IP6T_MH_H
2#define _IP6T_MH_H3#define _IP6T_MH_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_opts.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_OPTS_H2#ifndef _IP6T_OPTS_H
2#define _IP6T_OPTS_H3#define _IP6T_OPTS_H
3 4
include/uapi/linux/netfilter_ipv6/ip6t_rt.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _IP6T_RT_H2#ifndef _IP6T_RT_H
2#define _IP6T_RT_H3#define _IP6T_RT_H
3 4
include/uapi/linux/netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_NETLINK_H2#ifndef _UAPI__LINUX_NETLINK_H
2#define _UAPI__LINUX_NETLINK_H3#define _UAPI__LINUX_NETLINK_H
3 4
include/uapi/linux/netlink_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __NETLINK_DIAG_H__2#ifndef __NETLINK_DIAG_H__
2#define __NETLINK_DIAG_H__3#define __NETLINK_DIAG_H__
3 4
include/uapi/linux/netrom.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * These are the public elements of the Linux kernel NET/ROM implementation.3 * These are the public elements of the Linux kernel NET/ROM implementation.
3 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the4 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
include/uapi/linux/nfc.h+2−0
@@ -89,6 +89,7 @@ · 88 unmodified lines
89 * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target.89 * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target.
90 * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly90 * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly
91 * from the driver in order to support hardware specific operations.91 * from the driver in order to support hardware specific operations.
92 * @NFC_CMD_DEACTIVATE_TARGET: Request NFC controller to deactivate target.
92 */93 */
93enum nfc_commands {94enum nfc_commands {
94 NFC_CMD_UNSPEC,95 NFC_CMD_UNSPEC,
@@ -121,6 +122,7 @@ enum nfc_commands { · 26 unmodified lines
121 NFC_CMD_SE_IO,122 NFC_CMD_SE_IO,
122 NFC_CMD_ACTIVATE_TARGET,123 NFC_CMD_ACTIVATE_TARGET,
123 NFC_CMD_VENDOR,124 NFC_CMD_VENDOR,
125 NFC_CMD_DEACTIVATE_TARGET,
124/* private: internal use only */126/* private: internal use only */
125 __NFC_CMD_AFTER_LAST127 __NFC_CMD_AFTER_LAST
126};128};
include/uapi/linux/nfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * NFS protocol definitions3 * NFS protocol definitions
3 *4 *
include/uapi/linux/nfs2.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * NFS protocol definitions3 * NFS protocol definitions
3 *4 *
include/uapi/linux/nfs3.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * NFSv3 protocol definitions3 * NFSv3 protocol definitions
3 */4 */
include/uapi/linux/nfs4.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/nfs4.h3 * include/linux/nfs4.h
3 *4 *
include/uapi/linux/nfs4_mount.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NFS4_MOUNT_H2#ifndef _LINUX_NFS4_MOUNT_H
2#define _LINUX_NFS4_MOUNT_H3#define _LINUX_NFS4_MOUNT_H
3 4
include/uapi/linux/nfs_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/nfs_fs.h3 * linux/include/linux/nfs_fs.h
3 *4 *
include/uapi/linux/nfs_mount.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_NFS_MOUNT_H2#ifndef _LINUX_NFS_MOUNT_H
2#define _LINUX_NFS_MOUNT_H3#define _LINUX_NFS_MOUNT_H
3 4
include/uapi/linux/nfsacl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * File: linux/nfsacl.h3 * File: linux/nfsacl.h
3 *4 *
include/uapi/linux/nfsd/cld.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Upcall description for nfsdcld communication3 * Upcall description for nfsdcld communication
3 *4 *
include/uapi/linux/nfsd/debug.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/nfsd/debug.h3 * linux/include/linux/nfsd/debug.h
3 *4 *
include/uapi/linux/nfsd/export.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/nfsd/export.h3 * include/linux/nfsd/export.h
3 * 4 *
include/uapi/linux/nfsd/nfsfh.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * This file describes the layout of the file handles as passed3 * This file describes the layout of the file handles as passed
3 * over the wire.4 * over the wire.
include/uapi/linux/nfsd/stats.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/nfsd/stats.h3 * linux/include/linux/nfsd/stats.h
3 *4 *
include/uapi/linux/nilfs2_api.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * nilfs2_api.h - NILFS2 user space API3 * nilfs2_api.h - NILFS2 user space API
3 *4 *
include/uapi/linux/nilfs2_ondisk.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * nilfs2_ondisk.h - NILFS2 on-disk structures3 * nilfs2_ondisk.h - NILFS2 on-disk structures
3 *4 *
include/uapi/linux/nl80211.h+65−17
@@ -569,13 +569,14 @@ · 568 unmodified lines
569 * authentication/association or not receiving a response from the AP.569 * authentication/association or not receiving a response from the AP.
570 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as570 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
571 * well to remain backwards compatible.571 * well to remain backwards compatible.
572 * @NL80211_CMD_ROAM: notifcation indicating the card/driver roamed by itself.572 * When establishing a security association, drivers that support 4 way
573 * When the driver roamed in a network that requires 802.1X authentication,573 * handshake offload should send %NL80211_CMD_PORT_AUTHORIZED event when
574 * %NL80211_ATTR_PORT_AUTHORIZED should be set if the 802.1X authentication574 * the 4 way handshake is completed successfully.
575 * was done by the driver or if roaming was done using Fast Transition575 * @NL80211_CMD_ROAM: Notification indicating the card/driver roamed by itself.
576 * protocol (in which case 802.1X authentication is not needed). If576 * When a security association was established with the new AP (e.g. if
577 * %NL80211_ATTR_PORT_AUTHORIZED is not set, user space is responsible for577 * the FT protocol was used for roaming or the driver completed the 4 way
578 * the 802.1X authentication.578 * handshake), this event should be followed by an
579 * %NL80211_CMD_PORT_AUTHORIZED event.
579 * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify580 * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify
580 * userspace that a connection was dropped by the AP or due to other581 * userspace that a connection was dropped by the AP or due to other
581 * reasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and582 * reasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and
@@ -982,6 +983,14 @@ · 400 unmodified lines
982 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously983 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
983 * configured PMK for the authenticator address identified by984 * configured PMK for the authenticator address identified by
984 * &NL80211_ATTR_MAC.985 * &NL80211_ATTR_MAC.
986 * @NL80211_CMD_PORT_AUTHORIZED: An event that indicates that the 4 way
987 * handshake was completed successfully by the driver. The BSSID is
988 * specified with &NL80211_ATTR_MAC. Drivers that support 4 way handshake
989 * offload should send this event after indicating 802.11 association with
990 * &NL80211_CMD_CONNECT or &NL80211_CMD_ROAM. If the 4 way handshake failed
991 * &NL80211_CMD_DISCONNECT should be indicated instead.
992 *
993 * @NL80211_CMD_RELOAD_REGDB: Request that the regdb firmware file is reloaded.
985 *994 *
986 * @NL80211_CMD_MAX: highest used command number995 * @NL80211_CMD_MAX: highest used command number
987 * @__NL80211_CMD_AFTER_LAST: internal use996 * @__NL80211_CMD_AFTER_LAST: internal use
@@ -1185,6 +1194,10 @@ enum nl80211_commands { · 197 unmodified lines
1185 NL80211_CMD_SET_PMK,1194 NL80211_CMD_SET_PMK,
1186 NL80211_CMD_DEL_PMK,1195 NL80211_CMD_DEL_PMK,
1187 1196
1197 NL80211_CMD_PORT_AUTHORIZED,
1198
1199 NL80211_CMD_RELOAD_REGDB,
1200
1188 /* add new commands above here */1201 /* add new commands above here */
1189 1202
1190 /* used to define NL80211_CMD_MAX below */1203 /* used to define NL80211_CMD_MAX below */
@@ -1407,8 +1420,12 @@ enum nl80211_commands { · 216 unmodified lines
1407 *1420 *
1408 * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is1421 * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is
1409 * used for the association (&enum nl80211_mfp, represented as a u32);1422 * used for the association (&enum nl80211_mfp, represented as a u32);
1410 * this attribute can be used1423 * this attribute can be used with %NL80211_CMD_ASSOCIATE and
1411 * with %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests1424 * %NL80211_CMD_CONNECT requests. %NL80211_MFP_OPTIONAL is not allowed for
1425 * %NL80211_CMD_ASSOCIATE since user space SME is expected and hence, it
1426 * must have decided whether to use management frame protection or not.
1427 * Setting %NL80211_MFP_OPTIONAL with a %NL80211_CMD_CONNECT request will
1428 * let the driver (or the firmware) decide whether to use MFP or not.
1412 *1429 *
1413 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a1430 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
1414 * &struct nl80211_sta_flag_update.1431 * &struct nl80211_sta_flag_update.
@@ -2134,10 +2151,7 @@ enum nl80211_commands { · 719 unmodified lines
2134 * in %NL80211_CMD_CONNECT to indicate that for 802.1X authentication it2151 * in %NL80211_CMD_CONNECT to indicate that for 802.1X authentication it
2135 * wants to use the supported offload of the 4-way handshake.2152 * wants to use the supported offload of the 4-way handshake.
2136 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.2153 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2137 * @NL80211_ATTR_PORT_AUTHORIZED: flag attribute used in %NL80211_CMD_ROAMED2154 * @NL80211_ATTR_PORT_AUTHORIZED: (reserved)
2138 * notification indicating that that 802.1X authentication was done by
2139 * the driver or is not needed (because roaming used the Fast Transition
2140 * protocol).
2141 *2155 *
2142 * @NUM_NL80211_ATTR: total number of nl80211_attrs available2156 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
2143 * @NL80211_ATTR_MAX: highest attribute number currently defined2157 * @NL80211_ATTR_MAX: highest attribute number currently defined
@@ -3947,10 +3961,12 @@ enum nl80211_key_type { · 1803 unmodified lines
3947 * enum nl80211_mfp - Management frame protection state3961 * enum nl80211_mfp - Management frame protection state
3948 * @NL80211_MFP_NO: Management frame protection not used3962 * @NL80211_MFP_NO: Management frame protection not used
3949 * @NL80211_MFP_REQUIRED: Management frame protection required3963 * @NL80211_MFP_REQUIRED: Management frame protection required
3964 * @NL80211_MFP_OPTIONAL: Management frame protection is optional
3950 */3965 */
3951enum nl80211_mfp {3966enum nl80211_mfp {
3952 NL80211_MFP_NO,3967 NL80211_MFP_NO,
3953 NL80211_MFP_REQUIRED,3968 NL80211_MFP_REQUIRED,
3969 NL80211_MFP_OPTIONAL,
3954};3970};
3955 3971
3956enum nl80211_wpa_versions {3972enum nl80211_wpa_versions {
@@ -4914,6 +4930,17 @@ enum nl80211_feature_flags { · 957 unmodified lines
4914 * handshake with 802.1X in station mode (will pass EAP frames to the host4930 * handshake with 802.1X in station mode (will pass EAP frames to the host
4915 * and accept the set_pmk/del_pmk commands), doing it in the host might not4931 * and accept the set_pmk/del_pmk commands), doing it in the host might not
4916 * be supported.4932 * be supported.
4933 * @NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME: Driver is capable of overriding
4934 * the max channel attribute in the FILS request params IE with the
4935 * actual dwell time.
4936 * @NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP: Driver accepts broadcast probe
4937 * response
4938 * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE: Driver supports sending
4939 * the first probe request in each channel at rate of at least 5.5Mbps.
4940 * @NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: Driver supports
4941 * probe request tx deferral and suppression
4942 * @NL80211_EXT_FEATURE_MFP_OPTIONAL: Driver supports the %NL80211_MFP_OPTIONAL
4943 * value in %NL80211_ATTR_USE_MFP.
4917 *4944 *
4918 * @NUM_NL80211_EXT_FEATURES: number of extended features.4945 * @NUM_NL80211_EXT_FEATURES: number of extended features.
4919 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.4946 * @MAX_NL80211_EXT_FEATURES: highest extended feature index.
@@ -4936,6 +4963,11 @@ enum nl80211_ext_feature_index { · 16 unmodified lines
4936 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD,4963 NL80211_EXT_FEATURE_FILS_SK_OFFLOAD,
4937 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,4964 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,
4938 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,4965 NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,
4966 NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME,
4967 NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP,
4968 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE,
4969 NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION,
4970 NL80211_EXT_FEATURE_MFP_OPTIONAL,
4939 4971
4940 /* add new features before the definition below */4972 /* add new features before the definition below */
4941 NUM_NL80211_EXT_FEATURES,4973 NUM_NL80211_EXT_FEATURES,
@@ -5012,12 +5044,28 @@ enum nl80211_timeout_reason { · 70 unmodified lines
5012 * locally administered 1, multicast 0) is assumed.5044 * locally administered 1, multicast 0) is assumed.
5013 * This flag must not be requested when the feature isn't supported, check5045 * This flag must not be requested when the feature isn't supported, check
5014 * the nl80211 feature flags for the device.5046 * the nl80211 feature flags for the device.
5047 * @NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME: fill the dwell time in the FILS
5048 * request parameters IE in the probe request
5049 * @NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP: accept broadcast probe responses
5050 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE: send probe request frames at
5051 * rate of at least 5.5M. In case non OCE AP is dicovered in the channel,
5052 * only the first probe req in the channel will be sent in high rate.
5053 * @NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION: allow probe request
5054 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
5055 * and suppression (if it has received a broadcast Probe Response frame,
5056 * Beacon frame or FILS Discovery frame from an AP that the STA considers
5057 * a suitable candidate for (re-)association - suitable in terms of
5058 * SSID and/or RSSI
5015 */5059 */
5016enum nl80211_scan_flags {5060enum nl80211_scan_flags {
5017 NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,5061 NL80211_SCAN_FLAG_LOW_PRIORITY = 1<<0,
5018 NL80211_SCAN_FLAG_FLUSH = 1<<1,5062 NL80211_SCAN_FLAG_FLUSH = 1<<1,
5019 NL80211_SCAN_FLAG_AP = 1<<2,5063 NL80211_SCAN_FLAG_AP = 1<<2,
5020 NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,5064 NL80211_SCAN_FLAG_RANDOM_ADDR = 1<<3,
5065 NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME = 1<<4,
5066 NL80211_SCAN_FLAG_ACCEPT_BCAST_PROBE_RESP = 1<<5,
5067 NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE = 1<<6,
5068 NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 1<<7,
5021};5069};
5022 5070
5023/**5071/**
include/uapi/linux/nsfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_NSFS_H2#ifndef __LINUX_NSFS_H
2#define __LINUX_NSFS_H3#define __LINUX_NSFS_H
3 4
include/uapi/linux/nubus.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 nubus.h: various definitions and prototypes for NuBus drivers to use.3 nubus.h: various definitions and prototypes for NuBus drivers to use.
3 4
include/uapi/linux/nvme_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for the NVM Express ioctl interface3 * Definitions for the NVM Express ioctl interface
3 * Copyright (c) 2011-2014, Intel Corporation.4 * Copyright (c) 2011-2014, Intel Corporation.
include/uapi/linux/nvram.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_NVRAM_H2#ifndef _UAPI_LINUX_NVRAM_H
2#define _UAPI_LINUX_NVRAM_H3#define _UAPI_LINUX_NVRAM_H
3 4
include/uapi/linux/omap3isp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * omap3isp.h3 * omap3isp.h
3 *4 *
include/uapi/linux/omapfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * File: include/linux/omapfb.h3 * File: include/linux/omapfb.h
3 *4 *
include/uapi/linux/oom.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__INCLUDE_LINUX_OOM_H2#ifndef _UAPI__INCLUDE_LINUX_OOM_H
2#define _UAPI__INCLUDE_LINUX_OOM_H3#define _UAPI__INCLUDE_LINUX_OOM_H
3 4
include/uapi/linux/openvswitch.h+89−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1 2
2/*3/*
3 * Copyright (c) 2007-2017 Nicira, Inc.4 * Copyright (c) 2007-2017 Nicira, Inc.
@@ -257,6 +258,8 @@ enum ovs_vport_attr { · 253 unmodified lines
257 /* receiving upcalls */258 /* receiving upcalls */
258 OVS_VPORT_ATTR_STATS, /* struct ovs_vport_stats */259 OVS_VPORT_ATTR_STATS, /* struct ovs_vport_stats */
259 OVS_VPORT_ATTR_PAD,260 OVS_VPORT_ATTR_PAD,
261 OVS_VPORT_ATTR_IFINDEX,
262 OVS_VPORT_ATTR_NETNSID,
260 __OVS_VPORT_ATTR_MAX263 __OVS_VPORT_ATTR_MAX
261};264};
262 265
@@ -333,6 +336,7 @@ enum ovs_key_attr { · 70 unmodified lines
333 OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */336 OVS_KEY_ATTR_CT_LABELS, /* 16-octet connection tracking label */
334 OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4, /* struct ovs_key_ct_tuple_ipv4 */337 OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV4, /* struct ovs_key_ct_tuple_ipv4 */
335 OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6, /* struct ovs_key_ct_tuple_ipv6 */338 OVS_KEY_ATTR_CT_ORIG_TUPLE_IPV6, /* struct ovs_key_ct_tuple_ipv6 */
339 OVS_KEY_ATTR_NSH, /* Nested set of ovs_nsh_key_* */
336 340
337#ifdef __KERNEL__341#ifdef __KERNEL__
338 OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */342 OVS_KEY_ATTR_TUNNEL_INFO, /* struct ip_tunnel_info */
@@ -359,6 +363,7 @@ enum ovs_tunnel_key_attr { · 20 unmodified lines
359 OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */363 OVS_TUNNEL_KEY_ATTR_IPV6_SRC, /* struct in6_addr src IPv6 address. */
360 OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */364 OVS_TUNNEL_KEY_ATTR_IPV6_DST, /* struct in6_addr dst IPv6 address. */
361 OVS_TUNNEL_KEY_ATTR_PAD,365 OVS_TUNNEL_KEY_ATTR_PAD,
366 OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, /* be32 ERSPAN index. */
362 __OVS_TUNNEL_KEY_ATTR_MAX367 __OVS_TUNNEL_KEY_ATTR_MAX
363};368};
364 369
@@ -491,6 +496,30 @@ struct ovs_key_ct_tuple_ipv6 { · 126 unmodified lines
491 __u8 ipv6_proto;496 __u8 ipv6_proto;
492};497};
493 498
499enum ovs_nsh_key_attr {
500 OVS_NSH_KEY_ATTR_UNSPEC,
501 OVS_NSH_KEY_ATTR_BASE, /* struct ovs_nsh_key_base. */
502 OVS_NSH_KEY_ATTR_MD1, /* struct ovs_nsh_key_md1. */
503 OVS_NSH_KEY_ATTR_MD2, /* variable-length octets for MD type 2. */
504 __OVS_NSH_KEY_ATTR_MAX
505};
506
507#define OVS_NSH_KEY_ATTR_MAX (__OVS_NSH_KEY_ATTR_MAX - 1)
508
509struct ovs_nsh_key_base {
510 __u8 flags;
511 __u8 ttl;
512 __u8 mdtype;
513 __u8 np;
514 __be32 path_hdr;
515};
516
517#define NSH_MD1_CONTEXT_SIZE 4
518
519struct ovs_nsh_key_md1 {
520 __be32 context[NSH_MD1_CONTEXT_SIZE];
521};
522
494/**523/**
495 * enum ovs_flow_attr - attributes for %OVS_FLOW_* commands.524 * enum ovs_flow_attr - attributes for %OVS_FLOW_* commands.
496 * @OVS_FLOW_ATTR_KEY: Nested %OVS_KEY_ATTR_* attributes specifying the flow525 * @OVS_FLOW_ATTR_KEY: Nested %OVS_KEY_ATTR_* attributes specifying the flow
@@ -806,6 +835,11 @@ struct ovs_action_push_eth { · 309 unmodified lines
806 * packet.835 * packet.
807 * @OVS_ACTION_ATTR_POP_ETH: Pop the outermost Ethernet header off the836 * @OVS_ACTION_ATTR_POP_ETH: Pop the outermost Ethernet header off the
808 * packet.837 * packet.
838 * @OVS_ACTION_ATTR_CT_CLEAR: Clear conntrack state from the packet.
839 * @OVS_ACTION_ATTR_PUSH_NSH: push NSH header to the packet.
840 * @OVS_ACTION_ATTR_POP_NSH: pop the outermost NSH header off the packet.
841 * @OVS_ACTION_ATTR_METER: Run packet through a meter, which may drop the
842 * packet, or modify the packet (e.g., change the DSCP field).
809 *843 *
810 * Only a single header can be set with a single %OVS_ACTION_ATTR_SET. Not all844 * Only a single header can be set with a single %OVS_ACTION_ATTR_SET. Not all
811 * fields within a header are modifiable, e.g. the IPv4 protocol and fragment845 * fields within a header are modifiable, e.g. the IPv4 protocol and fragment
@@ -835,6 +869,10 @@ enum ovs_action_attr { · 23 unmodified lines
835 OVS_ACTION_ATTR_TRUNC, /* u32 struct ovs_action_trunc. */869 OVS_ACTION_ATTR_TRUNC, /* u32 struct ovs_action_trunc. */
836 OVS_ACTION_ATTR_PUSH_ETH, /* struct ovs_action_push_eth. */870 OVS_ACTION_ATTR_PUSH_ETH, /* struct ovs_action_push_eth. */
837 OVS_ACTION_ATTR_POP_ETH, /* No argument. */871 OVS_ACTION_ATTR_POP_ETH, /* No argument. */
872 OVS_ACTION_ATTR_CT_CLEAR, /* No argument. */
873 OVS_ACTION_ATTR_PUSH_NSH, /* Nested OVS_NSH_KEY_ATTR_*. */
874 OVS_ACTION_ATTR_POP_NSH, /* No argument. */
875 OVS_ACTION_ATTR_METER, /* u32 meter ID. */
838 876
839 __OVS_ACTION_ATTR_MAX, /* Nothing past this will be accepted877 __OVS_ACTION_ATTR_MAX, /* Nothing past this will be accepted
840 * from userspace. */878 * from userspace. */
@@ -848,4 +886,55 @@ enum ovs_action_attr { · 7 unmodified lines
848 886
849#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)887#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
850 888
889/* Meters. */
890#define OVS_METER_FAMILY "ovs_meter"
891#define OVS_METER_MCGROUP "ovs_meter"
892#define OVS_METER_VERSION 0x1
893
894enum ovs_meter_cmd {
895 OVS_METER_CMD_UNSPEC,
896 OVS_METER_CMD_FEATURES, /* Get features supported by the datapath. */
897 OVS_METER_CMD_SET, /* Add or modify a meter. */
898 OVS_METER_CMD_DEL, /* Delete a meter. */
899 OVS_METER_CMD_GET /* Get meter stats. */
900};
901
902enum ovs_meter_attr {
903 OVS_METER_ATTR_UNSPEC,
904 OVS_METER_ATTR_ID, /* u32 meter ID within datapath. */
905 OVS_METER_ATTR_KBPS, /* No argument. If set, units in kilobits
906 * per second. Otherwise, units in
907 * packets per second.
908 */
909 OVS_METER_ATTR_STATS, /* struct ovs_flow_stats for the meter. */
910 OVS_METER_ATTR_BANDS, /* Nested attributes for meter bands. */
911 OVS_METER_ATTR_USED, /* u64 msecs last used in monotonic time. */
912 OVS_METER_ATTR_CLEAR, /* Flag to clear stats, used. */
913 OVS_METER_ATTR_MAX_METERS, /* u32 number of meters supported. */
914 OVS_METER_ATTR_MAX_BANDS, /* u32 max number of bands per meter. */
915 OVS_METER_ATTR_PAD,
916 __OVS_METER_ATTR_MAX
917};
918
919#define OVS_METER_ATTR_MAX (__OVS_METER_ATTR_MAX - 1)
920
921enum ovs_band_attr {
922 OVS_BAND_ATTR_UNSPEC,
923 OVS_BAND_ATTR_TYPE, /* u32 OVS_METER_BAND_TYPE_* constant. */
924 OVS_BAND_ATTR_RATE, /* u32 band rate in meter units (see above). */
925 OVS_BAND_ATTR_BURST, /* u32 burst size in meter units. */
926 OVS_BAND_ATTR_STATS, /* struct ovs_flow_stats for the band. */
927 __OVS_BAND_ATTR_MAX
928};
929
930#define OVS_BAND_ATTR_MAX (__OVS_BAND_ATTR_MAX - 1)
931
932enum ovs_meter_band_type {
933 OVS_METER_BAND_TYPE_UNSPEC,
934 OVS_METER_BAND_TYPE_DROP, /* Drop exceeding packets. */
935 __OVS_METER_BAND_TYPE_MAX
936};
937
938#define OVS_METER_BAND_TYPE_MAX (__OVS_METER_BAND_TYPE_MAX - 1)
939
851#endif /* _LINUX_OPENVSWITCH_H */940#endif /* _LINUX_OPENVSWITCH_H */
include/uapi/linux/packet_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __PACKET_DIAG_H__2#ifndef __PACKET_DIAG_H__
2#define __PACKET_DIAG_H__3#define __PACKET_DIAG_H__
3 4
include/uapi/linux/param.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_PARAM_H2#ifndef _LINUX_PARAM_H
2#define _LINUX_PARAM_H3#define _LINUX_PARAM_H
3 4
include/uapi/linux/patchkey.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * <linux/patchkey.h> -- definition of _PATCHKEY macro3 * <linux/patchkey.h> -- definition of _PATCHKEY macro
3 *4 *
include/uapi/linux/pci.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * pci.h3 * pci.h
3 *4 *
include/uapi/linux/pci_regs.h+29−16
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * pci_regs.h3 * pci_regs.h
3 *4 *
@@ -746,6 +747,7 @@ · 742 unmodified lines
746#define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First UNC is Fatal */747#define PCI_ERR_ROOT_FIRST_FATAL 0x00000010 /* First UNC is Fatal */
747#define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */748#define PCI_ERR_ROOT_NONFATAL_RCV 0x00000020 /* Non-Fatal Received */
748#define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */749#define PCI_ERR_ROOT_FATAL_RCV 0x00000040 /* Fatal Received */
750#define PCI_ERR_ROOT_AER_IRQ 0xf8000000 /* Advanced Error Interrupt Message Number */
749#define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */751#define PCI_ERR_ROOT_ERR_SRC 52 /* Error Source Identification */
750 752
751/* Virtual Channel */753/* Virtual Channel */
@@ -939,9 +941,13 @@ · 187 unmodified lines
939#define PCI_SATA_SIZEOF_LONG 16941#define PCI_SATA_SIZEOF_LONG 16
940 942
941/* Resizable BARs */943/* Resizable BARs */
944#define PCI_REBAR_CAP 4 /* capability register */
945#define PCI_REBAR_CAP_SIZES 0x00FFFFF0 /* supported BAR sizes */
942#define PCI_REBAR_CTRL 8 /* control register */946#define PCI_REBAR_CTRL 8 /* control register */
943#define PCI_REBAR_CTRL_NBAR_MASK (7 << 5) /* mask for # bars */947#define PCI_REBAR_CTRL_BAR_IDX 0x00000007 /* BAR index */
944#define PCI_REBAR_CTRL_NBAR_SHIFT 5 /* shift for # bars */948#define PCI_REBAR_CTRL_NBAR_MASK 0x000000E0 /* # of resizable BARs */
949#define PCI_REBAR_CTRL_NBAR_SHIFT 5 /* shift for # of BARs */
950#define PCI_REBAR_CTRL_BAR_SIZE 0x00001F00 /* BAR size */
945 951
946/* Dynamic Power Allocation */952/* Dynamic Power Allocation */
947#define PCI_DPA_CAP 4 /* capability register */953#define PCI_DPA_CAP 4 /* capability register */
@@ -960,6 +966,7 @@ · 12 unmodified lines
960 966
961/* Downstream Port Containment */967/* Downstream Port Containment */
962#define PCI_EXP_DPC_CAP 4 /* DPC Capability */968#define PCI_EXP_DPC_CAP 4 /* DPC Capability */
969#define PCI_EXP_DPC_IRQ 0x1f /* DPC Interrupt Message Number */
963#define PCI_EXP_DPC_CAP_RP_EXT 0x20 /* Root Port Extensions for DPC */970#define PCI_EXP_DPC_CAP_RP_EXT 0x20 /* Root Port Extensions for DPC */
964#define PCI_EXP_DPC_CAP_POISONED_TLP 0x40 /* Poisoned TLP Egress Blocking Supported */971#define PCI_EXP_DPC_CAP_POISONED_TLP 0x40 /* Poisoned TLP Egress Blocking Supported */
965#define PCI_EXP_DPC_CAP_SW_TRIGGER 0x80 /* Software Triggering Supported */972#define PCI_EXP_DPC_CAP_SW_TRIGGER 0x80 /* Software Triggering Supported */
@@ -995,19 +1002,25 @@ · 29 unmodified lines
995#define PCI_PTM_CTRL_ENABLE 0x00000001 /* PTM enable */1002#define PCI_PTM_CTRL_ENABLE 0x00000001 /* PTM enable */
996#define PCI_PTM_CTRL_ROOT 0x00000002 /* Root select */1003#define PCI_PTM_CTRL_ROOT 0x00000002 /* Root select */
997 1004
998/* L1 PM Substates */1005/* ASPM L1 PM Substates */
999#define PCI_L1SS_CAP 4 /* capability register */1006#define PCI_L1SS_CAP 0x04 /* Capabilities Register */
1000#define PCI_L1SS_CAP_PCIPM_L1_2 1 /* PCI PM L1.2 Support */1007#define PCI_L1SS_CAP_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Supported */
1001#define PCI_L1SS_CAP_PCIPM_L1_1 2 /* PCI PM L1.1 Support */1008#define PCI_L1SS_CAP_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Supported */
1002#define PCI_L1SS_CAP_ASPM_L1_2 4 /* ASPM L1.2 Support */1009#define PCI_L1SS_CAP_ASPM_L1_2 0x00000004 /* ASPM L1.2 Supported */
1003#define PCI_L1SS_CAP_ASPM_L1_1 8 /* ASPM L1.1 Support */1010#define PCI_L1SS_CAP_ASPM_L1_1 0x00000008 /* ASPM L1.1 Supported */
1004#define PCI_L1SS_CAP_L1_PM_SS 16 /* L1 PM Substates Support */1011#define PCI_L1SS_CAP_L1_PM_SS 0x00000010 /* L1 PM Substates Supported */
1005#define PCI_L1SS_CTL1 8 /* Control Register 1 */1012#define PCI_L1SS_CAP_CM_RESTORE_TIME 0x0000ff00 /* Port Common_Mode_Restore_Time */
1006#define PCI_L1SS_CTL1_PCIPM_L1_2 1 /* PCI PM L1.2 Enable */1013#define PCI_L1SS_CAP_P_PWR_ON_SCALE 0x00030000 /* Port T_POWER_ON scale */
1007#define PCI_L1SS_CTL1_PCIPM_L1_1 2 /* PCI PM L1.1 Support */1014#define PCI_L1SS_CAP_P_PWR_ON_VALUE 0x00f80000 /* Port T_POWER_ON value */
1008#define PCI_L1SS_CTL1_ASPM_L1_2 4 /* ASPM L1.2 Support */1015#define PCI_L1SS_CTL1 0x08 /* Control 1 Register */
1009#define PCI_L1SS_CTL1_ASPM_L1_1 8 /* ASPM L1.1 Support */1016#define PCI_L1SS_CTL1_PCIPM_L1_2 0x00000001 /* PCI-PM L1.2 Enable */
1010#define PCI_L1SS_CTL1_L1SS_MASK 0x0000000F1017#define PCI_L1SS_CTL1_PCIPM_L1_1 0x00000002 /* PCI-PM L1.1 Enable */
1011#define PCI_L1SS_CTL2 0xC /* Control Register 2 */1018#define PCI_L1SS_CTL1_ASPM_L1_2 0x00000004 /* ASPM L1.2 Enable */
1019#define PCI_L1SS_CTL1_ASPM_L1_1 0x00000008 /* ASPM L1.1 Enable */
1020#define PCI_L1SS_CTL1_L1SS_MASK 0x0000000f
1021#define PCI_L1SS_CTL1_CM_RESTORE_TIME 0x0000ff00 /* Common_Mode_Restore_Time */
1022#define PCI_L1SS_CTL1_LTR_L12_TH_VALUE 0x03ff0000 /* LTR_L1.2_THRESHOLD_Value */
1023#define PCI_L1SS_CTL1_LTR_L12_TH_SCALE 0xe0000000 /* LTR_L1.2_THRESHOLD_Scale */
1024#define PCI_L1SS_CTL2 0x0c /* Control 2 Register */
1012 1025
1013#endif /* LINUX_PCI_REGS_H */1026#endif /* LINUX_PCI_REGS_H */
include/uapi/linux/pcitest.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/**2/**
2 * pcitest.h - PCI test uapi defines3 * pcitest.h - PCI test uapi defines
3 *4 *
include/uapi/linux/perf_event.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Performance events:3 * Performance events:
3 *4 *
@@ -941,6 +942,7 @@ enum perf_callchain_context { · 937 unmodified lines
941#define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */942#define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */
942#define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */943#define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */
943#define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */944#define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */
945#define PERF_AUX_FLAG_COLLISION 0x08 /* sample collided with another */
944 946
945#define PERF_FLAG_FD_NO_GROUP (1UL << 0)947#define PERF_FLAG_FD_NO_GROUP (1UL << 0)
946#define PERF_FLAG_FD_OUTPUT (1UL << 1)948#define PERF_FLAG_FD_OUTPUT (1UL << 1)
include/uapi/linux/personality.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_PERSONALITY_H2#ifndef _UAPI_LINUX_PERSONALITY_H
2#define _UAPI_LINUX_PERSONALITY_H3#define _UAPI_LINUX_PERSONALITY_H
3 4
include/uapi/linux/pfkeyv2.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* PF_KEY user interface, this is defined by rfc2367 so2/* PF_KEY user interface, this is defined by rfc2367 so
2 * do not make arbitrary modifications or else this header3 * do not make arbitrary modifications or else this header
3 * file will not be compliant.4 * file will not be compliant.
include/uapi/linux/pg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/* pg.h (c) 1998 Grant R. Guenther <grant@torque.net>2/* pg.h (c) 1998 Grant R. Guenther <grant@torque.net>
2 Under the terms of the GNU General Public License3 Under the terms of the GNU General Public License
3 4
include/uapi/linux/phantom.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com>3 * Copyright (C) 2005-2007 Jiri Slaby <jirislaby@gmail.com>
3 *4 *
include/uapi/linux/phonet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/**2/**
2 * file phonet.h3 * file phonet.h
3 *4 *
include/uapi/linux/pkt_cls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_PKT_CLS_H2#ifndef __LINUX_PKT_CLS_H
2#define __LINUX_PKT_CLS_H3#define __LINUX_PKT_CLS_H
3 4
include/uapi/linux/pkt_sched.h+64−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_PKT_SCHED_H2#ifndef __LINUX_PKT_SCHED_H
2#define __LINUX_PKT_SCHED_H3#define __LINUX_PKT_SCHED_H
3 4
@@ -74,6 +75,7 @@ struct tc_estimator { · 70 unmodified lines
74#define TC_H_INGRESS (0xFFFFFFF1U)75#define TC_H_INGRESS (0xFFFFFFF1U)
75#define TC_H_CLSACT TC_H_INGRESS76#define TC_H_CLSACT TC_H_INGRESS
76 77
78#define TC_H_MIN_PRIORITY 0xFFE0U
77#define TC_H_MIN_INGRESS 0xFFF2U79#define TC_H_MIN_INGRESS 0xFFF2U
78#define TC_H_MIN_EGRESS 0xFFF3U80#define TC_H_MIN_EGRESS 0xFFF3U
79 81
@@ -254,6 +256,7 @@ struct tc_red_qopt { · 174 unmodified lines
254#define TC_RED_ECN 1256#define TC_RED_ECN 1
255#define TC_RED_HARDDROP 2257#define TC_RED_HARDDROP 2
256#define TC_RED_ADAPTATIVE 4258#define TC_RED_ADAPTATIVE 4
259#define TC_RED_OFFLOADED 8
257};260};
258 261
259struct tc_red_xstats {262struct tc_red_xstats {
@@ -534,6 +537,9 @@ enum { · 274 unmodified lines
534 TCA_NETEM_ECN,537 TCA_NETEM_ECN,
535 TCA_NETEM_RATE64,538 TCA_NETEM_RATE64,
536 TCA_NETEM_PAD,539 TCA_NETEM_PAD,
540 TCA_NETEM_LATENCY64,
541 TCA_NETEM_JITTER64,
542 TCA_NETEM_SLOT,
537 __TCA_NETEM_MAX,543 __TCA_NETEM_MAX,
538};544};
539 545
@@ -571,6 +577,13 @@ struct tc_netem_rate { · 31 unmodified lines
571 __s32 cell_overhead;577 __s32 cell_overhead;
572};578};
573 579
580struct tc_netem_slot {
581 __s64 min_delay; /* nsec */
582 __s64 max_delay;
583 __s32 max_packets;
584 __s32 max_bytes;
585};
586
574enum {587enum {
575 NETEM_LOSS_UNSPEC,588 NETEM_LOSS_UNSPEC,
576 NETEM_LOSS_GI, /* General Intuitive - 4 state model */589 NETEM_LOSS_GI, /* General Intuitive - 4 state model */
@@ -625,6 +638,22 @@ enum { · 48 unmodified lines
625 638
626#define TC_MQPRIO_HW_OFFLOAD_MAX (__TC_MQPRIO_HW_OFFLOAD_MAX - 1)639#define TC_MQPRIO_HW_OFFLOAD_MAX (__TC_MQPRIO_HW_OFFLOAD_MAX - 1)
627 640
641enum {
642 TC_MQPRIO_MODE_DCB,
643 TC_MQPRIO_MODE_CHANNEL,
644 __TC_MQPRIO_MODE_MAX
645};
646
647#define __TC_MQPRIO_MODE_MAX (__TC_MQPRIO_MODE_MAX - 1)
648
649enum {
650 TC_MQPRIO_SHAPER_DCB,
651 TC_MQPRIO_SHAPER_BW_RATE, /* Add new shapers below */
652 __TC_MQPRIO_SHAPER_MAX
653};
654
655#define __TC_MQPRIO_SHAPER_MAX (__TC_MQPRIO_SHAPER_MAX - 1)
656
628struct tc_mqprio_qopt {657struct tc_mqprio_qopt {
629 __u8 num_tc;658 __u8 num_tc;
630 __u8 prio_tc_map[TC_QOPT_BITMASK + 1];659 __u8 prio_tc_map[TC_QOPT_BITMASK + 1];
@@ -633,6 +662,22 @@ struct tc_mqprio_qopt { · 2 unmodified lines
633 __u16 offset[TC_QOPT_MAX_QUEUE];662 __u16 offset[TC_QOPT_MAX_QUEUE];
634};663};
635 664
665#define TC_MQPRIO_F_MODE 0x1
666#define TC_MQPRIO_F_SHAPER 0x2
667#define TC_MQPRIO_F_MIN_RATE 0x4
668#define TC_MQPRIO_F_MAX_RATE 0x8
669
670enum {
671 TCA_MQPRIO_UNSPEC,
672 TCA_MQPRIO_MODE,
673 TCA_MQPRIO_SHAPER,
674 TCA_MQPRIO_MIN_RATE64,
675 TCA_MQPRIO_MAX_RATE64,
676 __TCA_MQPRIO_MAX,
677};
678
679#define TCA_MQPRIO_MAX (__TCA_MQPRIO_MAX - 1)
680
636/* SFB */681/* SFB */
637 682
638enum {683enum {
@@ -871,4 +916,23 @@ struct tc_pie_xstats { · 232 unmodified lines
871 __u32 maxq; /* maximum queue size */916 __u32 maxq; /* maximum queue size */
872 __u32 ecn_mark; /* packets marked with ecn*/917 __u32 ecn_mark; /* packets marked with ecn*/
873};918};
919
920/* CBS */
921struct tc_cbs_qopt {
922 __u8 offload;
923 __u8 _pad[3];
924 __s32 hicredit;
925 __s32 locredit;
926 __s32 idleslope;
927 __s32 sendslope;
928};
929
930enum {
931 TCA_CBS_UNSPEC,
932 TCA_CBS_PARMS,
933 __TCA_CBS_MAX,
934};
935
936#define TCA_CBS_MAX (__TCA_CBS_MAX - 1)
937
874#endif938#endif
include/uapi/linux/pktcdvd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2000 Jens Axboe <axboe@suse.de>3 * Copyright (C) 2000 Jens Axboe <axboe@suse.de>
3 * Copyright (C) 2001-2004 Peter Osterlund <petero2@telia.com>4 * Copyright (C) 2001-2004 Peter Osterlund <petero2@telia.com>
include/uapi/linux/pmu.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for talking to the PMU. The PMU is a microcontroller3 * Definitions for talking to the PMU. The PMU is a microcontroller
3 * which controls battery charging and system power on PowerBook 34004 * which controls battery charging and system power on PowerBook 3400
include/uapi/linux/posix_acl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org>3 * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org>
3 * Copyright (C) 2016 Red Hat, Inc.4 * Copyright (C) 2016 Red Hat, Inc.
include/uapi/linux/posix_acl_xattr.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org>3 * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org>
3 * Copyright (C) 2016 Red Hat, Inc.4 * Copyright (C) 2016 Red Hat, Inc.
include/uapi/linux/posix_types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_POSIX_TYPES_H2#ifndef _LINUX_POSIX_TYPES_H
2#define _LINUX_POSIX_TYPES_H3#define _LINUX_POSIX_TYPES_H
3 4
include/uapi/linux/ppdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/ppdev.h3 * linux/include/linux/ppdev.h
3 *4 *
include/uapi/linux/ppp-comp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ppp-comp.h - Definitions for doing PPP packet compression.3 * ppp-comp.h - Definitions for doing PPP packet compression.
3 *4 *
include/uapi/linux/ppp-ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ppp-ioctl.h - PPP ioctl definitions.3 * ppp-ioctl.h - PPP ioctl definitions.
3 *4 *
include/uapi/linux/ppp_defs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ppp_defs.h - PPP definitions.3 * ppp_defs.h - PPP definitions.
3 *4 *
include/uapi/linux/pps.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * PPS API header3 * PPS API header
3 *4 *
include/uapi/linux/pr.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_PR_H2#ifndef _UAPI_PR_H
2#define _UAPI_PR_H3#define _UAPI_PR_H
3 4
include/uapi/linux/prctl.h+10−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_PRCTL_H2#ifndef _LINUX_PRCTL_H
2#define _LINUX_PRCTL_H3#define _LINUX_PRCTL_H
3 4
@@ -197,4 +198,13 @@ struct prctl_mm_map { · 193 unmodified lines
197# define PR_CAP_AMBIENT_LOWER 3198# define PR_CAP_AMBIENT_LOWER 3
198# define PR_CAP_AMBIENT_CLEAR_ALL 4199# define PR_CAP_AMBIENT_CLEAR_ALL 4
199 200
201/* arm64 Scalable Vector Extension controls */
202/* Flag values must be kept in sync with ptrace NT_ARM_SVE interface */
203#define PR_SVE_SET_VL 50 /* set task vector length */
204# define PR_SVE_SET_VL_ONEXEC (1 << 18) /* defer effect until exec */
205#define PR_SVE_GET_VL 51 /* get task vector length */
206/* Bits common to PR_SVE_SET_VL and PR_SVE_GET_VL */
207# define PR_SVE_VL_LEN_MASK 0xffff
208# define PR_SVE_VL_INHERIT (1 << 17) /* inherit across exec */
209
200#endif /* _LINUX_PRCTL_H */210#endif /* _LINUX_PRCTL_H */
include/uapi/linux/psample.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UAPI_PSAMPLE_H2#ifndef __UAPI_PSAMPLE_H
2#define __UAPI_PSAMPLE_H3#define __UAPI_PSAMPLE_H
3 4
include/uapi/linux/psci.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * ARM Power State and Coordination Interface (PSCI) header3 * ARM Power State and Coordination Interface (PSCI) header
3 *4 *
include/uapi/linux/ptp_clock.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * PTP 1588 clock support - user space interface3 * PTP 1588 clock support - user space interface
3 *4 *
include/uapi/linux/ptrace.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_PTRACE_H2#ifndef _UAPI_LINUX_PTRACE_H
2#define _UAPI_LINUX_PTRACE_H3#define _UAPI_LINUX_PTRACE_H
3/* ptrace.h */4/* ptrace.h */
include/uapi/linux/qnx4_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Name : qnx4_fs.h3 * Name : qnx4_fs.h
3 * Author : Richard Frowijn4 * Author : Richard Frowijn
include/uapi/linux/qnxtypes.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Name : qnxtypes.h3 * Name : qnxtypes.h
3 * Author : Richard Frowijn4 * Author : Richard Frowijn
include/uapi/linux/qrtr.h+36−0
@@ -1,13 +1,49 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_QRTR_H2#ifndef _LINUX_QRTR_H
2#define _LINUX_QRTR_H3#define _LINUX_QRTR_H
3 4
4#include <linux/socket.h>5#include <linux/socket.h>
5#include <linux/types.h>6#include <linux/types.h>
6 7
8#define QRTR_NODE_BCAST 0xffffffffu
9#define QRTR_PORT_CTRL 0xfffffffeu
10
7struct sockaddr_qrtr {11struct sockaddr_qrtr {
8 __kernel_sa_family_t sq_family;12 __kernel_sa_family_t sq_family;
9 __u32 sq_node;13 __u32 sq_node;
10 __u32 sq_port;14 __u32 sq_port;
11};15};
12 16
17enum qrtr_pkt_type {
18 QRTR_TYPE_DATA = 1,
19 QRTR_TYPE_HELLO = 2,
20 QRTR_TYPE_BYE = 3,
21 QRTR_TYPE_NEW_SERVER = 4,
22 QRTR_TYPE_DEL_SERVER = 5,
23 QRTR_TYPE_DEL_CLIENT = 6,
24 QRTR_TYPE_RESUME_TX = 7,
25 QRTR_TYPE_EXIT = 8,
26 QRTR_TYPE_PING = 9,
27 QRTR_TYPE_NEW_LOOKUP = 10,
28 QRTR_TYPE_DEL_LOOKUP = 11,
29};
30
31struct qrtr_ctrl_pkt {
32 __le32 cmd;
33
34 union {
35 struct {
36 __le32 service;
37 __le32 instance;
38 __le32 node;
39 __le32 port;
40 } server;
41
42 struct {
43 __le32 node;
44 __le32 port;
45 } client;
46 };
47} __packed;
48
13#endif /* _LINUX_QRTR_H */49#endif /* _LINUX_QRTR_H */
include/uapi/linux/radeonfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_RADEONFB_H__2#ifndef __LINUX_RADEONFB_H__
2#define __LINUX_RADEONFB_H__3#define __LINUX_RADEONFB_H__
3 4
include/uapi/linux/raid/md_p.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 md_p.h : physical layout of Linux RAID devices3 md_p.h : physical layout of Linux RAID devices
3 Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman4 Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman
include/uapi/linux/raid/md_u.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 md_u.h : user <=> kernel API between Linux raidtools and RAID drivers3 md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
3 Copyright (C) 1998 Ingo Molnar4 Copyright (C) 1998 Ingo Molnar
include/uapi/linux/random.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/random.h3 * include/linux/random.h
3 *4 *
include/uapi/linux/raw.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_RAW_H2#ifndef __LINUX_RAW_H
2#define __LINUX_RAW_H3#define __LINUX_RAW_H
3 4
include/uapi/linux/rds.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2008 Oracle. All rights reserved.3 * Copyright (c) 2008 Oracle. All rights reserved.
3 *4 *
include/uapi/linux/reboot.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_REBOOT_H2#ifndef _UAPI_LINUX_REBOOT_H
2#define _UAPI_LINUX_REBOOT_H3#define _UAPI_LINUX_REBOOT_H
3 4
include/uapi/linux/reiserfs_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright 1996, 1997, 1998 Hans Reiser, see reiserfs/README for licensing and copyright details3 * Copyright 1996, 1997, 1998 Hans Reiser, see reiserfs/README for licensing and copyright details
3 */4 */
include/uapi/linux/reiserfs_xattr.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 File: linux/reiserfs_xattr.h3 File: linux/reiserfs_xattr.h
3*/4*/
include/uapi/linux/resource.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_RESOURCE_H2#ifndef _UAPI_LINUX_RESOURCE_H
2#define _UAPI_LINUX_RESOURCE_H3#define _UAPI_LINUX_RESOURCE_H
3 4
include/uapi/linux/rio_cm_cdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Copyright (c) 2015, Integrated Device Technology Inc.3 * Copyright (c) 2015, Integrated Device Technology Inc.
3 * Copyright (c) 2015, Prodrive Technologies4 * Copyright (c) 2015, Prodrive Technologies
include/uapi/linux/rio_mport_cdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Copyright (c) 2015-2016, Integrated Device Technology Inc.3 * Copyright (c) 2015-2016, Integrated Device Technology Inc.
3 * Copyright (c) 2015, Prodrive Technologies4 * Copyright (c) 2015, Prodrive Technologies
include/uapi/linux/romfs_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_ROMFS_FS_H2#ifndef __LINUX_ROMFS_FS_H
2#define __LINUX_ROMFS_FS_H3#define __LINUX_ROMFS_FS_H
3 4
include/uapi/linux/rose.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * These are the public elements of the Linux kernel Rose implementation.3 * These are the public elements of the Linux kernel Rose implementation.
3 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the4 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
include/uapi/linux/route.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/rpmsg.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2016, Linaro Ltd.3 * Copyright (c) 2016, Linaro Ltd.
3 *4 *
include/uapi/linux/rtc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Generic RTC interface.3 * Generic RTC interface.
3 * This version contains the part of the user interface to the Real Time Clock4 * This version contains the part of the user interface to the Real Time Clock
include/uapi/linux/rtnetlink.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_RTNETLINK_H2#ifndef _UAPI__LINUX_RTNETLINK_H
2#define _UAPI__LINUX_RTNETLINK_H3#define _UAPI__LINUX_RTNETLINK_H
3 4
@@ -430,6 +431,8 @@ enum { · 426 unmodified lines
430#define RTAX_QUICKACK RTAX_QUICKACK431#define RTAX_QUICKACK RTAX_QUICKACK
431 RTAX_CC_ALGO,432 RTAX_CC_ALGO,
432#define RTAX_CC_ALGO RTAX_CC_ALGO433#define RTAX_CC_ALGO RTAX_CC_ALGO
434 RTAX_FASTOPEN_NO_COOKIE,
435#define RTAX_FASTOPEN_NO_COOKIE RTAX_FASTOPEN_NO_COOKIE
433 __RTAX_MAX436 __RTAX_MAX
434};437};
435 438
include/uapi/linux/rxrpc.h+5−5
@@ -20,12 +20,12 @@ · 19 unmodified lines
20 * RxRPC socket address20 * RxRPC socket address
21 */21 */
22struct sockaddr_rxrpc {22struct sockaddr_rxrpc {
23 sa_family_t srx_family; /* address family */23 __kernel_sa_family_t srx_family; /* address family */
24 u16 srx_service; /* service desired */24 __u16 srx_service; /* service desired */
25 u16 transport_type; /* type of transport socket (SOCK_DGRAM) */25 __u16 transport_type; /* type of transport socket (SOCK_DGRAM) */
26 u16 transport_len; /* length of transport address */26 __u16 transport_len; /* length of transport address */
27 union {27 union {
28 sa_family_t family; /* transport address family */28 __kernel_sa_family_t family; /* transport address family */
29 struct sockaddr_in sin; /* IPv4 transport address */29 struct sockaddr_in sin; /* IPv4 transport address */
30 struct sockaddr_in6 sin6; /* IPv6 transport address */30 struct sockaddr_in6 sin6; /* IPv6 transport address */
31 } transport;31 } transport;
include/uapi/linux/scc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* $Id: scc.h,v 1.29 1997/04/02 14:56:45 jreuter Exp jreuter $ */2/* $Id: scc.h,v 1.29 1997/04/02 14:56:45 jreuter Exp jreuter $ */
2 3
3#ifndef _UAPI_SCC_H4#ifndef _UAPI_SCC_H
include/uapi/linux/sched.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SCHED_H2#ifndef _UAPI_LINUX_SCHED_H
2#define _UAPI_LINUX_SCHED_H3#define _UAPI_LINUX_SCHED_H
3 4
include/uapi/linux/sched/types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SCHED_TYPES_H2#ifndef _UAPI_LINUX_SCHED_TYPES_H
2#define _UAPI_LINUX_SCHED_TYPES_H3#define _UAPI_LINUX_SCHED_TYPES_H
3 4
include/uapi/linux/scif_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Intel MIC Platform Software Stack (MPSS)3 * Intel MIC Platform Software Stack (MPSS)
3 *4 *
include/uapi/linux/screen_info.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_SCREEN_INFO_H2#ifndef _UAPI_SCREEN_INFO_H
2#define _UAPI_SCREEN_INFO_H3#define _UAPI_SCREEN_INFO_H
3 4
include/uapi/linux/sctp.h+18−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* SCTP kernel implementation2/* SCTP kernel implementation
2 * (C) Copyright IBM Corp. 2001, 20043 * (C) Copyright IBM Corp. 2001, 2004
3 * Copyright (c) 1999-2000 Cisco, Inc.4 * Copyright (c) 1999-2000 Cisco, Inc.
@@ -122,6 +123,8 @@ typedef __s32 sctp_assoc_t; · 118 unmodified lines
122#define SCTP_RESET_ASSOC 120123#define SCTP_RESET_ASSOC 120
123#define SCTP_ADD_STREAMS 121124#define SCTP_ADD_STREAMS 121
124#define SCTP_SOCKOPT_PEELOFF_FLAGS 122125#define SCTP_SOCKOPT_PEELOFF_FLAGS 122
126#define SCTP_STREAM_SCHEDULER 123
127#define SCTP_STREAM_SCHEDULER_VALUE 124
125 128
126/* PR-SCTP policies */129/* PR-SCTP policies */
127#define SCTP_PR_SCTP_NONE 0x0000130#define SCTP_PR_SCTP_NONE 0x0000
@@ -376,7 +379,7 @@ struct sctp_remote_error { · 248 unmodified lines
376 __u16 sre_type;379 __u16 sre_type;
377 __u16 sre_flags;380 __u16 sre_flags;
378 __u32 sre_length;381 __u32 sre_length;
379 __u16 sre_error;382 __be16 sre_error;
380 sctp_assoc_t sre_assoc_id;383 sctp_assoc_t sre_assoc_id;
381 __u8 sre_data[0];384 __u8 sre_data[0];
382};385};
@@ -814,6 +817,12 @@ struct sctp_assoc_value { · 431 unmodified lines
814 uint32_t assoc_value;817 uint32_t assoc_value;
815};818};
816 819
820struct sctp_stream_value {
821 sctp_assoc_t assoc_id;
822 uint16_t stream_id;
823 uint16_t stream_value;
824};
825
817/*826/*
818 * 7.2.2 Peer Address Information827 * 7.2.2 Peer Address Information
819 *828 *
@@ -1088,4 +1097,12 @@ struct sctp_add_streams { · 268 unmodified lines
1088 uint16_t sas_outstrms;1097 uint16_t sas_outstrms;
1089};1098};
1090 1099
1100/* SCTP Stream schedulers */
1101enum sctp_sched_type {
1102 SCTP_SS_FCFS,
1103 SCTP_SS_PRIO,
1104 SCTP_SS_RR,
1105 SCTP_SS_MAX = SCTP_SS_RR
1106};
1107
1091#endif /* _UAPI_SCTP_H */1108#endif /* _UAPI_SCTP_H */
include/uapi/linux/sdla.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/seccomp.h+16−8
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SECCOMP_H2#ifndef _UAPI_LINUX_SECCOMP_H
2#define _UAPI_LINUX_SECCOMP_H3#define _UAPI_LINUX_SECCOMP_H
3 4
@@ -11,27 +12,34 @@ · 7 unmodified lines
11#define SECCOMP_MODE_FILTER 2 /* uses user-supplied filter. */12#define SECCOMP_MODE_FILTER 2 /* uses user-supplied filter. */
12 13
13/* Valid operations for seccomp syscall. */14/* Valid operations for seccomp syscall. */
14#define SECCOMP_SET_MODE_STRICT 015#define SECCOMP_SET_MODE_STRICT 0
15#define SECCOMP_SET_MODE_FILTER 116#define SECCOMP_SET_MODE_FILTER 1
17#define SECCOMP_GET_ACTION_AVAIL 2
16 18
17/* Valid flags for SECCOMP_SET_MODE_FILTER */19/* Valid flags for SECCOMP_SET_MODE_FILTER */
18#define SECCOMP_FILTER_FLAG_TSYNC 120#define SECCOMP_FILTER_FLAG_TSYNC 1
21#define SECCOMP_FILTER_FLAG_LOG 2
19 22
20/*23/*
21 * All BPF programs must return a 32-bit value.24 * All BPF programs must return a 32-bit value.
22 * The bottom 16-bits are for optional return data.25 * The bottom 16-bits are for optional return data.
23 * The upper 16-bits are ordered from least permissive values to most.26 * The upper 16-bits are ordered from least permissive values to most,
27 * as a signed value (so 0x8000000 is negative).
24 *28 *
25 * The ordering ensures that a min_t() over composed return values always29 * The ordering ensures that a min_t() over composed return values always
26 * selects the least permissive choice.30 * selects the least permissive choice.
27 */31 */
28#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */32#define SECCOMP_RET_KILL_PROCESS 0x80000000U /* kill the process */
29#define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */33#define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */
30#define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */34#define SECCOMP_RET_KILL SECCOMP_RET_KILL_THREAD
31#define SECCOMP_RET_TRACE 0x7ff00000U /* pass to a tracer or disallow */35#define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */
32#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */36#define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */
37#define SECCOMP_RET_TRACE 0x7ff00000U /* pass to a tracer or disallow */
38#define SECCOMP_RET_LOG 0x7ffc0000U /* allow after logging */
39#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */
33 40
34/* Masks for the return value sections. */41/* Masks for the return value sections. */
42#define SECCOMP_RET_ACTION_FULL 0xffff0000U
35#define SECCOMP_RET_ACTION 0x7fff0000U43#define SECCOMP_RET_ACTION 0x7fff0000U
36#define SECCOMP_RET_DATA 0x0000ffffU44#define SECCOMP_RET_DATA 0x0000ffffU
37 45
include/uapi/linux/securebits.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SECUREBITS_H2#ifndef _UAPI_LINUX_SECUREBITS_H
2#define _UAPI_LINUX_SECUREBITS_H3#define _UAPI_LINUX_SECUREBITS_H
3 4
include/uapi/linux/sed-opal.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright © 2016 Intel Corporation3 * Copyright © 2016 Intel Corporation
3 *4 *
include/uapi/linux/seg6.h+3−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * SR-IPv6 implementation3 * SR-IPv6 implementation
3 *4 *
@@ -25,9 +26,9 @@ struct ipv6_sr_hdr { · 21 unmodified lines
25 __u8 hdrlen;26 __u8 hdrlen;
26 __u8 type;27 __u8 type;
27 __u8 segments_left;28 __u8 segments_left;
28 __u8 first_segment;29 __u8 first_segment; /* Represents the last_entry field of SRH */
29 __u8 flags;30 __u8 flags;
30 __u16 reserved;31 __u16 tag;
31 32
32 struct in6_addr segments[0];33 struct in6_addr segments[0];
33};34};
include/uapi/linux/seg6_genl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SEG6_GENL_H2#ifndef _UAPI_LINUX_SEG6_GENL_H
2#define _UAPI_LINUX_SEG6_GENL_H3#define _UAPI_LINUX_SEG6_GENL_H
3 4
include/uapi/linux/seg6_hmac.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SEG6_HMAC_H2#ifndef _UAPI_LINUX_SEG6_HMAC_H
2#define _UAPI_LINUX_SEG6_HMAC_H3#define _UAPI_LINUX_SEG6_HMAC_H
3 4
include/uapi/linux/seg6_iptunnel.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * SR-IPv6 implementation3 * SR-IPv6 implementation
3 *4 *
include/uapi/linux/selinux_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Netlink event notifications for SELinux.3 * Netlink event notifications for SELinux.
3 *4 *
include/uapi/linux/sem.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SEM_H2#ifndef _UAPI_LINUX_SEM_H
2#define _UAPI_LINUX_SEM_H3#define _UAPI_LINUX_SEM_H
3 4
include/uapi/linux/serial.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/serial.h3 * include/linux/serial.h
3 *4 *
include/uapi/linux/serial_core.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * linux/drivers/char/serial_core.h3 * linux/drivers/char/serial_core.h
3 *4 *
include/uapi/linux/serial_reg.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/serial_reg.h3 * include/linux/serial_reg.h
3 *4 *
@@ -157,6 +158,7 @@ · 153 unmodified lines
157 */158 */
158#define UART_DLL 0 /* Out: Divisor Latch Low */159#define UART_DLL 0 /* Out: Divisor Latch Low */
159#define UART_DLM 1 /* Out: Divisor Latch High */160#define UART_DLM 1 /* Out: Divisor Latch High */
161#define UART_DIV_MAX 0xFFFF /* Max divisor value */
160 162
161/*163/*
162 * LCR=0xBF (or DLAB=1 for 16C660)164 * LCR=0xBF (or DLAB=1 for 16C660)
include/uapi/linux/serio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 1999-2002 Vojtech Pavlik3 * Copyright (C) 1999-2002 Vojtech Pavlik
3*4*
include/uapi/linux/shm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SHM_H_2#ifndef _UAPI_LINUX_SHM_H_
2#define _UAPI_LINUX_SHM_H_3#define _UAPI_LINUX_SHM_H_
3 4
include/uapi/linux/signal.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SIGNAL_H2#ifndef _UAPI_LINUX_SIGNAL_H
2#define _UAPI_LINUX_SIGNAL_H3#define _UAPI_LINUX_SIGNAL_H
3 4
include/uapi/linux/signalfd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/signalfd.h3 * include/linux/signalfd.h
3 *4 *
include/uapi/linux/smc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Shared Memory Communications over RDMA (SMC-R) and RoCE3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
3 *4 *
include/uapi/linux/smc_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_SMC_DIAG_H_2#ifndef _UAPI_SMC_DIAG_H_
2#define _UAPI_SMC_DIAG_H_3#define _UAPI_SMC_DIAG_H_
3 4
include/uapi/linux/smiapp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/uapi/linux/smiapp.h3 * include/uapi/linux/smiapp.h
3 *4 *
include/uapi/linux/snmp.h+1−1
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for MIBs3 * Definitions for MIBs
3 *4 *
@@ -190,7 +191,6 @@ enum · 186 unmodified lines
190 LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */191 LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */
191 LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */192 LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */
192 LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */193 LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */
193 LINUX_MIB_TCPFACKREORDER, /* TCPFACKReorder */
194 LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */194 LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */
195 LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */195 LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */
196 LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */196 LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */
include/uapi/linux/sock_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__SOCK_DIAG_H__2#ifndef _UAPI__SOCK_DIAG_H__
2#define _UAPI__SOCK_DIAG_H__3#define _UAPI__SOCK_DIAG_H__
3 4
include/uapi/linux/socket.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SOCKET_H2#ifndef _UAPI_LINUX_SOCKET_H
2#define _UAPI_LINUX_SOCKET_H3#define _UAPI_LINUX_SOCKET_H
3 4
include/uapi/linux/sockios.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/sonet.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* sonet.h - SONET/SHD physical layer control */2/* sonet.h - SONET/SHD physical layer control */
2 3
3/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */4/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
include/uapi/linux/sonypi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Sony Programmable I/O Control Device driver for VAIO3 * Sony Programmable I/O Control Device driver for VAIO
3 *4 *
include/uapi/linux/sound.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SOUND_H2#ifndef _UAPI_LINUX_SOUND_H
2#define _UAPI_LINUX_SOUND_H3#define _UAPI_LINUX_SOUND_H
3 4
include/uapi/linux/spi/spidev.h+2−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * include/linux/spi/spidev.h3 * include/linux/spi/spidev.h
3 *4 *
@@ -23,6 +24,7 @@ · 19 unmodified lines
23#define SPIDEV_H24#define SPIDEV_H
24 25
25#include <linux/types.h>26#include <linux/types.h>
27#include <linux/ioctl.h>
26 28
27/* User space versions of kernel symbols for SPI clocking modes,29/* User space versions of kernel symbols for SPI clocking modes,
28 * matching <linux/spi/spi.h>30 * matching <linux/spi/spi.h>
include/uapi/linux/stat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_STAT_H2#ifndef _UAPI_LINUX_STAT_H
2#define _UAPI_LINUX_STAT_H3#define _UAPI_LINUX_STAT_H
3 4
include/uapi/linux/stddef.h+2−1
@@ -1,4 +1,5 @@
1#include <linux/compiler.h>1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#include <linux/compiler_types.h>
2 3
3#ifndef __always_inline4#ifndef __always_inline
4#define __always_inline inline5#define __always_inline inline
include/uapi/linux/stm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * System Trace Module (STM) userspace interfaces3 * System Trace Module (STM) userspace interfaces
3 * Copyright (c) 2014, Intel Corporation.4 * Copyright (c) 2014, Intel Corporation.
include/uapi/linux/string.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_STRING_H_2#ifndef _UAPI_LINUX_STRING_H_
2#define _UAPI_LINUX_STRING_H_3#define _UAPI_LINUX_STRING_H_
3 4
include/uapi/linux/sunrpc/debug.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/include/linux/sunrpc/debug.h3 * linux/include/linux/sunrpc/debug.h
3 *4 *
include/uapi/linux/suspend_ioctls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_SUSPEND_IOCTLS_H2#ifndef _LINUX_SUSPEND_IOCTLS_H
2#define _LINUX_SUSPEND_IOCTLS_H3#define _LINUX_SUSPEND_IOCTLS_H
3 4
include/uapi/linux/swab.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_SWAB_H2#ifndef _UAPI_LINUX_SWAB_H
2#define _UAPI_LINUX_SWAB_H3#define _UAPI_LINUX_SWAB_H
3 4
include/uapi/linux/switchtec_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Microsemi Switchtec PCIe Driver3 * Microsemi Switchtec PCIe Driver
3 * Copyright (c) 2017, Microsemi Corporation4 * Copyright (c) 2017, Microsemi Corporation
include/uapi/linux/sync_file.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2012 Google, Inc.3 * Copyright (C) 2012 Google, Inc.
3 *4 *
include/uapi/linux/synclink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
1/*2/*
2 * SyncLink Multiprotocol Serial Adapter Driver3 * SyncLink Multiprotocol Serial Adapter Driver
3 *4 *
include/uapi/linux/sysctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * sysctl.h: General linux system control interface3 * sysctl.h: General linux system control interface
3 *4 *
include/uapi/linux/sysinfo.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_SYSINFO_H2#ifndef _LINUX_SYSINFO_H
2#define _LINUX_SYSINFO_H3#define _LINUX_SYSINFO_H
3 4
include/uapi/linux/target_core_user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __TARGET_CORE_USER_H2#ifndef __TARGET_CORE_USER_H
2#define __TARGET_CORE_USER_H3#define __TARGET_CORE_USER_H
3 4
include/uapi/linux/taskstats.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.1 WITH Linux-syscall-note */
1/* taskstats.h - exporting per-task statistics2/* taskstats.h - exporting per-task statistics
2 *3 *
3 * Copyright (C) Shailabh Nagar, IBM Corp. 20064 * Copyright (C) Shailabh Nagar, IBM Corp. 2006
include/uapi/linux/tc_act/tc_bpf.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>3 * Copyright (c) 2015 Jiri Pirko <jiri@resnulli.us>
3 *4 *
include/uapi/linux/tc_act/tc_connmark.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UAPI_TC_CONNMARK_H2#ifndef __UAPI_TC_CONNMARK_H
2#define __UAPI_TC_CONNMARK_H3#define __UAPI_TC_CONNMARK_H
3 4
include/uapi/linux/tc_act/tc_csum.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_CSUM_H2#ifndef __LINUX_TC_CSUM_H
2#define __LINUX_TC_CSUM_H3#define __LINUX_TC_CSUM_H
3 4
include/uapi/linux/tc_act/tc_defact.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_DEF_H2#ifndef __LINUX_TC_DEF_H
2#define __LINUX_TC_DEF_H3#define __LINUX_TC_DEF_H
3 4
include/uapi/linux/tc_act/tc_gact.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_GACT_H2#ifndef __LINUX_TC_GACT_H
2#define __LINUX_TC_GACT_H3#define __LINUX_TC_GACT_H
3 4
include/uapi/linux/tc_act/tc_ife.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UAPI_TC_IFE_H2#ifndef __UAPI_TC_IFE_H
2#define __UAPI_TC_IFE_H3#define __UAPI_TC_IFE_H
3 4
include/uapi/linux/tc_act/tc_ipt.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_IPT_H2#ifndef __LINUX_TC_IPT_H
2#define __LINUX_TC_IPT_H3#define __LINUX_TC_IPT_H
3 4
include/uapi/linux/tc_act/tc_mirred.h+4−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_MIR_H2#ifndef __LINUX_TC_MIR_H
2#define __LINUX_TC_MIR_H3#define __LINUX_TC_MIR_H
3 4
@@ -9,13 +10,13 @@ · 5 unmodified lines
9#define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */10#define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */
10#define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/11#define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/
11#define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */12#define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
12 13
13struct tc_mirred {14struct tc_mirred {
14 tc_gen;15 tc_gen;
15 int eaction; /* one of IN/EGRESS_MIRROR/REDIR */16 int eaction; /* one of IN/EGRESS_MIRROR/REDIR */
16 __u32 ifindex; /* ifindex of egress port */17 __u32 ifindex; /* ifindex of egress port */
17};18};
18 19
19enum {20enum {
20 TCA_MIRRED_UNSPEC,21 TCA_MIRRED_UNSPEC,
21 TCA_MIRRED_TM,22 TCA_MIRRED_TM,
@@ -24,5 +25,5 @@ enum { · 2 unmodified lines
24 __TCA_MIRRED_MAX25 __TCA_MIRRED_MAX
25};26};
26#define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1)27#define TCA_MIRRED_MAX (__TCA_MIRRED_MAX - 1)
27 28
28#endif29#endif
include/uapi/linux/tc_act/tc_nat.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_NAT_H2#ifndef __LINUX_TC_NAT_H
2#define __LINUX_TC_NAT_H3#define __LINUX_TC_NAT_H
3 4
include/uapi/linux/tc_act/tc_pedit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_PED_H2#ifndef __LINUX_TC_PED_H
2#define __LINUX_TC_PED_H3#define __LINUX_TC_PED_H
3 4
include/uapi/linux/tc_act/tc_sample.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_SAMPLE_H2#ifndef __LINUX_TC_SAMPLE_H
2#define __LINUX_TC_SAMPLE_H3#define __LINUX_TC_SAMPLE_H
3 4
include/uapi/linux/tc_act/tc_skbedit.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2008, Intel Corporation.3 * Copyright (c) 2008, Intel Corporation.
3 *4 *
include/uapi/linux/tc_act/tc_skbmod.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2016, Jamal Hadi Salim3 * Copyright (c) 2016, Jamal Hadi Salim
3 *4 *
include/uapi/linux/tc_act/tc_tunnel_key.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2016, Amir Vadai <amir@vadai.me>3 * Copyright (c) 2016, Amir Vadai <amir@vadai.me>
3 * Copyright (c) 2016, Mellanox Technologies. All rights reserved.4 * Copyright (c) 2016, Mellanox Technologies. All rights reserved.
include/uapi/linux/tc_act/tc_vlan.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>3 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
3 *4 *
include/uapi/linux/tc_ematch/tc_em_cmp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_EM_CMP_H2#ifndef __LINUX_TC_EM_CMP_H
2#define __LINUX_TC_EM_CMP_H3#define __LINUX_TC_EM_CMP_H
3 4
include/uapi/linux/tc_ematch/tc_em_meta.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_EM_META_H2#ifndef __LINUX_TC_EM_META_H
2#define __LINUX_TC_EM_META_H3#define __LINUX_TC_EM_META_H
3 4
include/uapi/linux/tc_ematch/tc_em_nbyte.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_EM_NBYTE_H2#ifndef __LINUX_TC_EM_NBYTE_H
2#define __LINUX_TC_EM_NBYTE_H3#define __LINUX_TC_EM_NBYTE_H
3 4
include/uapi/linux/tc_ematch/tc_em_text.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_TC_EM_TEXT_H2#ifndef __LINUX_TC_EM_TEXT_H
2#define __LINUX_TC_EM_TEXT_H3#define __LINUX_TC_EM_TEXT_H
3 4
include/uapi/linux/tcp.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
@@ -119,6 +120,8 @@ enum { · 115 unmodified lines
119#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */120#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */
120#define TCP_ULP 31 /* Attach a ULP to a TCP connection */121#define TCP_ULP 31 /* Attach a ULP to a TCP connection */
121#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */122#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */
123#define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie) */
124#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie */
122 125
123struct tcp_repair_opt {126struct tcp_repair_opt {
124 __u32 opt_code;127 __u32 opt_code;
include/uapi/linux/tcp_metrics.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/* tcp_metrics.h - TCP Metrics Interface */2/* tcp_metrics.h - TCP Metrics Interface */
2 3
3#ifndef _LINUX_TCP_METRICS_H4#ifndef _LINUX_TCP_METRICS_H
include/uapi/linux/telephony.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/******************************************************************************2/******************************************************************************
2 *3 *
3 * telephony.h4 * telephony.h
include/uapi/linux/termios.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_TERMIOS_H2#ifndef _LINUX_TERMIOS_H
2#define _LINUX_TERMIOS_H3#define _LINUX_TERMIOS_H
3 4
include/uapi/linux/thermal.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_THERMAL_H2#ifndef _UAPI_LINUX_THERMAL_H
2#define _UAPI_LINUX_THERMAL_H3#define _UAPI_LINUX_THERMAL_H
3 4
include/uapi/linux/time.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_TIME_H2#ifndef _UAPI_LINUX_TIME_H
2#define _UAPI_LINUX_TIME_H3#define _UAPI_LINUX_TIME_H
3 4
include/uapi/linux/timerfd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/timerfd.h3 * include/linux/timerfd.h
3 *4 *
include/uapi/linux/times.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_TIMES_H2#ifndef _LINUX_TIMES_H
2#define _LINUX_TIMES_H3#define _LINUX_TIMES_H
3 4
include/uapi/linux/tiocl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_TIOCL_H2#ifndef _LINUX_TIOCL_H
2#define _LINUX_TIOCL_H3#define _LINUX_TIOCL_H
3 4
include/uapi/linux/tipc.h+16−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * include/uapi/linux/tipc.h: Header for TIPC socket interface3 * include/uapi/linux/tipc.h: Header for TIPC socket interface
3 *4 *
@@ -231,6 +232,21 @@ struct sockaddr_tipc { · 227 unmodified lines
231#define TIPC_SOCK_RECVQ_DEPTH 132 /* Default: none (read only) */232#define TIPC_SOCK_RECVQ_DEPTH 132 /* Default: none (read only) */
232#define TIPC_MCAST_BROADCAST 133 /* Default: TIPC selects. No arg */233#define TIPC_MCAST_BROADCAST 133 /* Default: TIPC selects. No arg */
233#define TIPC_MCAST_REPLICAST 134 /* Default: TIPC selects. No arg */234#define TIPC_MCAST_REPLICAST 134 /* Default: TIPC selects. No arg */
235#define TIPC_GROUP_JOIN 135 /* Takes struct tipc_group_req* */
236#define TIPC_GROUP_LEAVE 136 /* No argument */
237
238/*
239 * Flag values
240 */
241#define TIPC_GROUP_LOOPBACK 0x1 /* Receive copy of sent msg when match */
242#define TIPC_GROUP_MEMBER_EVTS 0x2 /* Receive membership events in socket */
243
244struct tipc_group_req {
245 __u32 type; /* group id */
246 __u32 instance; /* member id */
247 __u32 scope; /* zone/cluster/node */
248 __u32 flags;
249};
234 250
235/*251/*
236 * Maximum sizes of TIPC bearer-related names (including terminating NULL)252 * Maximum sizes of TIPC bearer-related names (including terminating NULL)
include/uapi/linux/tipc_config.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * include/uapi/linux/tipc_config.h: Header for TIPC configuration interface3 * include/uapi/linux/tipc_config.h: Header for TIPC configuration interface
3 *4 *
include/uapi/linux/tipc_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Copyright (c) 2014, Ericsson AB3 * Copyright (c) 2014, Ericsson AB
3 * All rights reserved.4 * All rights reserved.
include/uapi/linux/tls.h+1−4
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved.3 * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved.
3 *4 *
@@ -34,10 +35,6 @@ · 30 unmodified lines
34#define _UAPI_LINUX_TLS_H35#define _UAPI_LINUX_TLS_H
35 36
36#include <linux/types.h>37#include <linux/types.h>
37#include <asm/byteorder.h>
38#include <linux/socket.h>
39#include <linux/tcp.h>
40#include <net/tcp.h>
41 38
42/* TLS socket options */39/* TLS socket options */
43#define TLS_TX 1 /* Set transmit parameters */40#define TLS_TX 1 /* Set transmit parameters */
include/uapi/linux/toshiba.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops 2/* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops
2 *3 *
3 * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk)4 * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk)
include/uapi/linux/tty.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_TTY_H2#ifndef _UAPI_LINUX_TTY_H
2#define _UAPI_LINUX_TTY_H3#define _UAPI_LINUX_TTY_H
3 4
include/uapi/linux/tty_flags.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_TTY_FLAGS_H2#ifndef _LINUX_TTY_FLAGS_H
2#define _LINUX_TTY_FLAGS_H3#define _LINUX_TTY_FLAGS_H
3 4
include/uapi/linux/types.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_TYPES_H2#ifndef _UAPI_LINUX_TYPES_H
2#define _UAPI_LINUX_TYPES_H3#define _UAPI_LINUX_TYPES_H
3 4
include/uapi/linux/udf_fs_i.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * udf_fs_i.h3 * udf_fs_i.h
3 *4 *
include/uapi/linux/udp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX3 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket4 * operating system. INET is implemented using the BSD Socket
include/uapi/linux/uhid.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __UHID_H_2#ifndef __UHID_H_
2#define __UHID_H_3#define __UHID_H_
3 4
include/uapi/linux/uinput.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * User level driver support for input subsystem3 * User level driver support for input subsystem
3 *4 *
include/uapi/linux/uio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Berkeley style UIO structures - Alan Cox 1994.3 * Berkeley style UIO structures - Alan Cox 1994.
3 *4 *
include/uapi/linux/uleds.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Userspace driver support for the LED subsystem3 * Userspace driver support for the LED subsystem
3 *4 *
include/uapi/linux/ultrasound.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _ULTRASOUND_H_2#ifndef _ULTRASOUND_H_
2#define _ULTRASOUND_H_3#define _ULTRASOUND_H_
3/*4/*
include/uapi/linux/un.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_UN_H2#ifndef _LINUX_UN_H
2#define _LINUX_UN_H3#define _LINUX_UN_H
3 4
include/uapi/linux/unistd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_UNISTD_H_2#ifndef _LINUX_UNISTD_H_
2#define _LINUX_UNISTD_H_3#define _LINUX_UNISTD_H_
3 4
include/uapi/linux/unix_diag.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __UNIX_DIAG_H__2#ifndef __UNIX_DIAG_H__
2#define __UNIX_DIAG_H__3#define __UNIX_DIAG_H__
3 4
include/uapi/linux/usb/audio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * <linux/usb/audio.h> -- USB Audio definitions.3 * <linux/usb/audio.h> -- USB Audio definitions.
3 *4 *
include/uapi/linux/usb/cdc-wdm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * USB CDC Device Management userspace API definitions3 * USB CDC Device Management userspace API definitions
3 *4 *
include/uapi/linux/usb/cdc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * USB Communications Device Class (CDC) definitions3 * USB Communications Device Class (CDC) definitions
3 *4 *
include/uapi/linux/usb/ch11.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * This file holds Hub protocol constants and data structures that are3 * This file holds Hub protocol constants and data structures that are
3 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification.4 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification.
include/uapi/linux/usb/ch9.h+6−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * This file holds USB constants and structures that are needed for3 * This file holds USB constants and structures that are needed for
3 * USB device APIs. These are used by the USB device model, which is4 * USB device APIs. These are used by the USB device model, which is
@@ -143,6 +144,10 @@ · 139 unmodified lines
143#define TEST_PACKET 4144#define TEST_PACKET 4
144#define TEST_FORCE_EN 5145#define TEST_FORCE_EN 5
145 146
147/* Status Type */
148#define USB_STATUS_TYPE_STANDARD 0
149#define USB_STATUS_TYPE_PTM 1
150
146/*151/*
147 * New Feature Selectors as added by USB 3.0152 * New Feature Selectors as added by USB 3.0
148 * See USB 3.0 spec Table 9-7153 * See USB 3.0 spec Table 9-7
@@ -780,6 +785,7 @@ struct usb_interface_assoc_descriptor { · 631 unmodified lines
780 __u8 iFunction;785 __u8 iFunction;
781} __attribute__ ((packed));786} __attribute__ ((packed));
782 787
788#define USB_DT_INTERFACE_ASSOCIATION_SIZE 8
783 789
784/*-------------------------------------------------------------------------*/790/*-------------------------------------------------------------------------*/
785 791
include/uapi/linux/usb/functionfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__LINUX_FUNCTIONFS_H__2#ifndef _UAPI__LINUX_FUNCTIONFS_H__
2#define _UAPI__LINUX_FUNCTIONFS_H__3#define _UAPI__LINUX_FUNCTIONFS_H__
3 4
include/uapi/linux/usb/g_printer.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * g_printer.h -- Header file for USB Printer gadget driver3 * g_printer.h -- Header file for USB Printer gadget driver
3 *4 *
include/uapi/linux/usb/gadgetfs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Filesystem based user-mode API to USB Gadget controller hardware3 * Filesystem based user-mode API to USB Gadget controller hardware
3 *4 *
include/uapi/linux/usb/midi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * <linux/usb/midi.h> -- USB MIDI definitions.3 * <linux/usb/midi.h> -- USB MIDI definitions.
3 *4 *
include/uapi/linux/usb/tmc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany3 * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany
3 * Copyright (C) 2008 Novell, Inc.4 * Copyright (C) 2008 Novell, Inc.
include/uapi/linux/usb/video.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * USB Video Class definitions.3 * USB Video Class definitions.
3 *4 *
include/uapi/linux/usbdevice_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*****************************************************************************/2/*****************************************************************************/
2 3
3/*4/*
include/uapi/linux/usbip.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * usbip.h3 * usbip.h
3 *4 *
include/uapi/linux/userfaultfd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * include/linux/userfaultfd.h3 * include/linux/userfaultfd.h
3 *4 *
include/uapi/linux/userio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * userio: virtual serio device support3 * userio: virtual serio device support
3 * Copyright (C) 2015 Red Hat4 * Copyright (C) 2015 Red Hat
include/uapi/linux/utime.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_UTIME_H2#ifndef _LINUX_UTIME_H
2#define _LINUX_UTIME_H3#define _LINUX_UTIME_H
3 4
include/uapi/linux/utsname.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_UTSNAME_H2#ifndef _UAPI_LINUX_UTSNAME_H
2#define _UAPI_LINUX_UTSNAME_H3#define _UAPI_LINUX_UTSNAME_H
3 4
include/uapi/linux/uuid.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * UUID/GUID definition3 * UUID/GUID definition
3 *4 *
include/uapi/linux/uvcvideo.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __LINUX_UVCVIDEO_H_2#ifndef __LINUX_UVCVIDEO_H_
2#define __LINUX_UVCVIDEO_H_3#define __LINUX_UVCVIDEO_H_
3 4
include/uapi/linux/v4l2-common.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * include/linux/v4l2-common.h3 * include/linux/v4l2-common.h
3 *4 *
include/uapi/linux/v4l2-controls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Video for Linux Two controls header file3 * Video for Linux Two controls header file
3 *4 *
include/uapi/linux/v4l2-dv-timings.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * V4L2 DV timings header.3 * V4L2 DV timings header.
3 *4 *
include/uapi/linux/v4l2-mediabus.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Media Bus API header3 * Media Bus API header
3 *4 *
include/uapi/linux/v4l2-subdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * V4L2 subdev userspace API3 * V4L2 subdev userspace API
3 *4 *
include/uapi/linux/veth.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef __NET_VETH_H_2#ifndef __NET_VETH_H_
2#define __NET_VETH_H_3#define __NET_VETH_H_
3 4
include/uapi/linux/vfio.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * VFIO API definition3 * VFIO API definition
3 *4 *
include/uapi/linux/vfio_ccw.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Interfaces for vfio-ccw3 * Interfaces for vfio-ccw
3 *4 *
include/uapi/linux/vhost.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_VHOST_H2#ifndef _LINUX_VHOST_H
2#define _LINUX_VHOST_H3#define _LINUX_VHOST_H
3/* Userspace interface for in-kernel virtio accelerators. */4/* Userspace interface for in-kernel virtio accelerators. */
include/uapi/linux/videodev2.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 * Video for Linux Two header file3 * Video for Linux Two header file
3 *4 *
include/uapi/linux/vm_sockets.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * VMware vSockets Driver3 * VMware vSockets Driver
3 *4 *
include/uapi/linux/vm_sockets_diag.h+33−0
@@ -0,0 +1,33 @@
1/* AF_VSOCK sock_diag(7) interface for querying open sockets */
2
3#ifndef _UAPI__VM_SOCKETS_DIAG_H__
4#define _UAPI__VM_SOCKETS_DIAG_H__
5
6#include <linux/types.h>
7
8/* Request */
9struct vsock_diag_req {
10 __u8 sdiag_family; /* must be AF_VSOCK */
11 __u8 sdiag_protocol; /* must be 0 */
12 __u16 pad; /* must be 0 */
13 __u32 vdiag_states; /* query bitmap (e.g. 1 << TCP_LISTEN) */
14 __u32 vdiag_ino; /* must be 0 (reserved) */
15 __u32 vdiag_show; /* must be 0 (reserved) */
16 __u32 vdiag_cookie[2];
17};
18
19/* Response */
20struct vsock_diag_msg {
21 __u8 vdiag_family; /* AF_VSOCK */
22 __u8 vdiag_type; /* SOCK_STREAM or SOCK_DGRAM */
23 __u8 vdiag_state; /* sk_state (e.g. TCP_LISTEN) */
24 __u8 vdiag_shutdown; /* local RCV_SHUTDOWN | SEND_SHUTDOWN */
25 __u32 vdiag_src_cid;
26 __u32 vdiag_src_port;
27 __u32 vdiag_dst_cid;
28 __u32 vdiag_dst_port;
29 __u32 vdiag_ino;
30 __u32 vdiag_cookie[2];
31};
32
33#endif /* _UAPI__VM_SOCKETS_DIAG_H__ */
include/uapi/linux/vsockmon.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_VSOCKMON_H2#ifndef _UAPI_VSOCKMON_H
2#define _UAPI_VSOCKMON_H3#define _UAPI_VSOCKMON_H
3 4
include/uapi/linux/vt.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_VT_H2#ifndef _UAPI_LINUX_VT_H
2#define _UAPI_LINUX_VT_H3#define _UAPI_LINUX_VT_H
3 4
include/uapi/linux/vtpm_proxy.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Definitions for the VTPM proxy driver3 * Definitions for the VTPM proxy driver
3 * Copyright (c) 2015, 2016, IBM Corporation4 * Copyright (c) 2015, 2016, IBM Corporation
include/uapi/linux/wait.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_LINUX_WAIT_H2#ifndef _UAPI_LINUX_WAIT_H
2#define _UAPI_LINUX_WAIT_H3#define _UAPI_LINUX_WAIT_H
3 4
include/uapi/linux/wanrouter.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * wanrouter.h Legacy declarations kept around until X25 is removed3 * wanrouter.h Legacy declarations kept around until X25 is removed
3 */4 */
include/uapi/linux/watchdog.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Generic watchdog defines. Derived from..3 * Generic watchdog defines. Derived from..
3 *4 *
include/uapi/linux/wireless.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * This file define a set of standard wireless extensions3 * This file define a set of standard wireless extensions
3 *4 *
include/uapi/linux/wmi.h+73−0
@@ -0,0 +1,73 @@
1/*
2 * User API methods for ACPI-WMI mapping driver
3 *
4 * Copyright (C) 2017 Dell, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef _UAPI_LINUX_WMI_H
11#define _UAPI_LINUX_WMI_H
12
13#include <linux/ioctl.h>
14#include <linux/types.h>
15
16/* WMI bus will filter all WMI vendor driver requests through this IOC */
17#define WMI_IOC 'W'
18
19/* All ioctl requests through WMI should declare their size followed by
20 * relevant data objects
21 */
22struct wmi_ioctl_buffer {
23 __u64 length;
24 __u8 data[];
25};
26
27/* This structure may be modified by the firmware when we enter
28 * system management mode through SMM, hence the volatiles
29 */
30struct calling_interface_buffer {
31 __u16 cmd_class;
32 __u16 cmd_select;
33 volatile __u32 input[4];
34 volatile __u32 output[4];
35} __packed;
36
37struct dell_wmi_extensions {
38 __u32 argattrib;
39 __u32 blength;
40 __u8 data[];
41} __packed;
42
43struct dell_wmi_smbios_buffer {
44 __u64 length;
45 struct calling_interface_buffer std;
46 struct dell_wmi_extensions ext;
47} __packed;
48
49/* Whitelisted smbios class/select commands */
50#define CLASS_TOKEN_READ 0
51#define CLASS_TOKEN_WRITE 1
52#define SELECT_TOKEN_STD 0
53#define SELECT_TOKEN_BAT 1
54#define SELECT_TOKEN_AC 2
55#define CLASS_FLASH_INTERFACE 7
56#define SELECT_FLASH_INTERFACE 3
57#define CLASS_ADMIN_PROP 10
58#define SELECT_ADMIN_PROP 3
59#define CLASS_INFO 17
60#define SELECT_RFKILL 11
61#define SELECT_APP_REGISTRATION 3
62#define SELECT_DOCK 22
63
64/* whitelisted tokens */
65#define CAPSULE_EN_TOKEN 0x0461
66#define CAPSULE_DIS_TOKEN 0x0462
67#define WSMT_EN_TOKEN 0x04EC
68#define WSMT_DIS_TOKEN 0x04ED
69
70/* Dell SMBIOS calling IOCTL command used by dell-smbios-wmi */
71#define DELL_WMI_SMBIOS_CMD _IOWR(WMI_IOC, 0, struct dell_wmi_smbios_buffer)
72
73#endif
include/uapi/linux/x25.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * These are the public elements of the Linux kernel X.25 implementation.3 * These are the public elements of the Linux kernel X.25 implementation.
3 *4 *
include/uapi/linux/xattr.h+4−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 File: linux/xattr.h3 File: linux/xattr.h
3 4
@@ -65,6 +66,9 @@ · 61 unmodified lines
65#define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE66#define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE
66#define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP67#define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP
67 68
69#define XATTR_APPARMOR_SUFFIX "apparmor"
70#define XATTR_NAME_APPARMOR XATTR_SECURITY_PREFIX XATTR_APPARMOR_SUFFIX
71
68#define XATTR_CAPS_SUFFIX "capability"72#define XATTR_CAPS_SUFFIX "capability"
69#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX73#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX
70 74
include/uapi/linux/xfrm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _LINUX_XFRM_H2#ifndef _LINUX_XFRM_H
2#define _LINUX_XFRM_H3#define _LINUX_XFRM_H
3 4
include/uapi/linux/xilinx-v4l2-controls.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Xilinx Controls Header3 * Xilinx Controls Header
3 *4 *
include/uapi/linux/zorro.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions3 * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions
3 *4 *
include/uapi/linux/zorro_ids.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Zorro board IDs3 * Zorro board IDs
3 *4 *
include/uapi/misc/cxl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright 2014 IBM Corp.3 * Copyright 2014 IBM Corp.
3 *4 *
include/uapi/mtd/inftl-user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Parts of INFTL headers shared with userspace3 * Parts of INFTL headers shared with userspace
3 *4 *
include/uapi/mtd/mtd-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
3 *4 *
include/uapi/mtd/mtd-user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
3 *4 *
include/uapi/mtd/nftl-user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
3 *4 *
include/uapi/mtd/ubi-user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright © International Business Machines Corp., 20063 * Copyright © International Business Machines Corp., 2006
3 *4 *
include/uapi/rdma/bnxt_re-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Broadcom NetXtreme-E RoCE driver.3 * Broadcom NetXtreme-E RoCE driver.
3 *4 *
include/uapi/rdma/cxgb3-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved.3 * Copyright (c) 2006 Chelsio, Inc. All rights reserved.
3 *4 *
include/uapi/rdma/cxgb4-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.3 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved.
3 *4 *
include/uapi/rdma/hfi/hfi1_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 *3 *
3 * This file is provided under a dual BSD/GPLv2 license. When using or4 * This file is provided under a dual BSD/GPLv2 license. When using or
include/uapi/rdma/hfi/hfi1_user.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1/*2/*
2 *3 *
3 * This file is provided under a dual BSD/GPLv2 license. When using or4 * This file is provided under a dual BSD/GPLv2 license. When using or
include/uapi/rdma/hns-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2016 Hisilicon Limited.3 * Copyright (c) 2016 Hisilicon Limited.
3 *4 *
include/uapi/rdma/ib_user_cm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2005 Topspin Communications. All rights reserved.3 * Copyright (c) 2005 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005 Intel Corporation. All rights reserved.4 * Copyright (c) 2005 Intel Corporation. All rights reserved.
include/uapi/rdma/ib_user_mad.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2004 Topspin Communications. All rights reserved.3 * Copyright (c) 2004 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005 Voltaire, Inc. All rights reserved.4 * Copyright (c) 2005 Voltaire, Inc. All rights reserved.
include/uapi/rdma/ib_user_sa.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2005 Intel Corporation. All rights reserved.3 * Copyright (c) 2005 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/rdma/ib_user_verbs.h+23−2
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2005 Topspin Communications. All rights reserved.3 * Copyright (c) 2005 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005, 2006 Cisco Systems. All rights reserved.4 * Copyright (c) 2005, 2006 Cisco Systems. All rights reserved.
@@ -100,7 +101,8 @@ enum { · 96 unmodified lines
100 IB_USER_VERBS_EX_CMD_MODIFY_WQ,101 IB_USER_VERBS_EX_CMD_MODIFY_WQ,
101 IB_USER_VERBS_EX_CMD_DESTROY_WQ,102 IB_USER_VERBS_EX_CMD_DESTROY_WQ,
102 IB_USER_VERBS_EX_CMD_CREATE_RWQ_IND_TBL,103 IB_USER_VERBS_EX_CMD_CREATE_RWQ_IND_TBL,
103 IB_USER_VERBS_EX_CMD_DESTROY_RWQ_IND_TBL104 IB_USER_VERBS_EX_CMD_DESTROY_RWQ_IND_TBL,
105 IB_USER_VERBS_EX_CMD_MODIFY_CQ
104};106};
105 107
106/*108/*
@@ -124,6 +126,12 @@ struct ib_uverbs_comp_event_desc { · 17 unmodified lines
124 __u64 cq_handle;126 __u64 cq_handle;
125};127};
126 128
129struct ib_uverbs_cq_moderation_caps {
130 __u16 max_cq_moderation_count;
131 __u16 max_cq_moderation_period;
132 __u32 reserved;
133};
134
127/*135/*
128 * All commands from userspace should start with a __u32 command field136 * All commands from userspace should start with a __u32 command field
129 * followed by __u16 in_words and out_words fields (which give the137 * followed by __u16 in_words and out_words fields (which give the
@@ -261,7 +269,8 @@ struct ib_uverbs_ex_query_device_resp { · 131 unmodified lines
261 struct ib_uverbs_rss_caps rss_caps;269 struct ib_uverbs_rss_caps rss_caps;
262 __u32 max_wq_type_rq;270 __u32 max_wq_type_rq;
263 __u32 raw_packet_caps;271 __u32 raw_packet_caps;
264 struct ib_uverbs_tm_caps xrq_caps;272 struct ib_uverbs_tm_caps tm_caps;
273 struct ib_uverbs_cq_moderation_caps cq_moderation_caps;
265};274};
266 275
267struct ib_uverbs_query_port {276struct ib_uverbs_query_port {
@@ -1150,6 +1159,18 @@ struct ib_uverbs_ex_destroy_rwq_ind_table { · 882 unmodified lines
1150 __u32 ind_tbl_handle;1159 __u32 ind_tbl_handle;
1151};1160};
1152 1161
1162struct ib_uverbs_cq_moderation {
1163 __u16 cq_count;
1164 __u16 cq_period;
1165};
1166
1167struct ib_uverbs_ex_modify_cq {
1168 __u32 cq_handle;
1169 __u32 attr_mask;
1170 struct ib_uverbs_cq_moderation attr;
1171 __u32 reserved;
1172};
1173
1153#define IB_DEVICE_NAME_MAX 641174#define IB_DEVICE_NAME_MAX 64
1154 1175
1155#endif /* IB_USER_VERBS_H */1176#endif /* IB_USER_VERBS_H */
include/uapi/rdma/mlx4-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.3 * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2007, 2008 Mellanox Technologies. All rights reserved.4 * Copyright (c) 2007, 2008 Mellanox Technologies. All rights reserved.
include/uapi/rdma/mlx5-abi.h+48−5
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.3 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
3 *4 *
@@ -39,6 +40,7 @@ · 35 unmodified lines
39enum {40enum {
40 MLX5_QP_FLAG_SIGNATURE = 1 << 0,41 MLX5_QP_FLAG_SIGNATURE = 1 << 0,
41 MLX5_QP_FLAG_SCATTER_CQE = 1 << 1,42 MLX5_QP_FLAG_SCATTER_CQE = 1 << 1,
43 MLX5_QP_FLAG_TUNNEL_OFFLOADS = 1 << 2,
42};44};
43 45
44enum {46enum {
@@ -190,6 +192,32 @@ struct mlx5_ib_sw_parsing_caps { · 145 unmodified lines
190 __u32 supported_qpts;192 __u32 supported_qpts;
191};193};
192 194
195struct mlx5_ib_striding_rq_caps {
196 __u32 min_single_stride_log_num_of_bytes;
197 __u32 max_single_stride_log_num_of_bytes;
198 __u32 min_single_wqe_log_num_of_strides;
199 __u32 max_single_wqe_log_num_of_strides;
200
201 /* Corresponding bit will be set if qp type from
202 * 'enum ib_qp_type' is supported, e.g.
203 * supported_qpts |= 1 << IB_QPT_RAW_PACKET
204 */
205 __u32 supported_qpts;
206 __u32 reserved;
207};
208
209enum mlx5_ib_query_dev_resp_flags {
210 /* Support 128B CQE compression */
211 MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_COMP = 1 << 0,
212 MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_PAD = 1 << 1,
213};
214
215enum mlx5_ib_tunnel_offloads {
216 MLX5_IB_TUNNELED_OFFLOADS_VXLAN = 1 << 0,
217 MLX5_IB_TUNNELED_OFFLOADS_GRE = 1 << 1,
218 MLX5_IB_TUNNELED_OFFLOADS_GENEVE = 1 << 2
219};
220
193struct mlx5_ib_query_device_resp {221struct mlx5_ib_query_device_resp {
194 __u32 comp_mask;222 __u32 comp_mask;
195 __u32 response_length;223 __u32 response_length;
@@ -198,8 +226,15 @@ struct mlx5_ib_query_device_resp { · 2 unmodified lines
198 struct mlx5_ib_cqe_comp_caps cqe_comp_caps;226 struct mlx5_ib_cqe_comp_caps cqe_comp_caps;
199 struct mlx5_packet_pacing_caps packet_pacing_caps;227 struct mlx5_packet_pacing_caps packet_pacing_caps;
200 __u32 mlx5_ib_support_multi_pkt_send_wqes;228 __u32 mlx5_ib_support_multi_pkt_send_wqes;
201 __u32 reserved;229 __u32 flags; /* Use enum mlx5_ib_query_dev_resp_flags */
202 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;230 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;
231 struct mlx5_ib_striding_rq_caps striding_rq_caps;
232 __u32 tunnel_offloads_caps; /* enum mlx5_ib_tunnel_offloads */
233 __u32 reserved;
234};
235
236enum mlx5_ib_create_cq_flags {
237 MLX5_IB_CREATE_CQ_FLAGS_CQE_128B_PAD = 1 << 0,
203};238};
204 239
205struct mlx5_ib_create_cq {240struct mlx5_ib_create_cq {
@@ -208,7 +243,7 @@ struct mlx5_ib_create_cq { · 2 unmodified lines
208 __u32 cqe_size;243 __u32 cqe_size;
209 __u8 cqe_comp_en;244 __u8 cqe_comp_en;
210 __u8 cqe_comp_res_format;245 __u8 cqe_comp_res_format;
211 __u16 reserved; /* explicit padding (optional on i386) */246 __u16 flags;
212};247};
213 248
214struct mlx5_ib_create_cq_resp {249struct mlx5_ib_create_cq_resp {
@@ -270,7 +305,9 @@ enum mlx5_rx_hash_fields { · 55 unmodified lines
270 MLX5_RX_HASH_SRC_PORT_TCP = 1 << 4,305 MLX5_RX_HASH_SRC_PORT_TCP = 1 << 4,
271 MLX5_RX_HASH_DST_PORT_TCP = 1 << 5,306 MLX5_RX_HASH_DST_PORT_TCP = 1 << 5,
272 MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6,307 MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6,
273 MLX5_RX_HASH_DST_PORT_UDP = 1 << 7308 MLX5_RX_HASH_DST_PORT_UDP = 1 << 7,
309 /* Save bits for future fields */
310 MLX5_RX_HASH_INNER = 1 << 31
274};311};
275 312
276struct mlx5_ib_create_qp_rss {313struct mlx5_ib_create_qp_rss {
@@ -280,7 +317,7 @@ struct mlx5_ib_create_qp_rss { · 3 unmodified lines
280 __u8 reserved[6];317 __u8 reserved[6];
281 __u8 rx_hash_key[128]; /* valid only for Toeplitz */318 __u8 rx_hash_key[128]; /* valid only for Toeplitz */
282 __u32 comp_mask;319 __u32 comp_mask;
283 __u32 reserved1;320 __u32 flags;
284};321};
285 322
286struct mlx5_ib_create_qp_resp {323struct mlx5_ib_create_qp_resp {
@@ -294,6 +331,10 @@ struct mlx5_ib_alloc_mw { · 7 unmodified lines
294 __u16 reserved2;331 __u16 reserved2;
295};332};
296 333
334enum mlx5_ib_create_wq_mask {
335 MLX5_IB_CREATE_WQ_STRIDING_RQ = (1 << 0),
336};
337
297struct mlx5_ib_create_wq {338struct mlx5_ib_create_wq {
298 __u64 buf_addr;339 __u64 buf_addr;
299 __u64 db_addr;340 __u64 db_addr;
@@ -302,7 +343,9 @@ struct mlx5_ib_create_wq { · 2 unmodified lines
302 __u32 user_index;343 __u32 user_index;
303 __u32 flags;344 __u32 flags;
304 __u32 comp_mask;345 __u32 comp_mask;
305 __u32 reserved;346 __u32 single_stride_log_num_of_bytes;
347 __u32 single_wqe_log_num_of_strides;
348 __u32 two_byte_shift_en;
306};349};
307 350
308struct mlx5_ib_create_ah_resp {351struct mlx5_ib_create_ah_resp {
include/uapi/rdma/mthca-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2005 Topspin Communications. All rights reserved.3 * Copyright (c) 2005 Topspin Communications. All rights reserved.
3 * Copyright (c) 2005, 2006 Cisco Systems. All rights reserved.4 * Copyright (c) 2005, 2006 Cisco Systems. All rights reserved.
include/uapi/rdma/nes-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2006 - 2011 Intel Corporation. All rights reserved.3 * Copyright (c) 2006 - 2011 Intel Corporation. All rights reserved.
3 * Copyright (c) 2005 Topspin Communications. All rights reserved.4 * Copyright (c) 2005 Topspin Communications. All rights reserved.
include/uapi/rdma/ocrdma-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/* This file is part of the Emulex RoCE Device Driver for2/* This file is part of the Emulex RoCE Device Driver for
2 * RoCE (RDMA over Converged Ethernet) adapters.3 * RoCE (RDMA over Converged Ethernet) adapters.
3 * Copyright (C) 2012-2015 Emulex. All rights reserved.4 * Copyright (C) 2012-2015 Emulex. All rights reserved.
include/uapi/rdma/qedr-abi.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/* QLogic qedr NIC Driver2/* QLogic qedr NIC Driver
2 * Copyright (c) 2015-2016 QLogic Corporation3 * Copyright (c) 2015-2016 QLogic Corporation
3 *4 *
include/uapi/rdma/rdma_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_RDMA_NETLINK_H2#ifndef _UAPI_RDMA_NETLINK_H
2#define _UAPI_RDMA_NETLINK_H3#define _UAPI_RDMA_NETLINK_H
3 4
include/uapi/rdma/rdma_user_cm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2005-2006 Intel Corporation. All rights reserved.3 * Copyright (c) 2005-2006 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/rdma/rdma_user_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2016 Mellanox Technologies, LTD. All rights reserved.3 * Copyright (c) 2016 Mellanox Technologies, LTD. All rights reserved.
3 *4 *
include/uapi/rdma/rdma_user_rxe.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.3 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
3 *4 *
include/uapi/rdma/vmw_pvrdma-abi.h+3−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
1/*2/*
2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.3 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
3 *4 *
@@ -158,6 +159,8 @@ struct pvrdma_resize_cq { · 154 unmodified lines
158 159
159struct pvrdma_create_srq {160struct pvrdma_create_srq {
160 __u64 buf_addr;161 __u64 buf_addr;
162 __u32 buf_size;
163 __u32 reserved;
161};164};
162 165
163struct pvrdma_create_srq_resp {166struct pvrdma_create_srq_resp {
include/uapi/scsi/cxlflash_ioctl.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * CXL Flash Device Driver3 * CXL Flash Device Driver
3 *4 *
include/uapi/scsi/fc/fc_els.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright(c) 2007 Intel Corporation. All rights reserved.3 * Copyright(c) 2007 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/scsi/fc/fc_fs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright(c) 2007 Intel Corporation. All rights reserved.3 * Copyright(c) 2007 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/scsi/fc/fc_gs.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright(c) 2007 Intel Corporation. All rights reserved.3 * Copyright(c) 2007 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/scsi/fc/fc_ns.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * Copyright(c) 2007 Intel Corporation. All rights reserved.3 * Copyright(c) 2007 Intel Corporation. All rights reserved.
3 *4 *
include/uapi/scsi/scsi_bsg_fc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * FC Transport BSG Interface3 * FC Transport BSG Interface
3 *4 *
include/uapi/scsi/scsi_netlink.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * SCSI Transport Netlink Interface3 * SCSI Transport Netlink Interface
3 * Used for the posting of outbound SCSI transport events4 * Used for the posting of outbound SCSI transport events
include/uapi/scsi/scsi_netlink_fc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * FC Transport Netlink Interface3 * FC Transport Netlink Interface
3 *4 *
include/uapi/sound/asequencer.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Main header file for the ALSA sequencer3 * Main header file for the ALSA sequencer
3 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>4 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
include/uapi/sound/asoc.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
3 *4 *
include/uapi/sound/asound.h+4−3
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Advanced Linux Sound Architecture - ALSA - Driver3 * Advanced Linux Sound Architecture - ALSA - Driver
3 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
@@ -93,7 +94,7 @@ enum { · 89 unmodified lines
93 SNDRV_HWDEP_IFACE_VX, /* Digigram VX cards */94 SNDRV_HWDEP_IFACE_VX, /* Digigram VX cards */
94 SNDRV_HWDEP_IFACE_MIXART, /* Digigram miXart cards */95 SNDRV_HWDEP_IFACE_MIXART, /* Digigram miXart cards */
95 SNDRV_HWDEP_IFACE_USX2Y, /* Tascam US122, US224 & US428 usb */96 SNDRV_HWDEP_IFACE_USX2Y, /* Tascam US122, US224 & US428 usb */
96 SNDRV_HWDEP_IFACE_EMUX_WAVETABLE, /* EmuX wavetable */ 97 SNDRV_HWDEP_IFACE_EMUX_WAVETABLE, /* EmuX wavetable */
97 SNDRV_HWDEP_IFACE_BLUETOOTH, /* Bluetooth audio */98 SNDRV_HWDEP_IFACE_BLUETOOTH, /* Bluetooth audio */
98 SNDRV_HWDEP_IFACE_USX2Y_PCM, /* Tascam US122, US224 & US428 rawusb pcm */99 SNDRV_HWDEP_IFACE_USX2Y_PCM, /* Tascam US122, US224 & US428 rawusb pcm */
99 SNDRV_HWDEP_IFACE_PCXHR, /* Digigram PCXHR */100 SNDRV_HWDEP_IFACE_PCXHR, /* Digigram PCXHR */
@@ -383,7 +384,7 @@ struct snd_mask { · 283 unmodified lines
383 384
384struct snd_pcm_hw_params {385struct snd_pcm_hw_params {
385 unsigned int flags;386 unsigned int flags;
386 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - 387 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK -
387 SNDRV_PCM_HW_PARAM_FIRST_MASK + 1];388 SNDRV_PCM_HW_PARAM_FIRST_MASK + 1];
388 struct snd_mask mres[5]; /* reserved masks */389 struct snd_mask mres[5]; /* reserved masks */
389 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL -390 struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL -
@@ -856,7 +857,7 @@ typedef int __bitwise snd_ctl_elem_iface_t; · 466 unmodified lines
856#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1<<8) /* control does actually nothing, but may be updated */857#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1<<8) /* control does actually nothing, but may be updated */
857#define SNDRV_CTL_ELEM_ACCESS_LOCK (1<<9) /* write lock */858#define SNDRV_CTL_ELEM_ACCESS_LOCK (1<<9) /* write lock */
858#define SNDRV_CTL_ELEM_ACCESS_OWNER (1<<10) /* write lock owner */859#define SNDRV_CTL_ELEM_ACCESS_OWNER (1<<10) /* write lock owner */
859#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1<<28) /* kernel use a TLV callback */ 860#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1<<28) /* kernel use a TLV callback */
860#define SNDRV_CTL_ELEM_ACCESS_USER (1<<29) /* user space element */861#define SNDRV_CTL_ELEM_ACCESS_USER (1<<29) /* user space element */
861/* bits 30 and 31 are obsoleted (for indirect access) */862/* bits 30 and 31 are obsoleted (for indirect access) */
862 863
include/uapi/sound/asound_fm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __SOUND_ASOUND_FM_H2#ifndef __SOUND_ASOUND_FM_H
2#define __SOUND_ASOUND_FM_H3#define __SOUND_ASOUND_FM_H
3 4
include/uapi/sound/compress_offload.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * compress_offload.h - compress offload header definations3 * compress_offload.h - compress offload header definations
3 *4 *
include/uapi/sound/compress_params.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) AND MIT) */
1/*2/*
2 * compress_params.h - codec types and parameters for compressed data3 * compress_params.h - codec types and parameters for compressed data
3 * streaming interface4 * streaming interface
include/uapi/sound/emu10k1.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>,3 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>,
3 * Creative Labs, Inc.4 * Creative Labs, Inc.
include/uapi/sound/firewire.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED2#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
2#define _UAPI_SOUND_FIREWIRE_H_INCLUDED3#define _UAPI_SOUND_FIREWIRE_H_INCLUDED
3 4
include/uapi/sound/hdsp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __SOUND_HDSP_H2#ifndef __SOUND_HDSP_H
2#define __SOUND_HDSP_H3#define __SOUND_HDSP_H
3 4
include/uapi/sound/hdspm.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __SOUND_HDSPM_H2#ifndef __SOUND_HDSPM_H
2#define __SOUND_HDSPM_H3#define __SOUND_HDSPM_H
3/*4/*
include/uapi/sound/sb16_csp.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (c) 1999 by Uros Bizjak <uros@kss-loka.si>3 * Copyright (c) 1999 by Uros Bizjak <uros@kss-loka.si>
3 * Takashi Iwai <tiwai@suse.de>4 * Takashi Iwai <tiwai@suse.de>
include/uapi/sound/sfnt_info.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1#ifndef __SOUND_SFNT_INFO_H2#ifndef __SOUND_SFNT_INFO_H
2#define __SOUND_SFNT_INFO_H3#define __SOUND_SFNT_INFO_H
3 4
include/uapi/sound/snd_sst_tokens.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1/*2/*
2 * snd_sst_tokens.h - Intel SST tokens definition3 * snd_sst_tokens.h - Intel SST tokens definition
3 *4 *
include/uapi/sound/tlv.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * This program is free software; you can redistribute it and/or modify3 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by4 * it under the terms of the GNU General Public License as published by
include/uapi/sound/usb_stream.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * Copyright (C) 2007, 2008 Karsten Wiese <fzu@wemgehoertderstaat.de>3 * Copyright (C) 2007, 2008 Karsten Wiese <fzu@wemgehoertderstaat.de>
3 *4 *
include/uapi/video/edid.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI__linux_video_edid_h__2#ifndef _UAPI__linux_video_edid_h__
2#define _UAPI__linux_video_edid_h__3#define _UAPI__linux_video_edid_h__
3 4
include/uapi/video/sisfb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
1/*2/*
2 * sisfb.h - definitions for the SiS framebuffer driver3 * sisfb.h - definitions for the SiS framebuffer driver
3 *4 *
include/uapi/video/uvesafb.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1#ifndef _UAPI_UVESAFB_H2#ifndef _UAPI_UVESAFB_H
2#define _UAPI_UVESAFB_H3#define _UAPI_UVESAFB_H
3 4
include/uapi/xen/evtchn.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */
1/******************************************************************************2/******************************************************************************
2 * evtchn.h3 * evtchn.h
3 *4 *
include/uapi/xen/gntdev.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */
1/******************************************************************************2/******************************************************************************
2 * gntdev.h3 * gntdev.h
3 * 4 *
include/uapi/xen/privcmd.h+1−0
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR MIT) */
1/******************************************************************************2/******************************************************************************
2 * privcmd.h3 * privcmd.h
3 *4 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t