/linux-6.8/Documentation/core-api/ |
D | workqueue.rst | 33 thread system-wide. A single MT wq needed to keep around the same 60 * Use per-CPU unified worker pools shared by all wq to provide 83 called worker-pools. 85 The cmwq design differentiates between the user-facing workqueues that 87 which manages worker-pools and processes the queued work items. 89 There are two worker-pools, one for normal work items and the other 91 worker-pools to serve work items queued on unbound workqueues - the 98 things like CPU locality, concurrency limits, priority and more. To 102 When a work item is queued to a workqueue, the target worker-pool is 104 and appended on the shared worklist of the worker-pool. For example, [all …]
|
/linux-6.8/drivers/char/tpm/ |
D | tpm_tis_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014-2021 Nuvoton Technology corporation 4 * Copyright (C) 2019-2022 Infineon Technologies AG 14 #include <linux/crc-ccitt.h> 27 /* TIS-compatible register address to avoid clash with TPM_ACCESS (0x00) */ 78 * Table 51 "I2C-TPM Register Overview". 80 * For most addresses this can be done by simply stripping off the locality 86 * Locality information is ignored, since this driver assumes exclusive access 87 * to the TPM and always uses locality 0. 115 if (msg->flags & I2C_M_RD) in tpm_tis_i2c_retry_transfer_until_ack() [all …]
|
D | tpm_vtpm_proxy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 41 #define STATE_DRIVER_COMMAND BIT(3) /* sending a driver specific command */ 62 * vtpm_proxy_fops_read - Read TPM commands on 'server side' 75 struct proxy_dev *proxy_dev = filp->private_data; in vtpm_proxy_fops_read() 79 sig = wait_event_interruptible(proxy_dev->wq, in vtpm_proxy_fops_read() 80 proxy_dev->req_len != 0 || in vtpm_proxy_fops_read() 81 !(proxy_dev->state & STATE_OPENED_FLAG)); in vtpm_proxy_fops_read() 83 return -EINTR; in vtpm_proxy_fops_read() 85 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read() [all …]
|
D | tpm-chip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 44 if (!chip->ops->request_locality) in tpm_request_locality() 47 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality() 51 chip->locality = rc; in tpm_request_locality() 59 if (!chip->ops->relinquish_locality) in tpm_relinquish_locality() 62 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality() 64 dev_err(&chip->dev, "%s: : error %d\n", __func__, rc); in tpm_relinquish_locality() 66 chip->locality = -1; in tpm_relinquish_locality() 71 if (!chip->ops->cmd_ready) in tpm_cmd_ready() [all …]
|
/linux-6.8/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2009 - 2016 STMicroelectronics 71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 72 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 81 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_cancel() 85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel() 93 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in st33zp24_status() 96 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status() 101 * if the locality is active 105 struct st33zp24_dev *tpm_dev = dev_get_drvdata(&chip->dev); in check_locality() [all …]
|
/linux-6.8/include/uapi/linux/ |
D | vtpm_proxy.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 24 * enum vtpm_proxy_flags - flags for the proxy TPM 32 * struct vtpm_proxy_new_dev - parameter structure for the 50 /* vendor specific commands to set locality */
|
/linux-6.8/include/linux/ |
D | workqueue.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * workqueue.h --- work queue handling for Linux. 23 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) 62 /* data contains off-queue information when !WORK_STRUCT_PWQ */ 74 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT, 85 /* Convenience constants - of type 'unsigned long', not 'enum'! */ 87 #define WORK_OFFQ_POOL_NONE ((1ul << WORK_OFFQ_POOL_BITS) - 1) 90 #define WORK_STRUCT_FLAG_MASK ((1ul << WORK_STRUCT_FLAG_BITS) - 1) 101 /* target workqueue and CPU ->timer uses to queue ->work */ 110 /* target workqueue ->rcu uses to queue ->work */ [all …]
|
/linux-6.8/drivers/acpi/numa/ |
D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #include <linux/memory-tiers.h> 96 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 106 if (target->memory_pxm == mem_pxm) in find_mem_target() 118 uid_ptr = target->gen_port_device_handle + 8; in acpi_find_genport_target() 128 * acpi_get_genport_coordinates - Retrieve the access coordinates for a generic port 144 return -ENOENT; in acpi_get_genport_coordinates() 146 *coord = target->coord[NODE_ACCESS_CLASS_GENPORT_SINK]; in acpi_get_genport_coordinates() 167 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator() 168 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() [all …]
|
/linux-6.8/Documentation/networking/ |
D | scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 multi-processor systems. 17 - RSS: Receive Side Scaling 18 - RPS: Receive Packet Steering 19 - RFS: Receive Flow Steering 20 - Accelerated Receive Flow Steering 21 - XPS: Transmit Packet Steering 28 (multi-queue). On reception, a NIC can send different packets to different 33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 35 Multi-queue distribution can also be used for traffic prioritization, but [all …]
|
/linux-6.8/kernel/ |
D | watchdog_perf.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks 40 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold() 42 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold() 45 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold() 64 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp() 99 event->hw.interrupts = 0; in watchdog_overflow_callback() 115 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create() 120 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create() 135 * watchdog_hardlockup_enable - Enable the local event [all …]
|
/linux-6.8/fs/ext4/ |
D | mballoc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com 18 #include <linux/backing-dev.h> 25 * - test ext4_ext_search_left() and ext4_ext_search_right() 26 * - search for metadata in few groups 29 * - normalization should take into account whether file is still open 30 * - discard preallocations if no free space left (policy?) 31 * - don't normalize tails 32 * - quota 33 * - reservation for superuser [all …]
|
/linux-6.8/Documentation/devicetree/bindings/interrupt-controller/ |
D | arm,gic-v3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <maz@kernel.org> 15 Software Generated Interrupts (SGI), and Locality-specific Peripheral 19 - $ref: /schemas/interrupt-controller.yaml# 24 - items: 25 - enum: 26 - qcom,msm8996-gic-v3 [all …]
|
/linux-6.8/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_target.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 26 * 32-bit or 64-bit words. All others are not listed. 40 return -EINVAL; in target_rw() 51 return -EINVAL; in nfp6000_nbi_dma() 62 return -EINVAL; in nfp6000_nbi_stats() 73 return -EINVAL; in nfp6000_nbi_tm() 84 return -EINVAL; in nfp6000_nbi_ppc() 102 * 32-bit or 64-bit words. All others are not listed. 150 return -EINVAL; in nfp6000_mu_common() [all …]
|
/linux-6.8/fs/xfs/libxfs/ |
D | xfs_alloc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 38 struct xfs_perag *pag; /* per-ag struct for this agno */ 41 xfs_agblock_t agbno; /* allocation group-relative block # */ 101 * Allocate an extent anywhere in the specific AG given. If there is no 123 * Locality aware allocation will be attempted in the initial AG, but on failure 124 * non-localised attempts will be made. The AGs are constrained by previous 125 * allocations in the current transaction. Two passes will be made - the first 126 * non-blocking, the second blocking. 132 * Iterate from the AG indicated from args->fsbno through to the end of the [all …]
|
/linux-6.8/drivers/usb/musb/ |
D | musb_core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 32 /* Helper defines for struct musb->hwvers */ 51 /* NOTE: otg and peripheral-only state machines start at B_IDLE. 52 * OTG or host-only go to A_IDLE when ID is sensed. 54 #define is_peripheral_active(m) (!(m)->is_host) 55 #define is_host_active(m) ((m)->is_host) 99 { (_musb)->is_host = true; } 101 { (_musb)->is_host = false; } [all …]
|
/linux-6.8/kernel/power/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 suspend-to-RAM state (e.g. the ACPI S3 state). 30 user-space before invoking suspend. There's a run-time switch 32 This setting changes the default for the run-tim switch. Say Y 60 for suspend states like suspend-to-RAM (STR) often don't work very 72 <file:Documentation/power/swsusp-and-swap-files.rst>). 100 The default resume partition is the partition that the suspend- 101 to-disk implementation will look for a suspended disk image. 135 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This 151 This option changes the behavior of various sleep-sensitive code to deal [all …]
|
/linux-6.8/Documentation/admin-guide/sysctl/ |
D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - dirty_background_bytes 32 - dirty_background_ratio 33 - dirty_bytes 34 - dirty_expire_centisecs 35 - dirty_ratio [all …]
|
/linux-6.8/include/acpi/ |
D | actbl3.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: actbl3.h - ACPI Table Definitions 6 * Copyright (C) 2000 - 2023, Intel Corp. 28 #define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */ 47 * All tables must be byte-packed to match the ACPI specification, since 57 * essentially useless for dealing with packed data in on-disk formats or 66 * SLIC - Software Licensing Description Table 81 * SLIT - System Locality Distance Information Table 94 * SPCR - Serial Port Console Redirection table 134 * SPMI - Server Platform Management Interface table [all …]
|
/linux-6.8/Documentation/filesystems/ |
D | proc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 1.1 Process-Specific Subdirectories 36 3 Per-Process Parameters 37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer 39 3.2 /proc/<pid>/oom_score - Display current oom-killer score 40 3.3 /proc/<pid>/io - Display the IO accounting fields 41 3.4 /proc/<pid>/coredump_filter - Core dump filtering settings 42 3.5 /proc/<pid>/mountinfo - Information about mounts 44 3.7 /proc/<pid>/task/<tid>/children - Information about task children 45 3.8 /proc/<pid>/fdinfo/<fd> - Information about opened file [all …]
|
/linux-6.8/include/drm/ |
D | i915_hdcp_interface.h | 1 /* SPDX-License-Identifier: (GPL-2.0+) */ 3 * Copyright © 2017-2019 Intel Corporation 17 * enum hdcp_port_type - HDCP port implementation type defined by ME/GSC FW 19 * @HDCP_PORT_TYPE_INTEGRATED: In-Host HDCP2.x port 33 * enum hdcp_wired_protocol - HDCP adaptation used on the port 57 * enum hdcp_tc - ME/GSC Firmware defined index for transcoders 79 * struct hdcp_port_data - intel specific HDCP port data 88 * over re-Auth has to be triggered. 103 * struct i915_hdcp_ops- ops for HDCP2.2 services. 171 * struct i915_hdcp_arbiter - Used for communication between i915 [all …]
|
/linux-6.8/Documentation/arch/arm64/ |
D | arm-acpi.rst | 23 industry-standard Arm systems, they also apply to more than one operating 25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of 30 ---------------- 33 exist in Linux for describing non-enumerable hardware, after all. In this 40 - ACPI’s byte code (AML) allows the platform to encode hardware behavior, 45 - ACPI’s OSPM defines a power management model that constrains what the 46 platform is allowed to do into a specific model, while still providing 49 - In the enterprise server environment, ACPI has established bindings (such 55 - Choosing a single interface to describe the abstraction between a platform 61 - The new ACPI governance process works well and Linux is now at the same [all …]
|
D | acpi_object_usage.rst | 16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT 18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT 20 - Optional: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, 24 - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT, 41 This table describes a non-maskable event, that is used by the platform 68 Optional, not currently supported, with no real use-case for an 83 time as ARM-compatible hardware is available, and the specification 151 UEFI-based; if it is UEFI-based, this table may be supplied. When this 167 the hardware reduced profile, and only 64-bit address fields will 184 filled in properly - that the PSCI_COMPLIANT flag is set and that [all …]
|
/linux-6.8/drivers/acpi/acpica/ |
D | utdecode.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utdecode - Utility decoding routines (value-to-string) 6 * Copyright (C) 2000 - 2023, Intel Corp. 60 * PARAMETERS: Space ID - ID for the region 105 * PARAMETERS: event_id - Fixed event ID 137 * PARAMETERS: type - An ACPI object type 147 * one-to-one with values of acpi_object_type 224 return_STR(acpi_ut_get_type_name(obj_desc->common.type)); in acpi_ut_get_object_type_name() 231 * PARAMETERS: object - A namespace node 265 acpi_ut_repair_name(node->name.ascii); in acpi_ut_get_node_name() [all …]
|
/linux-6.8/fs/reiserfs/ |
D | bitmap.c | 4 /* Reiserfs block (de)allocator, bitmap-based. */ 20 #define SB_ALLOC_OPTS(s) (REISERFS_SB(s)->s_alloc_options.bits) 57 *bmap_nr = block >> (s->s_blocksize_bits + 3); in get_bit_address() 59 *offset = block & ((s->s_blocksize << 3) - 1); in get_bit_address() 68 reiserfs_error(s, "vs-4010", in is_reusable() 81 &REISERFS_SB(s)->s_properties))) { in is_reusable() 82 b_blocknr_t bmap1 = REISERFS_SB(s)->s_sbh->b_blocknr + 1; in is_reusable() 85 reiserfs_error(s, "vs-4019", "bitmap block %lu(%u) " in is_reusable() 92 reiserfs_error(s, "vs-4020", "bitmap block %lu(%u) " in is_reusable() 100 reiserfs_error(s, "vs-4030", "bitmap for requested block " in is_reusable() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/riscv/ |
D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <paul.walmsley@sifive.com> 11 - Palmer Dabbelt <palmer@sifive.com> 12 - Conor Dooley <conor@kernel.org> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 36 Identifies the specific RISC-V instruction set architecture [all …]
|