/linux/Documentation/filesystems/xfs/ |
H A D | xfs-self-describing-metadata.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 XFS Self Describing Metadata 40 Self Describing Metadata 61 self describing metadata. 63 The first, fundamental requirement of self describing metadata is that the 70 Luckily, almost all XFS metadata has magic numbers embedded already - only the 72 magic numbers. Hence we can change the on-disk format of all these objects to 75 the metadata isn't self identifying. If it contains a new magic number, it is 76 self identifying and we can do much more expansive automated verification of the 79 As a primary concern, self describing metadata needs some form of overall [all …]
|
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 xfs-delayed-logging-design 12 xfs-maintainer-entry-profile 13 xfs-self-describing-metadata 14 xfs-online-fsck-design
|
H A D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 We begin with an overview of transactions in XFS, followed by describing how 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 165 transaction, we have to reserve enough space to record a full leaf-to-root split [all …]
|
/linux/tools/perf/Documentation/ |
H A D | jitdump-specification.txt | 5 -------------------------------------------------------- 7 -------------------------------------------------------- 9 -------------------------------------------------------- 11 -------------------------------------------------------- 17 …s the jitdump file format. The file is generated by Just-In-time compiler runtimes to save meta-da… 21 The format of the file is binary. It is self-describing in terms of endianness and is portable acro… 27 … i.e., append only mode. The file starts with a fixed size file header describing the version of t… 29 The header is followed by a series of records, each starting with a fixed size header describing th… 39 * uint32_t magic : a magic number tagging the file type. The value is 4-byte long and represent… 40 * uint32_t version : a 4-byte value representing the format version. It is currently set to 1 [all …]
|
/linux/tools/mm/ |
H A D | thpmaps | 2 # SPDX-License-Identifier: GPL-2.0-only 5 # Utility providing smaps-like output detailing transparent hugepage usage. 7 # ./thpmaps --help 34 return (v + (a - 1)) & ~(a - 1) 38 return v & (a - 1) 65 r[1:] -= d 66 r[:-1] -= d 67 return [np.repeat(arr, r).reshape(-1, 2) for arr in index] 82 def __init__(self, filename, element_size): 83 self.element_size = element_size [all …]
|
/linux/tools/memory-model/ |
H A D | README | 49 ---------------------------- 53 ------------ ---------- 54 -- 4.14 7.48 -- 55 4.15 -- 4.19 7.49 -- 56 4.20 -- 5.5 7.54 -- 57 5.6 -- 5.16 7.56 -- 58 5.17 -- 7.56.1 -- 67 explore the state space of small litmus tests. Documentation describing 69 tests is available in tools/memory-model/Documentation/litmus-tests.txt. 71 Example litmus tests may be found in the Linux-kernel source tree: [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | tpo,tpg110.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Thierry Reding <thierry.reding@gmail.com> 20 self-describing. 22 +--------+ 23 SPI -> | TPO | -> physical display 24 RGB -> | TPG110 | 25 +--------+ [all …]
|
/linux/include/linux/fsl/bestcomm/ |
H A D | bestcomm.h | 7 * ( by Andrey Volkov <avolkov@varma-el.com> ) 8 * Copyright (C) 2003-2004 MontaVista, Software, Inc. 20 * struct bcom_bd - Structure describing a generic BestComm buffer descriptor 38 * struct bcom_task - Structure describing a loaded BestComm task 40 * This structure is never built by the driver it self. It's built and 67 * bcom_enable - Enable a BestComm task 76 * bcom_disable - Disable a BestComm task 86 * bcom_get_task_irq - Returns the irq number of a BestComm task 91 return tsk->irq; in bcom_get_task_irq() 100 /** _bcom_next_index - Get next input index. [all …]
|
/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | brcm,brcmstb.txt | 2 ----------------------------------------------- 3 Boards with Broadcom Brahma15 ARM-based BCMxxxx (generally BCM7xxx variants) 7 - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb" 11 #address-cells = <2>; 12 #size-cells = <2>; 16 Further, syscon nodes that map platform-specific registers used for general 19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon" 20 - compatible: "brcm,bcm<chip_id>-cpu-biu-ctrl", 21 "brcm,brcmstb-cpu-biu-ctrl", 23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon" [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | cxl.rst | 29 +----------+ +---------+ 35 +----------+ +---------+ 37 | +------+ | PSL | 38 | | CAPP |<------>| | 39 +---+------+ PCIE +---------+ 66 - POWER8 and PSL Version 8 are compliant to the CAIA Version 1.0. 67 - POWER9 and PSL Version 9 are compliant to the CAIA Version 2.0. 105 just a per context portion. The hardware is self describing, hence 124 The WED is a 64-bit parameter passed to the AFU when a context is 158 https://github.com/ibm-capi/libcxl [all …]
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_dc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Author: Jean-Jacques Hiblot <jjhiblot@traphandler.com> 8 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 95 #define ATMEL_HLCDC_LAYER_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16)) 116 #define ATMEL_HLCDC_LAYER_DISC_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16)) 238 * @self: descriptor DMA address 244 dma_addr_t self; member 338 * struct atmel_hlcdc_dc - Atmel HLCDC Display Controller. 363 * struct atmel_lcdc_dc_ops - describes atmel_lcdc ops group 371 * @lcdc_csc_init: update the color space conversion co-efficient of [all …]
|
/linux/Documentation/process/ |
H A D | howto.rst | 6 This is the be-all, end-all document on this topic. It contains 18 ------------ 23 know to achieve this by describing the process you need to go through, 27 The kernel is written mostly in C, with some architecture-dependent 30 you plan to do low-level development for that architecture. Though they 34 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall] 35 - "Practical C Programming" by Steve Oualline [O'Reilly] 36 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall] 60 ------------ 65 described in :ref:`Documentation/process/license-rules.rst <kernel_licensing>`. [all …]
|
H A D | adding-syscalls.rst | 9 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`. 13 ------------------------ 18 kernel, there are other possibilities -- choose what fits best for your 21 - If the operations involved can be made to look like a filesystem-like 26 - If the new functionality involves operations where the kernel notifies 30 - However, operations that don't map to 31 :manpage:`read(2)`/:manpage:`write(2)`-like operations 35 - If you're just exposing runtime system information, a new node in sysfs 41 - If the operation is specific to a particular file or file descriptor, then 47 - If the operation is specific to a particular task or process, then an [all …]
|
/linux/Documentation/bpf/libbpf/ |
H A D | libbpf_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 libbpf is a C-based library containing a BPF loader that takes compiled BPF 13 The following are the high-level features supported by libbpf: 15 * Provides high-level and low-level APIs for user space programs to interact 16 with BPF programs. The low-level APIs wrap all the bpf system call 17 functionality, which is useful when users need more fine-grained control 22 * Provides BPF-side APIS, including BPF helper definitions, BPF maps support, 24 * Supports BPF CO-RE mechanism, enabling BPF developers to write portable 48 (setting BPF program types, if necessary; pre-setting initial values for 87 * ``<name>__attach()`` – attaches all auto-attachable BPF programs (it’s [all …]
|
/linux/arch/arc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 90 source "arch/arc/plat-tb10x/Kconfig" 91 source "arch/arc/plat-axs10x/Kconfig" 92 source "arch/arc/plat-hsdk/Kconfig" 110 ISA for the Next Generation ARC-HS cores 128 -MMU-v3: Variable Page Sz (4k, 8k, 16k), bigger J-TLB (128x4) 130 -Caches: New Prog Model, Region Flush 131 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr 134 bool "ARC-HS" [all …]
|
/linux/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * USBHS-DEV device controller driver header file 14 #include <linux/dma-direction.h> 22 * struct cdns2_ep0_regs - endpoint 0 related registers. 45 /* EP0CS - bitmasks. */ 59 /* EP0FIFO - bitmasks. */ 70 * struct cdns2_epx_base - base endpoint registers. 87 /* rxcon/txcon - endpoint control register bitmasks. */ 88 /* Endpoint buffering: 0 - single buffering ... 3 - quad buffering. */ 106 /* rxcs/txcs - endpoint control and status bitmasks. */ [all …]
|
/linux/Documentation/scsi/ |
H A D | libsas.rst | 1 .. SPDX-License-Identifier: GPL-2.0 47 ------------------ 75 - must be set (0/1) 78 - must be set [0,MAX_PHYS)] 81 - must be set 84 - you set this when OOB has finished and then notify 88 - this normally points to an array holding the sas 93 - set this when you (LLDD) receive an 103 - this is where you copy the IDENTIFY/FIS frame 112 - this is where primitives go when they're [all …]
|
/linux/LICENSES/deprecated/ |
H A D | GFDL-1.1 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 3 Valid-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.1-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 11 userspace-api media documentation). 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 17 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only [all …]
|
/linux/include/drm/ |
H A D | drm_crtc.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 67 * struct drm_crtc_state - mutable CRTC state 78 * describing what has changed in a commit. See also: 138 * Drivers are supposed to set this as-needed from their own atomic 235 * built-in panel), this mode here should match the physical mode on the 298 * hardware capabiltiy - lacking support is not treated as failure. 305 * Used by the self refresh helpers to denote when a self refresh 307 * when self refresh is being enabled or disabled. In some cases, it may 308 * not be desirable to fully shut off the crtc during self refresh. [all …]
|
/linux/Documentation/livepatch/ |
H A D | livepatch.rst | 30 - The kernel probes are the most generic. The code can be redirected by 33 - The function tracer calls the code from a predefined location that is 35 compiler using the '-pg' gcc option. 37 - Livepatching typically needs to redirect the code at the very beginning 60 Most of these changes are self contained and the function presents itself 74 The aim is to define a so-called consistency model. It attempts to define 79 kpatch: it uses kGraft's per-task consistency and syscall barrier 83 Patches are applied on a per-task basis, when the task is deemed safe to 108 a) Patching I/O-bound user tasks which are sleeping on an affected 111 b) Patching CPU-bound user tasks. If the task is highly CPU-bound [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | control.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include "cm-regbits-34xx.h" 23 #include "prm-regbits-34xx.h" 201 * omap3_ctrl_write_boot_mode - set scratchpad boot mode for the next boot 202 * @bootmode: 8-bit value to pass to some boot code 205 * system restarts. Not sure what actually uses this - it may be the 206 * bootloader, rather than the boot ROM - contrary to the preserved 218 * describing the boot process can be stored there, in omap3_ctrl_write_boot_mode() 222 * XXX This should use some omap_ctrl_writel()-type function in omap3_ctrl_write_boot_mode() 288 * be programed to issue automatic self refresh on timeout in omap3_save_scratchpad_contents() [all …]
|
/linux/net/tipc/ |
H A D | link.c | 4 * Copyright (c) 1996-2007, 2012-2016, Ericsson AB 5 * Copyright (c) 2004-2007, 2010-2013, Wind River Systems 82 * struct tipc_link - TIPC link data structure 92 * @peer_caps: bitmap describing capabilities of peer node 266 * Simple non-static link routines (i.e. referenced outside this file) 270 return l->state & (LINK_ESTABLISHED | LINK_SYNCHING); in tipc_link_is_up() 275 return l->state == LINK_PEER_RESET; in tipc_link_peer_is_down() 280 return l->state & (LINK_RESET | LINK_FAILINGOVER | LINK_ESTABLISHING); in tipc_link_is_reset() 285 return l->state == LINK_ESTABLISHING; in tipc_link_is_establishing() 290 return l->state == LINK_SYNCHING; in tipc_link_is_synching() [all …]
|
/linux/Documentation/core-api/ |
H A D | dma-api-howto.rst | 10 with example pseudo-code. For a concise description of the API, see 11 Documentation/core-api/dma-api.rst. 39 supports 64-bit addresses for main memory and PCI BARs, it may use an IOMMU 40 so devices only need to use 32-bit DMA addresses. 49 +-------+ +------+ +------+ 52 C +-------+ --------> B +------+ ----------> +------+ A 54 +-----+ | | | | bridge | | +--------+ 55 | | | | +------+ | | | | 58 +-----+ +-------+ +------+ +------+ +--------+ 60 X +-------+ --------> Y +------+ <---------- +------+ Z [all …]
|
/linux/Documentation/userspace-api/media/ |
H A D | fdl-appendix.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 .. _fdl-preamble: 37 .. _fdl-section1: 43 .. _fdl-document: 52 .. _fdl-modified: 59 .. _fdl-secondary: 61 A "Secondary Section" is a named appendix or a front-matter section of 62 the :ref:`Document <fdl-document>` that deals exclusively with the 73 .. _fdl-invariant: 76 :ref:`Secondary Sections <fdl-secondary>` whose titles are designated, [all …]
|
/linux/tools/lib/bpf/ |
H A D | btf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 35 /* raw BTF data in non-native endianness */ 47 * +--------------------------------+ 49 * +--------------------------------+ 53 * types_data-+ | 54 * strs_data------------+ 65 * +----------+ +---------+ +-----------+ 67 * +----------+ +---------+ +-----------+ 71 * types_data----+ | 72 * strset__data(strs_set)-----+ [all …]
|