/linux/scripts/ |
H A D | Makefile.headersinst | 3 # Installing headers 5 # All headers under include/uapi, include/generated/uapi, 29 src-headers := $(if $(src-subdirs), $(shell cd $(src) && find $(src-subdirs) -name '*.h')) 30 src-headers := $(filter-out $(no-export-headers), $(src-headers)) 31 gen-headers := $(if $(gen-subdirs), $(shell cd $(gen) && find $(gen-subdirs) -name '*.h')) 32 gen-headers := $(filter-out $(no-export-headers), $(gen-headers)) 36 duplicated := $(filter $(gen-headers), $(src-headers)) 39 gen-headers := $(filter-out $(duplicated), $(gen-headers)) 43 src-headers := $(addprefix $(dst)/, $(src-headers)) 44 gen-headers := $(addprefix $(dst)/, $(gen-headers)) [all …]
|
H A D | check-uapi.sh | 17 The script will not check UAPI headers for architectures other than the one 27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers 149 # Print all installed headers, filtering out ones that can't be compiled 153 # Add to the list of incompatible headers 157 # Start with the usr/include/Makefile to get a list of the headers 202 # Install headers for both git refs 208 printf "Installing user-facing UAPI headers from %s... " "${ref:-dirty tree}" 244 …printf "Checking changes to UAPI headers between %s and %s...\n" "$past_ref" "${base_ref:-dirty tr… 245 # Loop over all UAPI headers that were installed by $past_ref (if they only exist on $base_ref, 283 …eprintf "error - %d/%d UAPI headers compatible with %s appear _not_ to be backwards compatible\n" \ [all …]
|
/linux/Documentation/dev-tools/ |
H A D | checkuapi.rst | 27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers 76 Installing user-facing UAPI headers from dirty tree... OK 77 Installing user-facing UAPI headers from HEAD... OK 78 Checking changes to UAPI headers between HEAD and dirty tree... 79 All 912 UAPI headers compatible with x86 appear to be backwards compatible 100 Installing user-facing UAPI headers from dirty tree... OK 101 Installing user-facing UAPI headers from HEAD... OK 102 Checking changes to UAPI headers between HEAD and dirty tree... 114 error - 1/912 UAPI headers compatible with x86 appear _not_ to be backwards compatible 124 Installing user-facing UAPI headers from dirty tree... OK [all …]
|
/linux/Documentation/kbuild/ |
H A D | headers_install.rst | 2 Exporting kernel headers for use by userspace 13 from the "linux" subdirectory. The system's libc headers are usually 14 installed at the default location /usr/include and the kernel headers in 18 Kernel headers are backwards compatible, but not forwards compatible. This 19 means that a program built against a C library using older kernel headers 21 features), but a program built against newer kernel headers may not work on an 30 ARCH indicates which architecture to produce headers for, and defaults to the 31 current architecture. The linux/asm directory of the exported kernel headers 37 INSTALL_HDR_PATH indicates where to install the headers. It defaults to 41 headers are installed in 'INSTALL_HDR_PATH/include'.
|
/linux/tools/include/uapi/ |
H A D | README | 1 Why we want a copy of kernel headers in tools? 4 There used to be no copies, with tools/ code using kernel headers 9 The way these headers are used in perf are not restricted to just 36 The tools/perf/check-headers.sh script, part of the tools/ build 40 the original kernel headers, that will be done later, when 41 check-headers.sh inform about the change to the perf tools hackers. 48 headers and broke them accidentally for kernel builds. 50 - Duplicate self-defined ABI headers like glibc: double the maintenance 56 - A software-enforced copy-on-write mechanism of kernel headers to 58 kernel headers get modified: [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_assign_reuse.c | 22 } headers; variable 39 if (ctx->data + sizeof(headers.tcp) > ctx->data_end) in reuse_accept() 42 if (__builtin_memcmp(&headers.tcp, ctx->data, sizeof(headers.tcp)) != 0) in reuse_accept() 45 if (ctx->data + sizeof(headers.udp) > ctx->data_end) in reuse_accept() 48 if (__builtin_memcmp(&headers.udp, ctx->data, sizeof(headers.udp)) != 0) in reuse_accept() 89 __builtin_memcpy(&headers.tcp, th, sizeof(headers.tcp)); in maybe_assign_tcp() 102 __builtin_memcpy(&headers.udp, uh, sizeof(headers.udp)); in maybe_assign_udp()
|
/linux/tools/perf/scripts/python/ |
H A D | sched-migration.py | 333 def sched_switch(self, headers, prev_comm, prev_pid, prev_prio, prev_state, argument 338 on_cpu_task = self.current_tsk[headers.cpu] 342 headers.ts_format(), headers.cpu, prev_comm, prev_pid, next_comm, next_pid) 346 self.current_tsk[headers.cpu] = next_pid 348 ts = self.timeslices.get_time_slice(headers.ts()) 349 ts.sched_switch(self.timeslices, prev_pid, prev_state, next_pid, headers.cpu) 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 352 ts = self.timeslices.get_time_slice(headers.ts()) 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 358 ts = self.timeslices.get_time_slice(headers.ts()) [all …]
|
/linux/scripts/package/ |
H A D | PKGBUILD | 8 _extrapackages=${PACMAN_EXTRAPACKAGES-headers api-headers debug} 77 # remove build link, will be part of -headers package 81 _package-headers() { 82 pkgdesc="Headers and scripts for building modules for the ${pkgdesc} kernel" 103 _package-api-headers() { 104 pkgdesc="Kernel headers sanitized for use in userspace" 105 provides=(linux-api-headers="${pkgver}") 106 conflicts=(linux-api-headers)
|
H A D | mkdebian | 230 Provides: linux-kernel-headers 232 Description: Linux support headers for userspace development 233 This package provides userspaces headers from the Linux kernel. These headers 234 are used by the installed headers for GNU glibc and other system libraries. 241 Package: linux-headers-${KERNELRELEASE} 244 Description: Linux kernel headers for ${KERNELRELEASE} on $debarch
|
H A D | kernel.spec | 26 %package headers 29 Obsoletes: kernel-headers < %{version} 30 Provides: kernel-headers = %{version} 31 %description headers 32 Kernel-headers includes the C header files that specify the interface 44 This package provides kernel headers and makefiles sufficient to build modules 165 %files headers
|
/linux/tools/include/nolibc/ |
H A D | Makefile | 74 # install all headers needed to support a bare-metal compiler 75 all: headers 81 @echo " all call \"headers\"" 83 @echo " headers prepare a sysroot in tools/include/nolibc/sysroot" 84 @echo " headers_standalone like \"headers\", and also install kernel headers" 95 headers: target 113 headers_standalone: headers 114 $(Q)$(MAKE) -C $(srctree) headers
|
/linux/drivers/scsi/aacraid/ |
H A D | comminit.c | 231 * Align the beginning of Headers to commalign in aac_alloc_comm() 237 * Fill in addresses of the Comm Area Headers and Queues in aac_alloc_comm() 268 q->headers.producer = (__le32 *)mem; in aac_queue_init() 269 q->headers.consumer = (__le32 *)(mem+1); in aac_queue_init() 270 *(q->headers.producer) = cpu_to_le32(qsize); in aac_queue_init() 271 *(q->headers.consumer) = cpu_to_le32(qsize); in aac_queue_init() 372 u32 *headers; in aac_comm_init() local 386 * queue headers. in aac_comm_init() 391 if (!aac_alloc_comm(dev, (void * *)&headers, size, QUEUE_ALIGNMENT)) in aac_comm_init() 394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-uvc.rst | 15 This format describes standard UVC metadata, extracted from UVC packet headers 19 in those headers. See section "2.4.3.3 Video and Still Image Payload Headers" of 23 contain multiple headers, if multiple such headers have been transmitted by the 24 camera for the respective frame. However, the driver may drop headers when the 27 perform rate limiting when the device sends a large number of headers.
|
/linux/Documentation/networking/ |
H A D | segmentation-offloads.rst | 69 contain additional headers such as an outer tunnel. In order to account 73 cases where there are more than just 1 set of headers. For example in the 74 case of IPIP and SIT we should have the network and transport headers moved 75 from the standard list of headers to "inner" header offsets. 77 Currently only two levels of headers are supported. The convention is to 78 refer to the tunnel headers as the outer headers, while the encapsulated 79 data is normally referred to as the inner headers. Below is the list of 80 calls to access the given headers: 103 headers will be left with a partial checksum and only the outer header 138 so that instead of having to rewrite the packet headers for each segment [all …]
|
/linux/include/uapi/linux/ |
H A D | libc-compat.h | 13 * * Synchronize the UAPI header and the libc headers so either one can be 37 * This fixes the situation where the linux headers are included *after* the 38 * libc headers. To fix the problem with the inclusion in the other order the 39 * userspace libc headers must be fixed like this: 52 /* We have included glibc headers... */ 58 /* GLIBC headers included first so don't define anything 74 /* Linux headers included first, and we must define everything 92 /* GLIBC headers included first so don't define anything 120 /* Linux headers included first, and we must define everything 150 /* If we did not see any headers from any supported C libraries,
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_fwif_stream.h | 18 * * One or more headers. 19 * * The extension stream data, corresponding to the extension headers. 25 * current GPU. This stream is comprised of one or more headers, followed by data for each given 30 * continuation bit determining whether any more headers are present. The headers are then followed 34 * All parameters and headers in the main and extension streams must be naturally aligned.
|
/linux/fs/proc/ |
H A D | vmcore.c | 40 /* Stores the pointer to the buffer containing kernel elf core headers. */ 787 * headers and sum of real size of their ELF note segment headers and 791 * @nr_ptnote: buffer for the number of PT_NOTE program headers 794 * This function is used to merge multiple PT_NOTE program headers 798 * It is assumed that program headers with PT_NOTE type pointed to by 800 * and each of PT_NOTE program headers has actual ELF note segment 831 * real ELF note segment headers and data. 833 * It is assumed that program headers with PT_NOTE type pointed to by 835 * and each of PT_NOTE program headers has actual ELF note segment 860 /* Merges all the PT_NOTE headers into one. */ [all …]
|
/linux/net/dsa/ |
H A D | Kconfig | 38 tristate "Tag driver for Broadcom switches using in-frame headers" 45 tristate "Tag driver for Broadcom legacy switches using in-frame headers" 53 tristate "Tag driver for Broadcom switches using prepended headers" 76 tristate "Tag driver for Marvell switches using DSA headers" 80 Marvell switches which use DSA headers. 83 tristate "Tag driver for Marvell switches using EtherType DSA headers" 87 Marvell switches which use EtherType DSA headers.
|
/linux/drivers/pci/controller/ |
H A D | pcie-altera.c | 115 void (*tlp_write_pkt)(struct altera_pcie *pcie, u32 *headers, 262 * Minimum 2 loops to read TLP headers and 1 loop to read data in tlp_read_packet() 339 static void tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in tlp_write_packet() argument 344 tlp_rp_regdata.reg0 = headers[0]; in tlp_write_packet() 345 tlp_rp_regdata.reg1 = headers[1]; in tlp_write_packet() 350 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet() 358 tlp_rp_regdata.reg0 = headers[2]; in tlp_write_packet() 366 static void s10_tlp_write_packet(struct altera_pcie *pcie, u32 *headers, in s10_tlp_write_packet() argument 369 s10_tlp_write_tx(pcie, headers[0], RP_TX_SOP); in s10_tlp_write_packet() 370 s10_tlp_write_tx(pcie, headers[1], 0); in s10_tlp_write_packet() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.h | 130 * more protocol headers that make up a logical group of protocol headers. Each 131 * logical group of protocol headers encapsulates or is encapsulated using/by 267 /* Flow headers and fields for AVF support */ 320 ICE_RSS_OUTER_HEADERS, /* take outer headers as inputset. */ 321 ICE_RSS_INNER_HEADERS, /* take inner headers as inputset. */ 322 /* take inner headers as inputset for packet with outer ipv4. */ 324 /* take inner headers as inputset for packet with outer ipv6. */ 326 /* take outer headers first then inner headers as inputset */ 395 u32 hdrs; /* Bitmask indicating protocol headers present */
|
/linux/Documentation/arch/sh/ |
H A D | new-machine.rst | 19 in arch/sh/kernel/ directly, with board-specific headers ending up in 40 | `-- board-specific headers 42 | `-- board-specific headers 56 ... and so on. Headers for the companion chips are treated the same way as 57 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the 58 hd64461-specific headers. 80 | `-- SH-2 specific headers 82 | `-- SH-3 specific headers 84 `-- SH-4 specific headers 104 should also add a directory in include/asm-sh for headers localized to this
|
/linux/drivers/scsi/isci/ |
H A D | unsolicited_frame_control.c | 70 * memory descriptor entry. The headers and address table will be in sci_unsolicited_frame_control_construct() 81 * headers, since we program the UF address table pointers to in sci_unsolicited_frame_control_construct() 84 uf_control->headers.physical_address = dma + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct() 85 uf_control->headers.array = virt + SCI_UFI_BUF_SIZE; in sci_unsolicited_frame_control_construct() 91 * byte boundary already due to above programming headers being on a in sci_unsolicited_frame_control_construct() 92 * 64-bit boundary and headers are on a 64-bytes in size. in sci_unsolicited_frame_control_construct() 115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-dpipe.rst | 69 * headers 91 * ``headers_get``: Receive a device's supported headers. 109 In a similar way to P4 headers and fields are used to describe a table's 110 behavior. There is a slight difference between the standard protocol headers 111 and specific ASIC metadata. The protocol headers should be declared in the 115 headers it implements. The headers and fields are identified by enumeration. 136 specified in order to distinguish multiple headers of the same type in a
|
/linux/net/core/ |
H A D | gso.c | 139 * individual segments, including Layer4 headers (TCP/UDP). 141 * The MAC/L2 or network (IP, IPv6) headers are not accounted for. 174 * individual segments, including Layer3 (IP, IPv6) and L4 headers (TCP/UDP). 193 * headers (TCP/UDP). 250 * wanted MTU once split. It considers L3 headers, L4 headers, and the 266 * length once split, including L2, L3 and L4 headers and the payload.
|
/linux/include/uapi/ |
H A D | Kbuild | 3 no-export-headers += linux/a.out.h 7 no-export-headers += linux/kvm.h 12 no-export-headers += linux/kvm_para.h
|