Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'kbuild-uapi-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild UAPI updates from Masahiro Yamada:
"Improvement of headers_install by Nicolas Dichtel.

It has been long since the introduction of uapi directories, but the
de-coupling of exported headers has not been completed. Headers listed
in header-y are exported whether they exist in uapi directories or
not. His work fixes this inconsistency.

All (and only) headers under uapi directories are now exported. The
asm-generic wrappers are still exceptions, but this is a big step
forward"

* tag 'kbuild-uapi-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
arch/include: remove empty Kbuild files
uapi: export all arch specifics directories
uapi: export all headers under uapi directories
smc_diag.h: fix include from userland
btrfs_tree.h: fix include from userland
uapi: includes linux/types.h before exporting files
Makefile.headersinst: remove destination-y option
Makefile.headersinst: cleanup input files
x86: stop exporting msr-index.h to userland
nios2: put setup.h in uapi
h8300: put bitsperlong.h in uapi

+120 -1795
+31 -43
Documentation/kbuild/makefiles.txt
··· 44 44 --- 6.11 Post-link pass 45 45 46 46 === 7 Kbuild syntax for exported headers 47 - --- 7.1 header-y 47 + --- 7.1 no-export-headers 48 48 --- 7.2 genhdr-y 49 - --- 7.3 destination-y 50 - --- 7.4 generic-y 51 - --- 7.5 generated-y 49 + --- 7.3 generic-y 50 + --- 7.4 generated-y 51 + --- 7.5 mandatory-y 52 52 53 53 === 8 Kbuild Variables 54 54 === 9 Makefile language ··· 1236 1236 that may be shared between individual architectures. 1237 1237 The recommended approach how to use a generic header file is 1238 1238 to list the file in the Kbuild file. 1239 - See "7.4 generic-y" for further info on syntax etc. 1239 + See "7.3 generic-y" for further info on syntax etc. 1240 1240 1241 1241 --- 6.11 Post-link pass 1242 1242 ··· 1263 1263 - drop include of compiler.h 1264 1264 - drop all sections that are kernel internal (guarded by ifdef __KERNEL__) 1265 1265 1266 - Each relevant directory contains a file name "Kbuild" which specifies the 1267 - headers to be exported. 1266 + All headers under include/uapi/, include/generated/uapi/, 1267 + arch/<arch>/include/uapi/ and arch/<arch>/include/generated/uapi/ 1268 + are exported. 1269 + 1270 + A Kbuild file may be defined under arch/<arch>/include/uapi/asm/ and 1271 + arch/<arch>/include/asm/ to list asm files coming from asm-generic. 1268 1272 See subsequent chapter for the syntax of the Kbuild file. 1269 1273 1270 - --- 7.1 header-y 1274 + --- 7.1 no-export-headers 1271 1275 1272 - header-y specifies header files to be exported. 1273 - 1274 - Example: 1275 - #include/linux/Kbuild 1276 - header-y += usb/ 1277 - header-y += aio_abi.h 1278 - 1279 - The convention is to list one file per line and 1280 - preferably in alphabetic order. 1281 - 1282 - header-y also specifies which subdirectories to visit. 1283 - A subdirectory is identified by a trailing '/' which 1284 - can be seen in the example above for the usb subdirectory. 1285 - 1286 - Subdirectories are visited before their parent directories. 1276 + no-export-headers is essentially used by include/uapi/linux/Kbuild to 1277 + avoid exporting specific headers (e.g. kvm.h) on architectures that do 1278 + not support it. It should be avoided as much as possible. 1287 1279 1288 1280 --- 7.2 genhdr-y 1289 1281 1290 - genhdr-y specifies generated files to be exported. 1291 - Generated files are special as they need to be looked 1292 - up in another directory when doing 'make O=...' builds. 1282 + genhdr-y specifies asm files to be generated. 1293 1283 1294 1284 Example: 1295 - #include/linux/Kbuild 1296 - genhdr-y += version.h 1285 + #arch/x86/include/uapi/asm/Kbuild 1286 + genhdr-y += unistd_32.h 1287 + genhdr-y += unistd_64.h 1288 + genhdr-y += unistd_x32.h 1297 1289 1298 - --- 7.3 destination-y 1299 1290 1300 - When an architecture has a set of exported headers that needs to be 1301 - exported to a different directory destination-y is used. 1302 - destination-y specifies the destination directory for all exported 1303 - headers in the file where it is present. 1304 - 1305 - Example: 1306 - #arch/xtensa/platforms/s6105/include/platform/Kbuild 1307 - destination-y := include/linux 1308 - 1309 - In the example above all exported headers in the Kbuild file 1310 - will be located in the directory "include/linux" when exported. 1311 - 1312 - --- 7.4 generic-y 1291 + --- 7.3 generic-y 1313 1292 1314 1293 If an architecture uses a verbatim copy of a header from 1315 1294 include/asm-generic then this is listed in the file ··· 1315 1336 Example: termios.h 1316 1337 #include <asm-generic/termios.h> 1317 1338 1318 - --- 7.5 generated-y 1339 + --- 7.4 generated-y 1319 1340 1320 1341 If an architecture generates other header files alongside generic-y 1321 1342 wrappers, and not included in genhdr-y, then generated-y specifies ··· 1327 1348 Example: 1328 1349 #arch/x86/include/asm/Kbuild 1329 1350 generated-y += syscalls_32.h 1351 + 1352 + --- 7.5 mandatory-y 1353 + 1354 + mandatory-y is essentially used by include/uapi/asm-generic/Kbuild.asm 1355 + to define the minimun set of headers that must be exported in 1356 + include/asm. 1357 + 1358 + The convention is to list one subdir per line and 1359 + preferably in alphabetic order. 1330 1360 1331 1361 === 8 Kbuild Variables 1332 1362
+3 -3
Makefile
··· 1142 1142 export INSTALL_HDR_PATH = $(objtree)/usr 1143 1143 1144 1144 # If we do an all arch process set dst to asm-$(hdr-arch) 1145 - hdr-dst = $(if $(KBUILD_HEADERS), dst=include/asm-$(hdr-arch), dst=include/asm) 1145 + hdr-dst = $(if $(KBUILD_HEADERS), dst=include/arch-$(hdr-arch), dst=include) 1146 1146 1147 1147 PHONY += archheaders 1148 1148 archheaders: ··· 1163 1163 $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \ 1164 1164 $(error Headers not exportable for the $(SRCARCH) architecture)) 1165 1165 $(Q)$(MAKE) $(hdr-inst)=include/uapi 1166 - $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) 1166 + $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) 1167 1167 1168 1168 PHONY += headers_check_all 1169 1169 headers_check_all: headers_install_all ··· 1172 1172 PHONY += headers_check 1173 1173 headers_check: headers_install 1174 1174 $(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1 1175 - $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1 1175 + $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/ $(hdr-dst) HDRCHECK=1 1176 1176 1177 1177 # --------------------------------------------------------------------------- 1178 1178 # Kernel selftest
-41
arch/alpha/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += a.out.h 5 - header-y += auxvec.h 6 - header-y += bitsperlong.h 7 - header-y += byteorder.h 8 - header-y += compiler.h 9 - header-y += console.h 10 - header-y += errno.h 11 - header-y += fcntl.h 12 - header-y += fpu.h 13 - header-y += gentrap.h 14 - header-y += ioctl.h 15 - header-y += ioctls.h 16 - header-y += ipcbuf.h 17 - header-y += kvm_para.h 18 - header-y += mman.h 19 - header-y += msgbuf.h 20 - header-y += pal.h 21 - header-y += param.h 22 - header-y += poll.h 23 - header-y += posix_types.h 24 - header-y += ptrace.h 25 - header-y += reg.h 26 - header-y += regdef.h 27 - header-y += resource.h 28 - header-y += sembuf.h 29 - header-y += setup.h 30 - header-y += shmbuf.h 31 - header-y += sigcontext.h 32 - header-y += siginfo.h 33 - header-y += signal.h 34 - header-y += socket.h 35 - header-y += sockios.h 36 - header-y += stat.h 37 - header-y += statfs.h 38 - header-y += swab.h 39 - header-y += sysinfo.h 40 - header-y += termbits.h 41 - header-y += termios.h 42 - header-y += types.h 43 - header-y += unistd.h
-3
arch/arc/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - header-y += elf.h 4 - header-y += page.h 5 - header-y += cachectl.h
-17
arch/arm/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 - header-y += auxvec.h 5 - header-y += byteorder.h 6 - header-y += fcntl.h 7 - header-y += hwcap.h 8 - header-y += ioctls.h 9 - header-y += kvm_para.h 10 - header-y += mman.h 11 - header-y += perf_regs.h 12 - header-y += posix_types.h 13 - header-y += ptrace.h 14 - header-y += setup.h 15 - header-y += sigcontext.h 16 - header-y += signal.h 17 - header-y += stat.h 18 - header-y += statfs.h 19 - header-y += swab.h 20 - header-y += unistd.h 21 4 genhdr-y += unistd-common.h 22 5 genhdr-y += unistd-oabi.h 23 6 genhdr-y += unistd-eabi.h
-18
arch/arm64/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += kvm_para.h 5 - 6 - header-y += auxvec.h 7 - header-y += bitsperlong.h 8 - header-y += byteorder.h 9 - header-y += fcntl.h 10 - header-y += hwcap.h 11 - header-y += kvm_para.h 12 - header-y += perf_regs.h 13 - header-y += param.h 14 - header-y += ptrace.h 15 - header-y += setup.h 16 - header-y += sigcontext.h 17 - header-y += siginfo.h 18 - header-y += signal.h 19 - header-y += stat.h 20 - header-y += statfs.h 21 - header-y += ucontext.h 22 - header-y += unistd.h
-17
arch/blackfin/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += bfin_sport.h 5 - header-y += byteorder.h 6 - header-y += cachectl.h 7 - header-y += fcntl.h 8 - header-y += fixed_code.h 9 - header-y += ioctls.h 10 - header-y += kvm_para.h 11 - header-y += poll.h 12 - header-y += posix_types.h 13 - header-y += ptrace.h 14 - header-y += sigcontext.h 15 - header-y += siginfo.h 16 - header-y += signal.h 17 - header-y += stat.h 18 - header-y += swab.h 19 - header-y += unistd.h
-8
arch/c6x/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += kvm_para.h 5 - 6 - header-y += byteorder.h 7 - header-y += kvm_para.h 8 - header-y += ptrace.h 9 - header-y += setup.h 10 - header-y += sigcontext.h 11 - header-y += swab.h 12 - header-y += unistd.h
-1
arch/cris/include/arch-v10/arch/Kbuild
··· 1 - # CRISv10 arch
-1
arch/cris/include/arch-v32/arch/Kbuild
··· 1 - # CRISv32 arch
-5
arch/cris/include/uapi/arch-v10/arch/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += sv_addr.agh 3 - header-y += sv_addr_ag.h 4 - header-y += svinto.h 5 - header-y += user.h
-3
arch/cris/include/uapi/arch-v32/arch/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += cryptocop.h 3 - header-y += user.h
-42
arch/cris/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += ../arch-v10/arch/ 5 - header-y += ../arch-v32/arch/ 6 - header-y += auxvec.h 7 - header-y += bitsperlong.h 8 - header-y += byteorder.h 9 - header-y += elf.h 10 - header-y += elf_v10.h 11 - header-y += elf_v32.h 12 - header-y += errno.h 13 - header-y += ethernet.h 14 - header-y += etraxgpio.h 15 - header-y += fcntl.h 16 - header-y += ioctl.h 17 - header-y += ioctls.h 18 - header-y += ipcbuf.h 19 - header-y += mman.h 20 - header-y += msgbuf.h 21 - header-y += param.h 22 - header-y += poll.h 23 - header-y += posix_types.h 24 - header-y += ptrace.h 25 - header-y += ptrace_v10.h 26 - header-y += ptrace_v32.h 27 - header-y += resource.h 28 - header-y += rs485.h 29 - header-y += sembuf.h 30 - header-y += setup.h 31 - header-y += shmbuf.h 32 - header-y += sigcontext.h 33 - header-y += siginfo.h 34 - header-y += signal.h 35 - header-y += socket.h 36 - header-y += sockios.h 37 - header-y += stat.h 38 - header-y += statfs.h 39 - header-y += swab.h 40 - header-y += sync_serial.h 41 - header-y += termbits.h 42 - header-y += termios.h 43 - header-y += types.h 44 - header-y += unistd.h
-33
arch/frv/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += byteorder.h 7 - header-y += errno.h 8 - header-y += fcntl.h 9 - header-y += ioctl.h 10 - header-y += ioctls.h 11 - header-y += ipcbuf.h 12 - header-y += kvm_para.h 13 - header-y += mman.h 14 - header-y += msgbuf.h 15 - header-y += param.h 16 - header-y += poll.h 17 - header-y += posix_types.h 18 - header-y += ptrace.h 19 - header-y += registers.h 20 - header-y += resource.h 21 - header-y += sembuf.h 22 - header-y += setup.h 23 - header-y += shmbuf.h 24 - header-y += sigcontext.h 25 - header-y += siginfo.h 26 - header-y += signal.h 27 - header-y += socket.h 28 - header-y += sockios.h 29 - header-y += stat.h 30 - header-y += statfs.h 31 - header-y += swab.h 32 - header-y += termbits.h 33 - header-y += termios.h 34 - header-y += types.h 35 - header-y += unistd.h
+3 -3
arch/h8300/include/asm/bitsperlong.h arch/h8300/include/uapi/asm/bitsperlong.h
··· 1 - #ifndef __ASM_H8300_BITS_PER_LONG 2 - #define __ASM_H8300_BITS_PER_LONG 1 + #ifndef _UAPI__ASM_H8300_BITS_PER_LONG 2 + #define _UAPI__ASM_H8300_BITS_PER_LONG 3 3 4 4 #include <asm-generic/bitsperlong.h> 5 5 ··· 11 11 typedef long __kernel_ptrdiff_t; 12 12 #endif 13 13 14 - #endif /* __ASM_H8300_BITS_PER_LONG */ 14 + #endif /* _UAPI__ASM_H8300_BITS_PER_LONG */
-28
arch/h8300/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += errno.h 7 - header-y += fcntl.h 8 - header-y += ioctl.h 9 - header-y += ioctls.h 10 - header-y += ipcbuf.h 11 - header-y += kvm_para.h 12 - header-y += mman.h 13 - header-y += msgbuf.h 14 - header-y += param.h 15 - header-y += poll.h 16 - header-y += posix_types.h 17 - header-y += resource.h 18 - header-y += sembuf.h 19 - header-y += setup.h 20 - header-y += shmbuf.h 21 - header-y += siginfo.h 22 - header-y += socket.h 23 - header-y += sockios.h 24 - header-y += stat.h 25 - header-y += statfs.h 26 - header-y += swab.h 27 - header-y += termbits.h 28 - header-y += termios.h 29 - header-y += types.h 30 - header-y += unistd.h
-3
arch/hexagon/include/asm/Kbuild
··· 1 - 2 - header-y += ucontext.h 3 - 4 1 generic-y += auxvec.h 5 2 generic-y += barrier.h 6 3 generic-y += bug.h
-13
arch/hexagon/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += bitsperlong.h 5 - header-y += byteorder.h 6 - header-y += kvm_para.h 7 - header-y += param.h 8 - header-y += ptrace.h 9 - header-y += registers.h 10 - header-y += setup.h 11 - header-y += sigcontext.h 12 - header-y += signal.h 13 - header-y += swab.h 14 - header-y += unistd.h 15 - header-y += user.h
-45
arch/ia64/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += kvm_para.h 5 - 6 - header-y += auxvec.h 7 - header-y += bitsperlong.h 8 - header-y += break.h 9 - header-y += byteorder.h 10 - header-y += cmpxchg.h 11 - header-y += errno.h 12 - header-y += fcntl.h 13 - header-y += fpu.h 14 - header-y += gcc_intrin.h 15 - header-y += ia64regs.h 16 - header-y += intel_intrin.h 17 - header-y += intrinsics.h 18 - header-y += ioctl.h 19 - header-y += ioctls.h 20 - header-y += ipcbuf.h 21 - header-y += kvm_para.h 22 - header-y += mman.h 23 - header-y += msgbuf.h 24 - header-y += param.h 25 - header-y += perfmon.h 26 - header-y += perfmon_default_smpl.h 27 - header-y += poll.h 28 - header-y += posix_types.h 29 - header-y += ptrace.h 30 - header-y += ptrace_offsets.h 31 - header-y += resource.h 32 - header-y += rse.h 33 - header-y += sembuf.h 34 - header-y += setup.h 35 - header-y += shmbuf.h 36 - header-y += sigcontext.h 37 - header-y += siginfo.h 38 - header-y += signal.h 39 - header-y += socket.h 40 - header-y += sockios.h 41 - header-y += stat.h 42 - header-y += statfs.h 43 - header-y += swab.h 44 - header-y += termbits.h 45 - header-y += termios.h 46 - header-y += types.h 47 - header-y += ucontext.h 48 - header-y += unistd.h 49 - header-y += ustack.h
-31
arch/m32r/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += byteorder.h 7 - header-y += errno.h 8 - header-y += fcntl.h 9 - header-y += ioctl.h 10 - header-y += ioctls.h 11 - header-y += ipcbuf.h 12 - header-y += mman.h 13 - header-y += msgbuf.h 14 - header-y += param.h 15 - header-y += poll.h 16 - header-y += posix_types.h 17 - header-y += ptrace.h 18 - header-y += resource.h 19 - header-y += sembuf.h 20 - header-y += setup.h 21 - header-y += shmbuf.h 22 - header-y += sigcontext.h 23 - header-y += siginfo.h 24 - header-y += signal.h 25 - header-y += socket.h 26 - header-y += sockios.h 27 - header-y += stat.h 28 - header-y += statfs.h 29 - header-y += swab.h 30 - header-y += termbits.h 31 - header-y += termios.h 32 - header-y += types.h 33 - header-y += unistd.h
-24
arch/m68k/include/uapi/asm/Kbuild
··· 9 9 generic-y += sockios.h 10 10 generic-y += termbits.h 11 11 generic-y += termios.h 12 - 13 - header-y += a.out.h 14 - header-y += bootinfo.h 15 - header-y += bootinfo-amiga.h 16 - header-y += bootinfo-apollo.h 17 - header-y += bootinfo-atari.h 18 - header-y += bootinfo-hp300.h 19 - header-y += bootinfo-mac.h 20 - header-y += bootinfo-q40.h 21 - header-y += bootinfo-vme.h 22 - header-y += byteorder.h 23 - header-y += cachectl.h 24 - header-y += fcntl.h 25 - header-y += ioctls.h 26 - header-y += param.h 27 - header-y += poll.h 28 - header-y += posix_types.h 29 - header-y += ptrace.h 30 - header-y += setup.h 31 - header-y += sigcontext.h 32 - header-y += signal.h 33 - header-y += stat.h 34 - header-y += swab.h 35 - header-y += unistd.h
-8
arch/metag/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 - header-y += byteorder.h 5 - header-y += ech.h 6 - header-y += ptrace.h 7 - header-y += sigcontext.h 8 - header-y += siginfo.h 9 - header-y += swab.h 10 - header-y += unistd.h 11 - 12 4 generic-y += mman.h 13 5 generic-y += resource.h 14 6 generic-y += setup.h
-32
arch/microblaze/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += types.h 5 - 6 - header-y += auxvec.h 7 - header-y += bitsperlong.h 8 - header-y += byteorder.h 9 - header-y += elf.h 10 - header-y += errno.h 11 - header-y += fcntl.h 12 - header-y += ioctl.h 13 - header-y += ioctls.h 14 - header-y += ipcbuf.h 15 - header-y += kvm_para.h 16 - header-y += mman.h 17 - header-y += msgbuf.h 18 - header-y += param.h 19 - header-y += poll.h 20 - header-y += posix_types.h 21 - header-y += ptrace.h 22 - header-y += resource.h 23 - header-y += sembuf.h 24 - header-y += setup.h 25 - header-y += shmbuf.h 26 - header-y += sigcontext.h 27 - header-y += siginfo.h 28 - header-y += signal.h 29 - header-y += socket.h 30 - header-y += sockios.h 31 - header-y += stat.h 32 - header-y += statfs.h 33 - header-y += swab.h 34 - header-y += termbits.h 35 - header-y += termios.h 36 - header-y += unistd.h
-37
arch/mips/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += ipcbuf.h 5 - 6 - header-y += auxvec.h 7 - header-y += bitfield.h 8 - header-y += bitsperlong.h 9 - header-y += break.h 10 - header-y += byteorder.h 11 - header-y += cachectl.h 12 - header-y += errno.h 13 - header-y += fcntl.h 14 - header-y += inst.h 15 - header-y += ioctl.h 16 - header-y += ioctls.h 17 - header-y += kvm_para.h 18 - header-y += mman.h 19 - header-y += msgbuf.h 20 - header-y += param.h 21 - header-y += poll.h 22 - header-y += posix_types.h 23 - header-y += ptrace.h 24 - header-y += resource.h 25 - header-y += sembuf.h 26 - header-y += setup.h 27 - header-y += sgidefs.h 28 - header-y += shmbuf.h 29 - header-y += sigcontext.h 30 - header-y += siginfo.h 31 - header-y += signal.h 32 - header-y += socket.h 33 - header-y += sockios.h 34 - header-y += stat.h 35 - header-y += statfs.h 36 - header-y += swab.h 37 - header-y += sysmips.h 38 - header-y += termbits.h 39 - header-y += termios.h 40 - header-y += types.h 41 - header-y += unistd.h
-32
arch/mn10300/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += byteorder.h 7 - header-y += errno.h 8 - header-y += fcntl.h 9 - header-y += ioctl.h 10 - header-y += ioctls.h 11 - header-y += ipcbuf.h 12 - header-y += kvm_para.h 13 - header-y += mman.h 14 - header-y += msgbuf.h 15 - header-y += param.h 16 - header-y += poll.h 17 - header-y += posix_types.h 18 - header-y += ptrace.h 19 - header-y += resource.h 20 - header-y += sembuf.h 21 - header-y += setup.h 22 - header-y += shmbuf.h 23 - header-y += sigcontext.h 24 - header-y += siginfo.h 25 - header-y += signal.h 26 - header-y += socket.h 27 - header-y += sockios.h 28 - header-y += stat.h 29 - header-y += statfs.h 30 - header-y += swab.h 31 - header-y += termbits.h 32 - header-y += termios.h 33 - header-y += types.h 34 - header-y += unistd.h
+2 -2
arch/nios2/include/uapi/asm/Kbuild
··· 1 + # UAPI Header export list 1 2 include include/uapi/asm-generic/Kbuild.asm 2 3 3 - header-y += elf.h 4 - 4 + generic-y += setup.h 5 5 generic-y += ucontext.h
-3
arch/openrisc/include/asm/Kbuild
··· 1 - 2 - header-y += ucontext.h 3 - 4 1 generic-y += auxvec.h 5 2 generic-y += barrier.h 6 3 generic-y += bitsperlong.h
-8
arch/openrisc/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += byteorder.h 5 - header-y += elf.h 6 - header-y += kvm_para.h 7 - header-y += param.h 8 - header-y += ptrace.h 9 - header-y += sigcontext.h 10 - header-y += unistd.h
-28
arch/parisc/include/uapi/asm/Kbuild
··· 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 4 generic-y += resource.h 5 - 6 - header-y += bitsperlong.h 7 - header-y += byteorder.h 8 - header-y += errno.h 9 - header-y += fcntl.h 10 - header-y += ioctl.h 11 - header-y += ioctls.h 12 - header-y += ipcbuf.h 13 - header-y += mman.h 14 - header-y += msgbuf.h 15 - header-y += pdc.h 16 - header-y += posix_types.h 17 - header-y += ptrace.h 18 - header-y += sembuf.h 19 - header-y += setup.h 20 - header-y += shmbuf.h 21 - header-y += sigcontext.h 22 - header-y += siginfo.h 23 - header-y += signal.h 24 - header-y += socket.h 25 - header-y += sockios.h 26 - header-y += stat.h 27 - header-y += statfs.h 28 - header-y += swab.h 29 - header-y += termbits.h 30 - header-y += termios.h 31 - header-y += types.h 32 - header-y += unistd.h
-45
arch/powerpc/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += bootx.h 7 - header-y += byteorder.h 8 - header-y += cputable.h 9 - header-y += eeh.h 10 - header-y += elf.h 11 - header-y += epapr_hcalls.h 12 - header-y += errno.h 13 - header-y += fcntl.h 14 - header-y += ioctl.h 15 - header-y += ioctls.h 16 - header-y += ipcbuf.h 17 - header-y += kvm.h 18 - header-y += kvm_para.h 19 - header-y += mman.h 20 - header-y += msgbuf.h 21 - header-y += nvram.h 22 - header-y += opal-prd.h 23 - header-y += param.h 24 - header-y += perf_event.h 25 - header-y += poll.h 26 - header-y += posix_types.h 27 - header-y += ps3fb.h 28 - header-y += ptrace.h 29 - header-y += resource.h 30 - header-y += sembuf.h 31 - header-y += setup.h 32 - header-y += shmbuf.h 33 - header-y += sigcontext.h 34 - header-y += siginfo.h 35 - header-y += signal.h 36 - header-y += socket.h 37 - header-y += sockios.h 38 - header-y += spu_info.h 39 - header-y += stat.h 40 - header-y += statfs.h 41 - header-y += swab.h 42 - header-y += termbits.h 43 - header-y += termios.h 44 - header-y += tm.h 45 - header-y += types.h 46 - header-y += ucontext.h 47 - header-y += unistd.h
-46
arch/s390/include/uapi/asm/Kbuild
··· 10 10 generic-y += resource.h 11 11 generic-y += sockios.h 12 12 generic-y += termbits.h 13 - 14 - header-y += auxvec.h 15 - header-y += bitsperlong.h 16 - header-y += byteorder.h 17 - header-y += chpid.h 18 - header-y += chsc.h 19 - header-y += clp.h 20 - header-y += cmb.h 21 - header-y += dasd.h 22 - header-y += debug.h 23 - header-y += errno.h 24 - header-y += guarded_storage.h 25 - header-y += hypfs.h 26 - header-y += ioctls.h 27 - header-y += ipcbuf.h 28 - header-y += kvm.h 29 - header-y += kvm_para.h 30 - header-y += kvm_perf.h 31 - header-y += kvm_virtio.h 32 - header-y += monwriter.h 33 - header-y += msgbuf.h 34 - header-y += pkey.h 35 - header-y += posix_types.h 36 - header-y += ptrace.h 37 - header-y += qeth.h 38 - header-y += schid.h 39 - header-y += sclp_ctl.h 40 - header-y += sembuf.h 41 - header-y += setup.h 42 - header-y += shmbuf.h 43 - header-y += sie.h 44 - header-y += sigcontext.h 45 - header-y += siginfo.h 46 - header-y += signal.h 47 - header-y += socket.h 48 - header-y += stat.h 49 - header-y += statfs.h 50 - header-y += swab.h 51 - header-y += tape390.h 52 - header-y += termios.h 53 - header-y += types.h 54 - header-y += ucontext.h 55 - header-y += unistd.h 56 - header-y += virtio-ccw.h 57 - header-y += vtoc.h 58 - header-y += zcrypt.h
-3
arch/score/include/asm/Kbuild
··· 1 - 2 - header-y += 3 - 4 1 generic-y += barrier.h 5 2 generic-y += clkdev.h 6 3 generic-y += current.h
-32
arch/score/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += byteorder.h 7 - header-y += errno.h 8 - header-y += fcntl.h 9 - header-y += ioctl.h 10 - header-y += ioctls.h 11 - header-y += ipcbuf.h 12 - header-y += kvm_para.h 13 - header-y += mman.h 14 - header-y += msgbuf.h 15 - header-y += param.h 16 - header-y += poll.h 17 - header-y += posix_types.h 18 - header-y += ptrace.h 19 - header-y += resource.h 20 - header-y += sembuf.h 21 - header-y += setup.h 22 - header-y += shmbuf.h 23 - header-y += sigcontext.h 24 - header-y += siginfo.h 25 - header-y += signal.h 26 - header-y += socket.h 27 - header-y += sockios.h 28 - header-y += stat.h 29 - header-y += statfs.h 30 - header-y += swab.h 31 - header-y += termbits.h 32 - header-y += termios.h 33 - header-y += types.h 34 - header-y += unistd.h
-23
arch/sh/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += byteorder.h 6 - header-y += cachectl.h 7 - header-y += cpu-features.h 8 - header-y += hw_breakpoint.h 9 - header-y += ioctls.h 10 - header-y += posix_types.h 11 - header-y += posix_types_32.h 12 - header-y += posix_types_64.h 13 - header-y += ptrace.h 14 - header-y += ptrace_32.h 15 - header-y += ptrace_64.h 16 - header-y += setup.h 17 - header-y += sigcontext.h 18 - header-y += signal.h 19 - header-y += sockios.h 20 - header-y += stat.h 21 - header-y += swab.h 22 - header-y += types.h 23 - header-y += unistd.h 24 - header-y += unistd_32.h 25 - header-y += unistd_64.h
-48
arch/sparc/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 - # User exported sparc header files 3 - 4 2 include include/uapi/asm-generic/Kbuild.asm 5 - 6 - header-y += apc.h 7 - header-y += asi.h 8 - header-y += auxvec.h 9 - header-y += bitsperlong.h 10 - header-y += byteorder.h 11 - header-y += display7seg.h 12 - header-y += envctrl.h 13 - header-y += errno.h 14 - header-y += fbio.h 15 - header-y += fcntl.h 16 - header-y += ioctl.h 17 - header-y += ioctls.h 18 - header-y += ipcbuf.h 19 - header-y += jsflash.h 20 - header-y += kvm_para.h 21 - header-y += mman.h 22 - header-y += msgbuf.h 23 - header-y += openpromio.h 24 - header-y += param.h 25 - header-y += perfctr.h 26 - header-y += poll.h 27 - header-y += posix_types.h 28 - header-y += psr.h 29 - header-y += psrcompat.h 30 - header-y += pstate.h 31 - header-y += ptrace.h 32 - header-y += resource.h 33 - header-y += sembuf.h 34 - header-y += setup.h 35 - header-y += shmbuf.h 36 - header-y += sigcontext.h 37 - header-y += siginfo.h 38 - header-y += signal.h 39 - header-y += socket.h 40 - header-y += sockios.h 41 - header-y += stat.h 42 - header-y += statfs.h 43 - header-y += swab.h 44 - header-y += termbits.h 45 - header-y += termios.h 46 - header-y += traps.h 47 - header-y += uctx.h 48 - header-y += unistd.h 49 - header-y += utrap.h 50 - header-y += watchdog.h
-1
arch/tile/include/arch/Kbuild
··· 1 - # Tile arch headers
-3
arch/tile/include/asm/Kbuild
··· 1 - 2 - header-y += ../arch/ 3 - 4 1 generic-y += bug.h 5 2 generic-y += bugs.h 6 3 generic-y += clkdev.h
-17
arch/tile/include/uapi/arch/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += abi.h 3 - header-y += chip.h 4 - header-y += chip_tilegx.h 5 - header-y += chip_tilepro.h 6 - header-y += icache.h 7 - header-y += interrupts.h 8 - header-y += interrupts_32.h 9 - header-y += interrupts_64.h 10 - header-y += opcode.h 11 - header-y += opcode_tilegx.h 12 - header-y += opcode_tilepro.h 13 - header-y += sim.h 14 - header-y += sim_def.h 15 - header-y += spr_def.h 16 - header-y += spr_def_32.h 17 - header-y += spr_def_64.h
-17
arch/tile/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 - header-y += auxvec.h 5 - header-y += bitsperlong.h 6 - header-y += byteorder.h 7 - header-y += cachectl.h 8 - header-y += hardwall.h 9 - header-y += kvm_para.h 10 - header-y += mman.h 11 - header-y += ptrace.h 12 - header-y += setup.h 13 - header-y += sigcontext.h 14 - header-y += siginfo.h 15 - header-y += signal.h 16 - header-y += stat.h 17 - header-y += swab.h 18 - header-y += ucontext.h 19 - header-y += unistd.h 20 - 21 4 generic-y += ucontext.h
-6
arch/unicore32/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 3 4 - header-y += byteorder.h 5 - header-y += kvm_para.h 6 - header-y += ptrace.h 7 - header-y += sigcontext.h 8 - header-y += unistd.h 9 - 10 4 generic-y += kvm_para.h
-59
arch/x86/include/uapi/asm/Kbuild
··· 4 4 genhdr-y += unistd_32.h 5 5 genhdr-y += unistd_64.h 6 6 genhdr-y += unistd_x32.h 7 - header-y += a.out.h 8 - header-y += auxvec.h 9 - header-y += bitsperlong.h 10 - header-y += boot.h 11 - header-y += bootparam.h 12 - header-y += byteorder.h 13 - header-y += debugreg.h 14 - header-y += e820.h 15 - header-y += errno.h 16 - header-y += fcntl.h 17 - header-y += hw_breakpoint.h 18 - header-y += hyperv.h 19 - header-y += ioctl.h 20 - header-y += ioctls.h 21 - header-y += ipcbuf.h 22 - header-y += ist.h 23 - header-y += kvm.h 24 - header-y += kvm_para.h 25 - header-y += kvm_perf.h 26 - header-y += ldt.h 27 - header-y += mce.h 28 - header-y += mman.h 29 - header-y += msgbuf.h 30 - header-y += msr-index.h 31 - header-y += msr.h 32 - header-y += mtrr.h 33 - header-y += param.h 34 - header-y += perf_regs.h 35 - header-y += poll.h 36 - header-y += posix_types.h 37 - header-y += posix_types_32.h 38 - header-y += posix_types_64.h 39 - header-y += posix_types_x32.h 40 - header-y += prctl.h 41 - header-y += processor-flags.h 42 - header-y += ptrace-abi.h 43 - header-y += ptrace.h 44 - header-y += resource.h 45 - header-y += sembuf.h 46 - header-y += setup.h 47 - header-y += shmbuf.h 48 - header-y += sigcontext.h 49 - header-y += sigcontext32.h 50 - header-y += siginfo.h 51 - header-y += signal.h 52 - header-y += socket.h 53 - header-y += sockios.h 54 - header-y += stat.h 55 - header-y += statfs.h 56 - header-y += svm.h 57 - header-y += swab.h 58 - header-y += termbits.h 59 - header-y += termios.h 60 - header-y += types.h 61 - header-y += ucontext.h 62 - header-y += unistd.h 63 - header-y += vm86.h 64 - header-y += vmx.h 65 - header-y += vsyscall.h
-23
arch/xtensa/include/uapi/asm/Kbuild
··· 1 1 # UAPI Header export list 2 2 include include/uapi/asm-generic/Kbuild.asm 3 - 4 - header-y += auxvec.h 5 - header-y += byteorder.h 6 - header-y += ioctls.h 7 - header-y += ipcbuf.h 8 - header-y += mman.h 9 - header-y += msgbuf.h 10 - header-y += param.h 11 - header-y += poll.h 12 - header-y += posix_types.h 13 - header-y += ptrace.h 14 - header-y += sembuf.h 15 - header-y += setup.h 16 - header-y += shmbuf.h 17 - header-y += sigcontext.h 18 - header-y += signal.h 19 - header-y += socket.h 20 - header-y += sockios.h 21 - header-y += stat.h 22 - header-y += swab.h 23 - header-y += termbits.h 24 - header-y += types.h 25 - header-y += unistd.h
-2
include/Kbuild
··· 1 - # Top-level Makefile calls into asm-$(ARCH) 2 - # List only non-arch directories below
-1
include/asm-generic/Kbuild.asm
··· 1 - include include/uapi/asm-generic/Kbuild.asm
+1 -2
include/rdma/ib_verbs.h
··· 62 62 #include <linux/mmu_notifier.h> 63 63 #include <linux/uaccess.h> 64 64 #include <linux/cgroup_rdma.h> 65 + #include <uapi/rdma/ib_user_verbs.h> 65 66 66 67 extern struct workqueue_struct *ib_wq; 67 68 extern struct workqueue_struct *ib_comp_wq; ··· 1889 1888 IB_MAD_RESULT_REPLY = 1 << 1, /* Reply packet needs to be sent */ 1890 1889 IB_MAD_RESULT_CONSUMED = 1 << 2 /* Packet consumed: stop processing */ 1891 1890 }; 1892 - 1893 - #define IB_DEVICE_NAME_MAX 64 1894 1891 1895 1892 struct ib_port_cache { 1896 1893 struct ib_pkey_cache *pkey;
include/scsi/fc/Kbuild
-15
include/uapi/Kbuild
··· 1 - # UAPI Header export list 2 - # Top-level Makefile calls into asm-$(ARCH) 3 - # List only non-arch directories below 4 - 5 - 6 - header-y += asm-generic/ 7 - header-y += linux/ 8 - header-y += sound/ 9 - header-y += mtd/ 10 - header-y += rdma/ 11 - header-y += video/ 12 - header-y += drm/ 13 - header-y += xen/ 14 - header-y += scsi/ 15 - header-y += misc/
-36
include/uapi/asm-generic/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += auxvec.h 3 - header-y += bitsperlong.h 4 - header-y += errno-base.h 5 - header-y += errno.h 6 - header-y += fcntl.h 7 - header-y += int-l64.h 8 - header-y += int-ll64.h 9 - header-y += ioctl.h 10 - header-y += ioctls.h 11 - header-y += ipcbuf.h 12 - header-y += kvm_para.h 13 - header-y += mman-common.h 14 - header-y += mman.h 15 - header-y += msgbuf.h 16 - header-y += param.h 17 - header-y += poll.h 18 - header-y += posix_types.h 19 - header-y += resource.h 20 - header-y += sembuf.h 21 - header-y += setup.h 22 - header-y += shmbuf.h 23 - header-y += shmparam.h 24 - header-y += siginfo.h 25 - header-y += signal-defs.h 26 - header-y += signal.h 27 - header-y += socket.h 28 - header-y += sockios.h 29 - header-y += stat.h 30 - header-y += statfs.h 31 - header-y += swab.h 32 - header-y += termbits.h 33 - header-y += termios.h 34 - header-y += types.h 35 - header-y += ucontext.h 36 - header-y += unistd.h
+30 -46
include/uapi/asm-generic/Kbuild.asm
··· 1 1 # 2 - # Headers that are optional in usr/include/asm/ 3 - # 4 - opt-header += kvm.h 5 - opt-header += kvm_para.h 6 - opt-header += a.out.h 7 - 8 - # 9 2 # Headers that are mandatory in usr/include/asm/ 10 3 # 11 - header-y += auxvec.h 12 - header-y += bitsperlong.h 13 - header-y += byteorder.h 14 - header-y += errno.h 15 - header-y += fcntl.h 16 - header-y += ioctl.h 17 - header-y += ioctls.h 18 - header-y += ipcbuf.h 19 - header-y += mman.h 20 - header-y += msgbuf.h 21 - header-y += param.h 22 - header-y += poll.h 23 - header-y += posix_types.h 24 - header-y += ptrace.h 25 - header-y += resource.h 26 - header-y += sembuf.h 27 - header-y += setup.h 28 - header-y += shmbuf.h 29 - header-y += sigcontext.h 30 - header-y += siginfo.h 31 - header-y += signal.h 32 - header-y += socket.h 33 - header-y += sockios.h 34 - header-y += stat.h 35 - header-y += statfs.h 36 - header-y += swab.h 37 - header-y += termbits.h 38 - header-y += termios.h 39 - header-y += types.h 40 - header-y += unistd.h 41 - 42 - header-y += $(foreach hdr,$(opt-header), \ 43 - $(if \ 44 - $(wildcard \ 45 - $(srctree)/arch/$(SRCARCH)/include/uapi/asm/$(hdr) \ 46 - $(srctree)/arch/$(SRCARCH)/include/asm/$(hdr) \ 47 - ), \ 48 - $(hdr) \ 49 - )) 4 + mandatory-y += auxvec.h 5 + mandatory-y += bitsperlong.h 6 + mandatory-y += byteorder.h 7 + mandatory-y += errno.h 8 + mandatory-y += fcntl.h 9 + mandatory-y += ioctl.h 10 + mandatory-y += ioctls.h 11 + mandatory-y += ipcbuf.h 12 + mandatory-y += mman.h 13 + mandatory-y += msgbuf.h 14 + mandatory-y += param.h 15 + mandatory-y += poll.h 16 + mandatory-y += posix_types.h 17 + mandatory-y += ptrace.h 18 + mandatory-y += resource.h 19 + mandatory-y += sembuf.h 20 + mandatory-y += setup.h 21 + mandatory-y += shmbuf.h 22 + mandatory-y += sigcontext.h 23 + mandatory-y += siginfo.h 24 + mandatory-y += signal.h 25 + mandatory-y += socket.h 26 + mandatory-y += sockios.h 27 + mandatory-y += stat.h 28 + mandatory-y += statfs.h 29 + mandatory-y += swab.h 30 + mandatory-y += termbits.h 31 + mandatory-y += termios.h 32 + mandatory-y += types.h 33 + mandatory-y += unistd.h
-23
include/uapi/drm/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += drm.h 3 - header-y += drm_fourcc.h 4 - header-y += drm_mode.h 5 - header-y += drm_sarea.h 6 - header-y += amdgpu_drm.h 7 - header-y += exynos_drm.h 8 - header-y += i810_drm.h 9 - header-y += i915_drm.h 10 - header-y += mga_drm.h 11 - header-y += nouveau_drm.h 12 - header-y += omap_drm.h 13 - header-y += qxl_drm.h 14 - header-y += r128_drm.h 15 - header-y += radeon_drm.h 16 - header-y += savage_drm.h 17 - header-y += sis_drm.h 18 - header-y += tegra_drm.h 19 - header-y += via_drm.h 20 - header-y += vmwgfx_drm.h 21 - header-y += msm_drm.h 22 - header-y += vc4_drm.h 23 - header-y += virtgpu_drm.h
+6 -488
include/uapi/linux/Kbuild
··· 1 1 # UAPI Header export list 2 - header-y += android/ 3 - header-y += byteorder/ 4 - header-y += can/ 5 - header-y += caif/ 6 - header-y += dvb/ 7 - header-y += hdlc/ 8 - header-y += hsi/ 9 - header-y += iio/ 10 - header-y += isdn/ 11 - header-y += mmc/ 12 - header-y += nfsd/ 13 - header-y += raid/ 14 - header-y += spi/ 15 - header-y += sunrpc/ 16 - header-y += tc_act/ 17 - header-y += tc_ematch/ 18 - header-y += netfilter/ 19 - header-y += netfilter_arp/ 20 - header-y += netfilter_bridge/ 21 - header-y += netfilter_ipv4/ 22 - header-y += netfilter_ipv6/ 23 - header-y += usb/ 24 - header-y += wimax/ 25 2 26 - genhdr-y += version.h 27 - 28 - ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/a.out.h \ 29 - $(srctree)/arch/$(SRCARCH)/include/asm/a.out.h),) 30 - header-y += a.out.h 3 + ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/a.out.h),) 4 + no-export-headers += a.out.h 31 5 endif 32 6 33 - header-y += acct.h 34 - header-y += adb.h 35 - header-y += adfs_fs.h 36 - header-y += affs_hardblocks.h 37 - header-y += agpgart.h 38 - header-y += aio_abi.h 39 - header-y += am437x-vpfe.h 40 - header-y += apm_bios.h 41 - header-y += arcfb.h 42 - header-y += atalk.h 43 - header-y += atmapi.h 44 - header-y += atmarp.h 45 - header-y += atmbr2684.h 46 - header-y += atmclip.h 47 - header-y += atmdev.h 48 - header-y += atm_eni.h 49 - header-y += atm.h 50 - header-y += atm_he.h 51 - header-y += atm_idt77105.h 52 - header-y += atmioc.h 53 - header-y += atmlec.h 54 - header-y += atmmpc.h 55 - header-y += atm_nicstar.h 56 - header-y += atmppp.h 57 - header-y += atmsap.h 58 - header-y += atmsvc.h 59 - header-y += atm_tcp.h 60 - header-y += atm_zatm.h 61 - header-y += audit.h 62 - header-y += auto_fs4.h 63 - header-y += auto_fs.h 64 - header-y += auxvec.h 65 - header-y += ax25.h 66 - header-y += b1lli.h 67 - header-y += batman_adv.h 68 - header-y += baycom.h 69 - header-y += bcm933xx_hcs.h 70 - header-y += bfs_fs.h 71 - header-y += binfmts.h 72 - header-y += blkpg.h 73 - header-y += blktrace_api.h 74 - header-y += blkzoned.h 75 - header-y += bpf_common.h 76 - header-y += bpf_perf_event.h 77 - header-y += bpf.h 78 - header-y += bpqether.h 79 - header-y += bsg.h 80 - header-y += bt-bmc.h 81 - header-y += btrfs.h 82 - header-y += can.h 83 - header-y += capability.h 84 - header-y += capi.h 85 - header-y += cciss_defs.h 86 - header-y += cciss_ioctl.h 87 - header-y += cdrom.h 88 - header-y += cec.h 89 - header-y += cec-funcs.h 90 - header-y += cgroupstats.h 91 - header-y += chio.h 92 - header-y += cm4000_cs.h 93 - header-y += cn_proc.h 94 - header-y += coda.h 95 - header-y += coda_psdev.h 96 - header-y += coff.h 97 - header-y += connector.h 98 - header-y += const.h 99 - header-y += cramfs_fs.h 100 - header-y += cuda.h 101 - header-y += cyclades.h 102 - header-y += cycx_cfm.h 103 - header-y += dcbnl.h 104 - header-y += dccp.h 105 - header-y += devlink.h 106 - header-y += dlmconstants.h 107 - header-y += dlm_device.h 108 - header-y += dlm.h 109 - header-y += dlm_netlink.h 110 - header-y += dlm_plock.h 111 - header-y += dm-ioctl.h 112 - header-y += dm-log-userspace.h 113 - header-y += dma-buf.h 114 - header-y += dn.h 115 - header-y += dqblk_xfs.h 116 - header-y += edd.h 117 - header-y += efs_fs_sb.h 118 - header-y += elfcore.h 119 - header-y += elf-em.h 120 - header-y += elf-fdpic.h 121 - header-y += elf.h 122 - header-y += errno.h 123 - header-y += errqueue.h 124 - header-y += ethtool.h 125 - header-y += eventpoll.h 126 - header-y += fadvise.h 127 - header-y += falloc.h 128 - header-y += fanotify.h 129 - header-y += fb.h 130 - header-y += fcntl.h 131 - header-y += fd.h 132 - header-y += fdreg.h 133 - header-y += fib_rules.h 134 - header-y += fiemap.h 135 - header-y += filter.h 136 - header-y += firewire-cdev.h 137 - header-y += firewire-constants.h 138 - header-y += flat.h 139 - header-y += fou.h 140 - header-y += fs.h 141 - header-y += fsl_hypervisor.h 142 - header-y += fuse.h 143 - header-y += futex.h 144 - header-y += gameport.h 145 - header-y += genetlink.h 146 - header-y += gen_stats.h 147 - header-y += gfs2_ondisk.h 148 - header-y += gigaset_dev.h 149 - header-y += gpio.h 150 - header-y += gsmmux.h 151 - header-y += gtp.h 152 - header-y += hdlcdrv.h 153 - header-y += hdlc.h 154 - header-y += hdreg.h 155 - header-y += hiddev.h 156 - header-y += hid.h 157 - header-y += hidraw.h 158 - header-y += hpet.h 159 - header-y += hsr_netlink.h 160 - header-y += hyperv.h 161 - header-y += hysdn_if.h 162 - header-y += i2c-dev.h 163 - header-y += i2c.h 164 - header-y += i2o-dev.h 165 - header-y += i8k.h 166 - header-y += icmp.h 167 - header-y += icmpv6.h 168 - header-y += if_addr.h 169 - header-y += if_addrlabel.h 170 - header-y += if_alg.h 171 - header-y += if_arcnet.h 172 - header-y += if_arp.h 173 - header-y += if_bonding.h 174 - header-y += if_bridge.h 175 - header-y += if_cablemodem.h 176 - header-y += if_eql.h 177 - header-y += if_ether.h 178 - header-y += if_fc.h 179 - header-y += if_fddi.h 180 - header-y += if_frad.h 181 - header-y += if.h 182 - header-y += if_hippi.h 183 - header-y += if_infiniband.h 184 - header-y += if_link.h 185 - header-y += if_ltalk.h 186 - header-y += if_macsec.h 187 - header-y += if_packet.h 188 - header-y += if_phonet.h 189 - header-y += if_plip.h 190 - header-y += if_ppp.h 191 - header-y += if_pppol2tp.h 192 - header-y += if_pppox.h 193 - header-y += if_slip.h 194 - header-y += if_team.h 195 - header-y += if_tun.h 196 - header-y += if_tunnel.h 197 - header-y += if_vlan.h 198 - header-y += if_x25.h 199 - header-y += ife.h 200 - header-y += igmp.h 201 - header-y += ila.h 202 - header-y += in6.h 203 - header-y += inet_diag.h 204 - header-y += in.h 205 - header-y += inotify.h 206 - header-y += input.h 207 - header-y += input-event-codes.h 208 - header-y += in_route.h 209 - header-y += ioctl.h 210 - header-y += ip6_tunnel.h 211 - header-y += ipc.h 212 - header-y += ip.h 213 - header-y += ipmi.h 214 - header-y += ipmi_msgdefs.h 215 - header-y += ipsec.h 216 - header-y += ipv6.h 217 - header-y += ipv6_route.h 218 - header-y += ip_vs.h 219 - header-y += ipx.h 220 - header-y += irda.h 221 - header-y += irqnr.h 222 - header-y += isdn_divertif.h 223 - header-y += isdn.h 224 - header-y += isdnif.h 225 - header-y += isdn_ppp.h 226 - header-y += iso_fs.h 227 - header-y += ivtvfb.h 228 - header-y += ivtv.h 229 - header-y += ixjuser.h 230 - header-y += jffs2.h 231 - header-y += joystick.h 232 - header-y += kcmp.h 233 - header-y += kdev_t.h 234 - header-y += kd.h 235 - header-y += kernelcapi.h 236 - header-y += kernel.h 237 - header-y += kernel-page-flags.h 238 - header-y += kexec.h 239 - header-y += keyboard.h 240 - header-y += keyctl.h 241 - 242 - ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm.h \ 243 - $(srctree)/arch/$(SRCARCH)/include/asm/kvm.h),) 244 - header-y += kvm.h 7 + ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm.h),) 8 + no-export-headers += kvm.h 245 9 endif 246 10 247 - 248 - ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm_para.h \ 249 - $(srctree)/arch/$(SRCARCH)/include/asm/kvm_para.h),) 250 - header-y += kvm_para.h 11 + ifeq ($(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/kvm_para.h),) 12 + no-export-headers += kvm_para.h 251 13 endif 252 - 253 - header-y += hw_breakpoint.h 254 - header-y += l2tp.h 255 - header-y += libc-compat.h 256 - header-y += lirc.h 257 - header-y += limits.h 258 - header-y += llc.h 259 - header-y += loop.h 260 - header-y += lp.h 261 - header-y += lwtunnel.h 262 - header-y += magic.h 263 - header-y += major.h 264 - header-y += map_to_7segment.h 265 - header-y += matroxfb.h 266 - header-y += mdio.h 267 - header-y += media.h 268 - header-y += media-bus-format.h 269 - header-y += mei.h 270 - header-y += membarrier.h 271 - header-y += memfd.h 272 - header-y += mempolicy.h 273 - header-y += meye.h 274 - header-y += mic_common.h 275 - header-y += mic_ioctl.h 276 - header-y += mii.h 277 - header-y += minix_fs.h 278 - header-y += mman.h 279 - header-y += mmtimer.h 280 - header-y += mpls.h 281 - header-y += mpls_iptunnel.h 282 - header-y += mqueue.h 283 - header-y += mroute6.h 284 - header-y += mroute.h 285 - header-y += msdos_fs.h 286 - header-y += msg.h 287 - header-y += mtio.h 288 - header-y += nbd.h 289 - header-y += ncp_fs.h 290 - header-y += ncp.h 291 - header-y += ncp_mount.h 292 - header-y += ncp_no.h 293 - header-y += ndctl.h 294 - header-y += neighbour.h 295 - header-y += netconf.h 296 - header-y += netdevice.h 297 - header-y += net_dropmon.h 298 - header-y += netfilter_arp.h 299 - header-y += netfilter_bridge.h 300 - header-y += netfilter_decnet.h 301 - header-y += netfilter.h 302 - header-y += netfilter_ipv4.h 303 - header-y += netfilter_ipv6.h 304 - header-y += net.h 305 - header-y += netlink_diag.h 306 - header-y += netlink.h 307 - header-y += netrom.h 308 - header-y += net_namespace.h 309 - header-y += net_tstamp.h 310 - header-y += nfc.h 311 - header-y += psample.h 312 - header-y += nfs2.h 313 - header-y += nfs3.h 314 - header-y += nfs4.h 315 - header-y += nfs4_mount.h 316 - header-y += nfsacl.h 317 - header-y += nfs_fs.h 318 - header-y += nfs.h 319 - header-y += nfs_idmap.h 320 - header-y += nfs_mount.h 321 - header-y += nl80211.h 322 - header-y += n_r3964.h 323 - header-y += nubus.h 324 - header-y += nvme_ioctl.h 325 - header-y += nvram.h 326 - header-y += omap3isp.h 327 - header-y += omapfb.h 328 - header-y += oom.h 329 - header-y += openvswitch.h 330 - header-y += packet_diag.h 331 - header-y += param.h 332 - header-y += parport.h 333 - header-y += patchkey.h 334 - header-y += pci.h 335 - header-y += pci_regs.h 336 - header-y += pcitest.h 337 - header-y += perf_event.h 338 - header-y += personality.h 339 - header-y += pfkeyv2.h 340 - header-y += pg.h 341 - header-y += phantom.h 342 - header-y += phonet.h 343 - header-y += pktcdvd.h 344 - header-y += pkt_cls.h 345 - header-y += pkt_sched.h 346 - header-y += pmu.h 347 - header-y += poll.h 348 - header-y += posix_acl.h 349 - header-y += posix_acl_xattr.h 350 - header-y += posix_types.h 351 - header-y += ppdev.h 352 - header-y += ppp-comp.h 353 - header-y += ppp_defs.h 354 - header-y += ppp-ioctl.h 355 - header-y += pps.h 356 - header-y += prctl.h 357 - header-y += psci.h 358 - header-y += ptp_clock.h 359 - header-y += ptrace.h 360 - header-y += qnx4_fs.h 361 - header-y += qnxtypes.h 362 - header-y += quota.h 363 - header-y += radeonfb.h 364 - header-y += random.h 365 - header-y += raw.h 366 - header-y += rds.h 367 - header-y += reboot.h 368 - header-y += reiserfs_fs.h 369 - header-y += reiserfs_xattr.h 370 - header-y += resource.h 371 - header-y += rfkill.h 372 - header-y += rio_cm_cdev.h 373 - header-y += rio_mport_cdev.h 374 - header-y += romfs_fs.h 375 - header-y += rose.h 376 - header-y += route.h 377 - header-y += rtc.h 378 - header-y += rtnetlink.h 379 - header-y += scc.h 380 - header-y += sched.h 381 - header-y += scif_ioctl.h 382 - header-y += screen_info.h 383 - header-y += sctp.h 384 - header-y += sdla.h 385 - header-y += seccomp.h 386 - header-y += securebits.h 387 - header-y += seg6_genl.h 388 - header-y += seg6.h 389 - header-y += seg6_hmac.h 390 - header-y += seg6_iptunnel.h 391 - header-y += selinux_netlink.h 392 - header-y += sem.h 393 - header-y += serial_core.h 394 - header-y += serial.h 395 - header-y += serial_reg.h 396 - header-y += serio.h 397 - header-y += shm.h 398 - header-y += signalfd.h 399 - header-y += signal.h 400 - header-y += smiapp.h 401 - header-y += snmp.h 402 - header-y += sock_diag.h 403 - header-y += socket.h 404 - header-y += sockios.h 405 - header-y += sonet.h 406 - header-y += sonypi.h 407 - header-y += soundcard.h 408 - header-y += sound.h 409 - header-y += stat.h 410 - header-y += stddef.h 411 - header-y += string.h 412 - header-y += suspend_ioctls.h 413 - header-y += swab.h 414 - header-y += synclink.h 415 - header-y += sync_file.h 416 - header-y += sysctl.h 417 - header-y += sysinfo.h 418 - header-y += target_core_user.h 419 - header-y += taskstats.h 420 - header-y += tcp.h 421 - header-y += tcp_metrics.h 422 - header-y += telephony.h 423 - header-y += termios.h 424 - header-y += thermal.h 425 - header-y += time.h 426 - header-y += timerfd.h 427 - header-y += times.h 428 - header-y += timex.h 429 - header-y += tiocl.h 430 - header-y += tipc_config.h 431 - header-y += tipc_netlink.h 432 - header-y += tipc.h 433 - header-y += toshiba.h 434 - header-y += tty_flags.h 435 - header-y += tty.h 436 - header-y += types.h 437 - header-y += udf_fs_i.h 438 - header-y += udp.h 439 - header-y += uhid.h 440 - header-y += uinput.h 441 - header-y += uio.h 442 - header-y += uleds.h 443 - header-y += ultrasound.h 444 - header-y += un.h 445 - header-y += unistd.h 446 - header-y += unix_diag.h 447 - header-y += usbdevice_fs.h 448 - header-y += usbip.h 449 - header-y += userio.h 450 - header-y += utime.h 451 - header-y += utsname.h 452 - header-y += uuid.h 453 - header-y += uvcvideo.h 454 - header-y += v4l2-common.h 455 - header-y += v4l2-controls.h 456 - header-y += v4l2-dv-timings.h 457 - header-y += v4l2-mediabus.h 458 - header-y += v4l2-subdev.h 459 - header-y += veth.h 460 - header-y += vfio.h 461 - header-y += vhost.h 462 - header-y += videodev2.h 463 - header-y += virtio_9p.h 464 - header-y += virtio_balloon.h 465 - header-y += virtio_blk.h 466 - header-y += virtio_config.h 467 - header-y += virtio_console.h 468 - header-y += virtio_gpu.h 469 - header-y += virtio_ids.h 470 - header-y += virtio_input.h 471 - header-y += virtio_mmio.h 472 - header-y += virtio_net.h 473 - header-y += virtio_pci.h 474 - header-y += virtio_ring.h 475 - header-y += virtio_rng.h 476 - header-y += virtio_scsi.h 477 - header-y += virtio_types.h 478 - header-y += virtio_vsock.h 479 - header-y += virtio_crypto.h 480 - header-y += vm_sockets.h 481 - header-y += vsockmon.h 482 - header-y += vt.h 483 - header-y += vtpm_proxy.h 484 - header-y += wait.h 485 - header-y += wanrouter.h 486 - header-y += watchdog.h 487 - header-y += wimax.h 488 - header-y += wireless.h 489 - header-y += x25.h 490 - header-y += xattr.h 491 - header-y += xfrm.h 492 - header-y += xilinx-v4l2-controls.h 493 - header-y += zorro.h 494 - header-y += zorro_ids.h 495 - header-y += userfaultfd.h
-2
include/uapi/linux/android/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += binder.h
+1 -1
include/uapi/linux/bcache.h
··· 5 5 * Bcache on disk data structures 6 6 */ 7 7 8 - #include <asm/types.h> 8 + #include <linux/types.h> 9 9 10 10 #define BITMASK(name, type, field, offset, size) \ 11 11 static inline __u64 name(const type *k) \
+3
include/uapi/linux/btrfs_tree.h
··· 1 1 #ifndef _BTRFS_CTREE_H_ 2 2 #define _BTRFS_CTREE_H_ 3 3 4 + #include <linux/btrfs.h> 5 + #include <linux/types.h> 6 + 4 7 /* 5 8 * This header contains the structure definitions and constants used 6 9 * by file system objects that can be retrieved using
-3
include/uapi/linux/byteorder/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += big_endian.h 3 - header-y += little_endian.h
-3
include/uapi/linux/caif/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += caif_socket.h 3 - header-y += if_caif.h
-6
include/uapi/linux/can/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += bcm.h 3 - header-y += error.h 4 - header-y += gw.h 5 - header-y += netlink.h 6 - header-y += raw.h
+2
include/uapi/linux/cryptouser.h
··· 18 18 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 19 19 */ 20 20 21 + #include <linux/types.h> 22 + 21 23 /* Netlink configuration messages. */ 22 24 enum { 23 25 CRYPTO_MSG_BASE = 0x10,
-9
include/uapi/linux/dvb/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += audio.h 3 - header-y += ca.h 4 - header-y += dmx.h 5 - header-y += frontend.h 6 - header-y += net.h 7 - header-y += osd.h 8 - header-y += version.h 9 - header-y += video.h
-2
include/uapi/linux/hdlc/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ioctl.h
-2
include/uapi/linux/hsi/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += hsi_char.h cs-protocol.h
-3
include/uapi/linux/iio/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += events.h 3 - header-y += types.h
-2
include/uapi/linux/isdn/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += capicmd.h
-2
include/uapi/linux/mmc/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ioctl.h
-89
include/uapi/linux/netfilter/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ipset/ 3 - header-y += nf_conntrack_common.h 4 - header-y += nf_conntrack_ftp.h 5 - header-y += nf_conntrack_sctp.h 6 - header-y += nf_conntrack_tcp.h 7 - header-y += nf_conntrack_tuple_common.h 8 - header-y += nf_log.h 9 - header-y += nf_tables.h 10 - header-y += nf_tables_compat.h 11 - header-y += nf_nat.h 12 - header-y += nfnetlink.h 13 - header-y += nfnetlink_acct.h 14 - header-y += nfnetlink_compat.h 15 - header-y += nfnetlink_conntrack.h 16 - header-y += nfnetlink_cthelper.h 17 - header-y += nfnetlink_cttimeout.h 18 - header-y += nfnetlink_log.h 19 - header-y += nfnetlink_queue.h 20 - header-y += x_tables.h 21 - header-y += xt_AUDIT.h 22 - header-y += xt_CHECKSUM.h 23 - header-y += xt_CLASSIFY.h 24 - header-y += xt_CONNMARK.h 25 - header-y += xt_CONNSECMARK.h 26 - header-y += xt_CT.h 27 - header-y += xt_DSCP.h 28 - header-y += xt_HMARK.h 29 - header-y += xt_IDLETIMER.h 30 - header-y += xt_LED.h 31 - header-y += xt_LOG.h 32 - header-y += xt_MARK.h 33 - header-y += xt_NFLOG.h 34 - header-y += xt_NFQUEUE.h 35 - header-y += xt_RATEEST.h 36 - header-y += xt_SECMARK.h 37 - header-y += xt_SYNPROXY.h 38 - header-y += xt_TCPMSS.h 39 - header-y += xt_TCPOPTSTRIP.h 40 - header-y += xt_TEE.h 41 - header-y += xt_TPROXY.h 42 - header-y += xt_addrtype.h 43 - header-y += xt_bpf.h 44 - header-y += xt_cgroup.h 45 - header-y += xt_cluster.h 46 - header-y += xt_comment.h 47 - header-y += xt_connbytes.h 48 - header-y += xt_connlabel.h 49 - header-y += xt_connlimit.h 50 - header-y += xt_connmark.h 51 - header-y += xt_conntrack.h 52 - header-y += xt_cpu.h 53 - header-y += xt_dccp.h 54 - header-y += xt_devgroup.h 55 - header-y += xt_dscp.h 56 - header-y += xt_ecn.h 57 - header-y += xt_esp.h 58 - header-y += xt_hashlimit.h 59 - header-y += xt_helper.h 60 - header-y += xt_ipcomp.h 61 - header-y += xt_iprange.h 62 - header-y += xt_ipvs.h 63 - header-y += xt_l2tp.h 64 - header-y += xt_length.h 65 - header-y += xt_limit.h 66 - header-y += xt_mac.h 67 - header-y += xt_mark.h 68 - header-y += xt_multiport.h 69 - header-y += xt_nfacct.h 70 - header-y += xt_osf.h 71 - header-y += xt_owner.h 72 - header-y += xt_physdev.h 73 - header-y += xt_pkttype.h 74 - header-y += xt_policy.h 75 - header-y += xt_quota.h 76 - header-y += xt_rateest.h 77 - header-y += xt_realm.h 78 - header-y += xt_recent.h 79 - header-y += xt_rpfilter.h 80 - header-y += xt_sctp.h 81 - header-y += xt_set.h 82 - header-y += xt_socket.h 83 - header-y += xt_state.h 84 - header-y += xt_statistic.h 85 - header-y += xt_string.h 86 - header-y += xt_tcpmss.h 87 - header-y += xt_tcpudp.h 88 - header-y += xt_time.h 89 - header-y += xt_u32.h
-5
include/uapi/linux/netfilter/ipset/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ip_set.h 3 - header-y += ip_set_bitmap.h 4 - header-y += ip_set_hash.h 5 - header-y += ip_set_list.h
-3
include/uapi/linux/netfilter_arp/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += arp_tables.h 3 - header-y += arpt_mangle.h
-18
include/uapi/linux/netfilter_bridge/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ebt_802_3.h 3 - header-y += ebt_among.h 4 - header-y += ebt_arp.h 5 - header-y += ebt_arpreply.h 6 - header-y += ebt_ip.h 7 - header-y += ebt_ip6.h 8 - header-y += ebt_limit.h 9 - header-y += ebt_log.h 10 - header-y += ebt_mark_m.h 11 - header-y += ebt_mark_t.h 12 - header-y += ebt_nat.h 13 - header-y += ebt_nflog.h 14 - header-y += ebt_pkttype.h 15 - header-y += ebt_redirect.h 16 - header-y += ebt_stp.h 17 - header-y += ebt_vlan.h 18 - header-y += ebtables.h
-10
include/uapi/linux/netfilter_ipv4/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ip_tables.h 3 - header-y += ipt_CLUSTERIP.h 4 - header-y += ipt_ECN.h 5 - header-y += ipt_LOG.h 6 - header-y += ipt_REJECT.h 7 - header-y += ipt_TTL.h 8 - header-y += ipt_ah.h 9 - header-y += ipt_ecn.h 10 - header-y += ipt_ttl.h
-13
include/uapi/linux/netfilter_ipv6/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ip6_tables.h 3 - header-y += ip6t_HL.h 4 - header-y += ip6t_LOG.h 5 - header-y += ip6t_NPT.h 6 - header-y += ip6t_REJECT.h 7 - header-y += ip6t_ah.h 8 - header-y += ip6t_frag.h 9 - header-y += ip6t_hl.h 10 - header-y += ip6t_ipv6header.h 11 - header-y += ip6t_mh.h 12 - header-y += ip6t_opts.h 13 - header-y += ip6t_rt.h
-6
include/uapi/linux/nfsd/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += cld.h 3 - header-y += debug.h 4 - header-y += export.h 5 - header-y += nfsfh.h 6 - header-y += stats.h
+2
include/uapi/linux/pr.h
··· 1 1 #ifndef _UAPI_PR_H 2 2 #define _UAPI_PR_H 3 3 4 + #include <linux/types.h> 5 + 4 6 enum pr_type { 5 7 PR_WRITE_EXCLUSIVE = 1, 6 8 PR_EXCLUSIVE_ACCESS = 2,
+1
include/uapi/linux/qrtr.h
··· 2 2 #define _LINUX_QRTR_H 3 3 4 4 #include <linux/socket.h> 5 + #include <linux/types.h> 5 6 6 7 struct sockaddr_qrtr { 7 8 __kernel_sa_family_t sq_family;
-3
include/uapi/linux/raid/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += md_p.h 3 - header-y += md_u.h
+1 -1
include/uapi/linux/smc_diag.h
··· 3 3 4 4 #include <linux/types.h> 5 5 #include <linux/inet_diag.h> 6 - #include <rdma/ib_verbs.h> 6 + #include <rdma/ib_user_verbs.h> 7 7 8 8 /* Request structure */ 9 9 struct smc_diag_req {
-2
include/uapi/linux/spi/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += spidev.h
-2
include/uapi/linux/sunrpc/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += debug.h
-16
include/uapi/linux/tc_act/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += tc_csum.h 3 - header-y += tc_defact.h 4 - header-y += tc_gact.h 5 - header-y += tc_ipt.h 6 - header-y += tc_mirred.h 7 - header-y += tc_sample.h 8 - header-y += tc_nat.h 9 - header-y += tc_pedit.h 10 - header-y += tc_skbedit.h 11 - header-y += tc_vlan.h 12 - header-y += tc_bpf.h 13 - header-y += tc_connmark.h 14 - header-y += tc_ife.h 15 - header-y += tc_tunnel_key.h 16 - header-y += tc_skbmod.h
-5
include/uapi/linux/tc_ematch/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += tc_em_cmp.h 3 - header-y += tc_em_meta.h 4 - header-y += tc_em_nbyte.h 5 - header-y += tc_em_text.h
-12
include/uapi/linux/usb/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += audio.h 3 - header-y += cdc.h 4 - header-y += cdc-wdm.h 5 - header-y += ch11.h 6 - header-y += ch9.h 7 - header-y += functionfs.h 8 - header-y += g_printer.h 9 - header-y += gadgetfs.h 10 - header-y += midi.h 11 - header-y += tmc.h 12 - header-y += video.h
-2
include/uapi/linux/wimax/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += i2400m.h
-2
include/uapi/misc/Kbuild
··· 1 - # misc Header export list 2 - header-y += cxl.h
-6
include/uapi/mtd/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += inftl-user.h 3 - header-y += mtd-abi.h 4 - header-y += mtd-user.h 5 - header-y += nftl-user.h 6 - header-y += ubi-user.h
-20
include/uapi/rdma/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += ib_user_cm.h 3 - header-y += rdma_user_ioctl.h 4 - header-y += ib_user_mad.h 5 - header-y += ib_user_sa.h 6 - header-y += ib_user_verbs.h 7 - header-y += rdma_netlink.h 8 - header-y += rdma_user_cm.h 9 - header-y += hfi/ 10 - header-y += rdma_user_rxe.h 11 - header-y += cxgb3-abi.h 12 - header-y += cxgb4-abi.h 13 - header-y += mlx4-abi.h 14 - header-y += mlx5-abi.h 15 - header-y += mthca-abi.h 16 - header-y += nes-abi.h 17 - header-y += ocrdma-abi.h 18 - header-y += hns-abi.h 19 - header-y += vmw_pvrdma-abi.h 20 - header-y += qedr-abi.h
+2
include/uapi/rdma/bnxt_re-abi.h
··· 39 39 #ifndef __BNXT_RE_UVERBS_ABI_H__ 40 40 #define __BNXT_RE_UVERBS_ABI_H__ 41 41 42 + #include <linux/types.h> 43 + 42 44 #define BNXT_RE_ABI_VERSION 1 43 45 44 46 struct bnxt_re_uctx_resp {
-3
include/uapi/rdma/hfi/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += hfi1_user.h 3 - header-y += hfi1_ioctl.h
+2
include/uapi/rdma/ib_user_verbs.h
··· 1135 1135 __u32 ind_tbl_handle; 1136 1136 }; 1137 1137 1138 + #define IB_DEVICE_NAME_MAX 64 1139 + 1138 1140 #endif /* IB_USER_VERBS_H */
-6
include/uapi/scsi/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += fc/ 3 - header-y += scsi_bsg_fc.h 4 - header-y += scsi_netlink.h 5 - header-y += scsi_netlink_fc.h 6 - header-y += cxlflash_ioctl.h
-5
include/uapi/scsi/fc/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += fc_els.h 3 - header-y += fc_fs.h 4 - header-y += fc_gs.h 5 - header-y += fc_ns.h
-16
include/uapi/sound/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += asequencer.h 3 - header-y += asoc.h 4 - header-y += asound.h 5 - header-y += asound_fm.h 6 - header-y += compress_offload.h 7 - header-y += compress_params.h 8 - header-y += emu10k1.h 9 - header-y += firewire.h 10 - header-y += hdsp.h 11 - header-y += hdspm.h 12 - header-y += sb16_csp.h 13 - header-y += sfnt_info.h 14 - header-y += tlv.h 15 - header-y += usb_stream.h 16 - header-y += snd_sst_tokens.h
-4
include/uapi/video/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += edid.h 3 - header-y += sisfb.h 4 - header-y += uvesafb.h
-5
include/uapi/xen/Kbuild
··· 1 - # UAPI Header export list 2 - header-y += evtchn.h 3 - header-y += gntalloc.h 4 - header-y += gntdev.h 5 - header-y += privcmd.h
include/video/Kbuild
+30 -38
scripts/Makefile.headersinst
··· 1 1 # ========================================================================== 2 2 # Installing headers 3 3 # 4 - # header-y - list files to be installed. They are preprocessed 5 - # to remove __KERNEL__ section of the file 6 - # genhdr-y - Same as header-y but in a generated/ directory 4 + # All headers under include/uapi, include/generated/uapi, 5 + # arch/<arch>/include/uapi and arch/<arch>/include/generated/uapi are 6 + # exported. 7 + # They are preprocessed to remove __KERNEL__ section of the file. 7 8 # 8 9 # ========================================================================== 9 10 10 11 # generated header directory 11 12 gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) 12 13 14 + # Kbuild file is optional 13 15 kbuild-file := $(srctree)/$(obj)/Kbuild 14 - include $(kbuild-file) 16 + -include $(kbuild-file) 15 17 16 18 # called may set destination dir (when installing to asm/) 17 - _dst := $(if $(destination-y),$(destination-y),$(if $(dst),$(dst),$(obj))) 19 + _dst := $(if $(dst),$(dst),$(obj)) 18 20 19 21 old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild 20 22 ifneq ($(wildcard $(old-kbuild-file)),) ··· 27 25 28 26 installdir := $(INSTALL_HDR_PATH)/$(subst uapi/,,$(_dst)) 29 27 30 - header-y := $(sort $(header-y)) 31 - subdirs := $(patsubst %/,%,$(filter %/, $(header-y))) 32 - header-y := $(filter-out %/, $(header-y)) 28 + srcdir := $(srctree)/$(obj) 29 + gendir := $(objtree)/$(gen) 30 + subdirs := $(patsubst $(srcdir)/%/.,%,$(wildcard $(srcdir)/*/.)) 31 + header-files := $(notdir $(wildcard $(srcdir)/*.h)) 32 + header-files += $(notdir $(wildcard $(srcdir)/*.agh)) 33 + header-files := $(filter-out $(no-export-headers), $(header-files)) 34 + genhdr-files := $(notdir $(wildcard $(gendir)/*.h)) 35 + genhdr-files := $(filter-out $(header-files), $(genhdr-files)) 33 36 34 37 # files used to track state of install/check 35 38 install-file := $(installdir)/.install ··· 42 35 43 36 # generic-y list all files an architecture uses from asm-generic 44 37 # Use this to build a list of headers which require a wrapper 45 - wrapper-files := $(filter $(header-y), $(generic-y)) 46 - 47 - srcdir := $(srctree)/$(obj) 48 - gendir := $(objtree)/$(gen) 49 - 50 - oldsrcdir := $(srctree)/$(subst /uapi,,$(obj)) 38 + generic-files := $(notdir $(wildcard $(srctree)/include/uapi/asm-generic/*.h)) 39 + wrapper-files := $(filter $(generic-files), $(generic-y)) 40 + wrapper-files := $(filter-out $(header-files), $(wrapper-files)) 51 41 52 42 # all headers files for this dir 53 - header-y := $(filter-out $(generic-y), $(header-y)) 54 - all-files := $(header-y) $(genhdr-y) $(wrapper-files) 43 + all-files := $(header-files) $(genhdr-files) $(wrapper-files) 55 44 output-files := $(addprefix $(installdir)/, $(all-files)) 56 45 57 - input-files1 := $(foreach hdr, $(header-y), \ 58 - $(if $(wildcard $(srcdir)/$(hdr)), \ 59 - $(wildcard $(srcdir)/$(hdr))) \ 60 - ) 61 - input-files1-name := $(notdir $(input-files1)) 62 - input-files2 := $(foreach hdr, $(header-y), \ 63 - $(if $(wildcard $(srcdir)/$(hdr)),, \ 64 - $(if $(wildcard $(oldsrcdir)/$(hdr)), \ 65 - $(wildcard $(oldsrcdir)/$(hdr)), \ 66 - $(error Missing UAPI file $(srcdir)/$(hdr))) \ 67 - )) 68 - input-files2-name := $(notdir $(input-files2)) 69 - input-files3 := $(foreach hdr, $(genhdr-y), \ 70 - $(if $(wildcard $(gendir)/$(hdr)), \ 71 - $(wildcard $(gendir)/$(hdr)), \ 72 - $(error Missing generated UAPI file $(gendir)/$(hdr)) \ 73 - )) 74 - input-files3-name := $(notdir $(input-files3)) 46 + ifneq ($(mandatory-y),) 47 + missing := $(filter-out $(all-files),$(mandatory-y)) 48 + ifneq ($(missing),) 49 + $(error Some mandatory headers ($(missing)) are missing in $(obj)) 50 + endif 51 + endif 75 52 76 53 # Work out what needs to be removed 77 54 oldheaders := $(patsubst $(installdir)/%,%,$(wildcard $(installdir)/*.h)) ··· 69 78 quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ 70 79 file$(if $(word 2, $(all-files)),s)) 71 80 cmd_install = \ 72 - $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(input-files1-name); \ 73 - $(CONFIG_SHELL) $< $(installdir) $(oldsrcdir) $(input-files2-name); \ 74 - $(CONFIG_SHELL) $< $(installdir) $(gendir) $(input-files3-name); \ 81 + $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(header-files); \ 82 + $(CONFIG_SHELL) $< $(installdir) $(gendir) $(genhdr-files); \ 75 83 for F in $(wrapper-files); do \ 76 84 echo "\#include <asm-generic/$$F>" > $(installdir)/$$F; \ 77 85 done; \ ··· 96 106 @: 97 107 98 108 targets += $(install-file) 99 - $(install-file): scripts/headers_install.sh $(input-files1) $(input-files2) $(input-files3) FORCE 109 + $(install-file): scripts/headers_install.sh \ 110 + $(addprefix $(srcdir)/,$(header-files)) \ 111 + $(addprefix $(gendir)/,$(genhdr-files)) FORCE 100 112 $(if $(unwanted),$(call cmd,remove),) 101 113 $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@))) 102 114 $(call if_changed,install)