/linux/scripts/ |
H A D | Makefile.headersinst | 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)) 45 all-headers := $(src-headers) $(gen-headers) 49 old-headers := $(if $(old-subdirs),$(shell find $(old-subdirs) -name '*.h')) [all …]
|
H A D | headerdep.pl | 31 my @headers = grep { strip($_) } @ARGV; 33 parse_all(@headers); 38 detect_cycles(@headers);
|
H A D | Makefile.asm-headers | 51 old-headers := $(wildcard $(obj)/*.h) 52 unwanted := $(filter-out $(generic-y) $(generated-y) $(syscall-y),$(old-headers)) 94 ifeq ($(old-headers),)
|
/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/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/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/drivers/scsi/aacraid/ |
H A D | comminit.c | 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 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() 398 aac_queue_init(dev, &comm->queue[HostNormCmdQueue], headers, HOST_NORM_CMD_ENTRIES); in aac_comm_init() 400 headers += 2; in aac_comm_init() 404 aac_queue_init(dev, &comm->queue[HostHighCmdQueue], headers, HOST_HIGH_CMD_ENTRIES); in aac_comm_init() [all …]
|
/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/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() { 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/drivers/pci/controller/ |
H A D | pcie-altera.c | 115 void (*tlp_write_pkt)(struct altera_pcie *pcie, u32 *headers, 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() 371 s10_tlp_write_tx(pcie, headers[2], 0); in s10_tlp_write_packet() [all …]
|
/linux/arch/arm64/kernel/ |
H A D | machine_kexec_file.c | 109 void *headers; in load_other_segments() local 112 ret = prepare_elf_headers(&headers, &headers_sz); in load_other_segments() 118 kbuf.buffer = headers; in load_other_segments() 128 vfree(headers); in load_other_segments() 131 image->elf_headers = headers; in load_other_segments()
|
/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
|
/linux/tools/include/nolibc/ |
H A D | Makefile | 74 all: headers 93 headers: target 106 headers_standalone: headers 107 $(Q)$(MAKE) -C $(srctree) 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/Documentation/userspace-api/ |
H A D | ELF.rst | 20 interpreter. Other PT_INTERP headers are ignored (since Linux 2.4.11). 26 (since Linux 2.6.6). Other PT_GNU_STACK headers are ignored. 33 program header of an executable is used. Other PT_GNU_PROPERTY headers
|
/linux/scripts/package/debian/ |
H A D | rules | 30 binary-targets := $(addprefix binary-, image image-dbg headers libc-dev) 36 headers-package = $(filter linux-headers-%, $(all-packages)) 80 $(Q)$(MAKE) $(make-opts) $(if $(filter um,$(ARCH)),,headers) all
|
/linux/drivers/usb/gadget/function/ |
H A D | f_uac2.c | 791 struct usb_descriptor_header **headers, in setup_headers() argument 829 headers[i++] = USBDHDR(&iad_desc); in setup_headers() 830 headers[i++] = USBDHDR(&std_ac_if_desc); in setup_headers() 831 headers[i++] = USBDHDR(&ac_hdr_desc); in setup_headers() 833 headers[i++] = USBDHDR(&in_clk_src_desc); in setup_headers() 835 headers[i++] = USBDHDR(&out_clk_src_desc); in setup_headers() 836 headers[i++] = USBDHDR(&usb_out_it_desc); in setup_headers() 839 headers[i++] = USBDHDR(out_feature_unit_desc); in setup_headers() 843 headers[i++] = USBDHDR(&io_in_it_desc); in setup_headers() 846 headers[i++] = USBDHDR(in_feature_unit_desc); in setup_headers() [all …]
|
/linux/drivers/platform/x86/intel/pmc/ |
H A D | ssram_telemetry.c | 34 struct intel_vsec_header *headers[2] = {}; in pmc_ssram_telemetry_add_pmt() local 57 headers[0] = &header; in pmc_ssram_telemetry_add_pmt() 59 info.headers = headers; in pmc_ssram_telemetry_add_pmt()
|
/linux/drivers/scsi/isci/ |
H A D | unsolicited_frame_control.c | 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() 115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
|
/linux/net/dsa/ |
H A D | Kconfig | 38 tristate "Tag driver for Broadcom switches using in-frame headers" 45 tristate "Tag driver for BCM63xx legacy switches using in-frame headers" 55 tristate "Tag driver for BCM53xx legacy switches using in-frame headers" 65 tristate "Tag driver for Broadcom switches using prepended headers" 88 tristate "Tag driver for Marvell switches using DSA headers" 92 Marvell switches which use DSA headers. 95 tristate "Tag driver for Marvell switches using EtherType DSA headers" 99 Marvell switches which use EtherType DSA headers.
|
/linux/arch/riscv/kernel/ |
H A D | machine_kexec_file.c | 274 void *headers; in load_extra_segments() local 276 ret = prepare_elf_headers(&headers, &headers_sz); in load_extra_segments() 282 kbuf.buffer = headers; in load_extra_segments() 291 vfree(headers); in load_extra_segments() 294 image->elf_headers = headers; in load_extra_segments()
|
/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 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
|