| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/char/tpm/ |
| 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> 39 if (!chip->ops->request_locality) in tpm_request_locality() 42 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality() 46 chip->locality = rc; in tpm_request_locality() 54 if (!chip->ops->relinquish_locality) in tpm_relinquish_locality() 57 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality() 59 dev_err(&chip->dev, "%s: : error %d\n", __func__, rc); in tpm_relinquish_locality() 61 chip->locality = -1; in tpm_relinquish_locality() 66 if (!chip->ops->cmd_ready) in tpm_cmd_ready() [all …]
|
| /kernel/linux/linux-6.6/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 */
|
| /kernel/linux/linux-5.10/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 */
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/acpi/numa/ |
| D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 87 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 97 if (target->memory_pxm == mem_pxm) in find_mem_target() 117 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator() 118 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 119 list_add_tail(&initiator->node, &initiators); in alloc_memory_initiator() 132 target->memory_pxm = mem_pxm; in alloc_memory_target() 133 target->processor_pxm = PXM_INVAL; in alloc_memory_target() 134 target->memregions = (struct resource) { in alloc_memory_target() 137 .end = -1, in alloc_memory_target() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | workqueue.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * workqueue.h --- work queue handling for Linux. 28 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) 67 /* data contains off-queue information when !WORK_STRUCT_PWQ */ 79 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT, 90 /* Convenience constants - of type 'unsigned long', not 'enum'! */ 92 #define WORK_OFFQ_POOL_NONE ((1ul << WORK_OFFQ_POOL_BITS) - 1) 95 #define WORK_STRUCT_FLAG_MASK ((1ul << WORK_STRUCT_FLAG_BITS) - 1) 115 /* target workqueue and CPU ->timer uses to queue ->work */ 124 /* target workqueue ->rcu uses to queue ->work */ [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/numa/ |
| D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 88 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 98 if (target->memory_pxm == mem_pxm) in find_mem_target() 118 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator() 119 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 120 list_add_tail(&initiator->node, &initiators); in alloc_memory_initiator() 133 target->memory_pxm = mem_pxm; in alloc_memory_target() 134 target->processor_pxm = PXM_INVAL; in alloc_memory_target() 135 target->memregions = (struct resource) { in alloc_memory_target() 138 .end = -1, in alloc_memory_target() [all …]
|
| /kernel/linux/linux-6.6/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() 103 event->hw.interrupts = 0; in watchdog_overflow_callback() 119 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create() 124 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create() 139 * watchdog_hardlockup_enable - Enable the local event [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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> 24 * - test ext4_ext_search_left() and ext4_ext_search_right() 25 * - search for metadata in few groups 28 * - normalization should take into account whether file is still open 29 * - discard preallocations if no free space left (policy?) 30 * - don't normalize tails 31 * - quota 32 * - reservation for superuser [all …]
|
| /kernel/linux/linux-6.6/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> 24 * - test ext4_ext_search_left() and ext4_ext_search_right() 25 * - search for metadata in few groups 28 * - normalization should take into account whether file is still open 29 * - discard preallocations if no free space left (policy?) 30 * - don't normalize tails 31 * - quota 32 * - reservation for superuser [all …]
|
| /kernel/linux/linux-5.10/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 <marc.zyngier@arm.com> 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 …]
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | page_migration.rst | 40 For example, A NUMA profiler may obtain a log showing frequent off-node 48 Cpusets allow the automation of process locality. If a task is moved to 102 this (not yet up-to-date) page immediately block while the move is in progress. 152 Non-LRU page migration 156 for NUMA, compaction also uses migration to create high-order pages. 159 *LRU* pages. However, there are potential non-LRU pages which can be migrated 160 in drivers, for example, zsmalloc, virtio-balloon pages. 162 For virtio-balloon pages, some parts of migration code path have been hooked 163 up and added virtio-balloon specific functions to intercept migration logics. 164 It's too specific to a driver so other drivers who want to make their pages [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 # */ 99 * Allocate an extent anywhere in the specific AG given. If there is no 121 * Locality aware allocation will be attempted in the initial AG, but on failure 122 * non-localised attempts will be made. The AGs are constrained by previous 123 * allocations in the current transaction. Two passes will be made - the first 124 * non-blocking, the second blocking. 130 * Iterate from the AG indicated from args->fsbno through to the end of the [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi.c - Architecture-Specific Low-Level ACPI Support 7 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co. 8 * David Mosberger-Tang <davidm@hpl.hp.com> 10 * Copyright (C) 2000,2001 J.I. Lee <jung-ik.lee@intel.com> 13 * Copyright (C) 2001 Takayoshi Kochi <t-kochi@bq.jp.nec.com> 49 [0 ... ACPI_MAX_PLATFORM_INTERRUPTS - 1] = -1 60 int vector = -1; in acpi_request_vector() 80 /* -------------------------------------------------------------------------- 81 Boot-time Table Parsing [all …]
|
| /kernel/linux/linux-6.6/arch/ia64/kernel/ |
| D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi.c - Architecture-Specific Low-Level ACPI Support 7 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co. 8 * David Mosberger-Tang <davidm@hpl.hp.com> 10 * Copyright (C) 2000,2001 J.I. Lee <jung-ik.lee@intel.com> 13 * Copyright (C) 2001 Takayoshi Kochi <t-kochi@bq.jp.nec.com> 49 [0 ... ACPI_MAX_PLATFORM_INTERRUPTS - 1] = -1 60 int vector = -1; in acpi_request_vector() 80 /* -------------------------------------------------------------------------- 81 Boot-time Table Parsing [all …]
|
| /kernel/linux/linux-5.10/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 …]
|