| /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-4.19/drivers/char/tpm/ |
| D | tpm_vtpm_proxy.c | 7 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 46 #define STATE_DRIVER_COMMAND BIT(3) /* sending a driver specific command */ 67 * vtpm_proxy_fops_read - Read TPM commands on 'server side' 80 struct proxy_dev *proxy_dev = filp->private_data; in vtpm_proxy_fops_read() 84 sig = wait_event_interruptible(proxy_dev->wq, in vtpm_proxy_fops_read() 85 proxy_dev->req_len != 0 || in vtpm_proxy_fops_read() 86 !(proxy_dev->state & STATE_OPENED_FLAG)); in vtpm_proxy_fops_read() 88 return -EINTR; in vtpm_proxy_fops_read() 90 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read() 92 if (!(proxy_dev->state & STATE_OPENED_FLAG)) { in vtpm_proxy_fops_read() [all …]
|
| D | tpm.h | 11 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 42 #include <asm/intel-family.h> 262 /* active locality */ 263 int locality; member 282 /* TPM2 specific constants. */ 388 /* 128 bytes is an arbitrary cap. This could be as large as TPM_BUFSIZE - 18 434 head = (struct tpm_input_header *)buf->data; in tpm_buf_reset() 435 head->tag = cpu_to_be16(tag); in tpm_buf_reset() 436 head->length = cpu_to_be32(sizeof(*head)); in tpm_buf_reset() 437 head->ordinal = cpu_to_be32(ordinal); in tpm_buf_reset() [all …]
|
| /kernel/linux/linux-4.19/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-4.19/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-4.19/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> 30 * - test ext4_ext_search_left() and ext4_ext_search_right() 31 * - search for metadata in few groups 34 * - normalization should take into account whether file is still open 35 * - discard preallocations if no free space left (policy?) 36 * - don't normalize tails 37 * - quota 38 * - reservation for superuser [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-4.19/Documentation/networking/ |
| D | scaling.txt | 9 multi-processor systems. 24 (multi-queue). On reception, a NIC can send different packets to different 29 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 31 Multi-queue distribution can also be used for traffic prioritization, but 35 and/or transport layer headers-- for example, a 4-tuple hash over 37 implementation of RSS uses a 128-entry indirection table where each entry 45 can be directed to their own receive queue. Such “n-tuple” filters can 46 be configured from ethtool (--config-ntuple). 50 The driver for a multi-queue capable NIC typically provides a kernel 62 commands (--show-rxfh-indir and --set-rxfh-indir). Modifying the [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> 23 * - test ext4_ext_search_left() and ext4_ext_search_right() 24 * - search for metadata in few groups 27 * - normalization should take into account whether file is still open 28 * - discard preallocations if no free space left (policy?) 29 * - don't normalize tails 30 * - quota 31 * - reservation for superuser [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/ |
| D | arm,gic-v3.txt | 5 Software Generated Interrupts (SGI), and Locality-specific Peripheral 10 - compatible : should at least contain "arm,gic-v3". 11 - interrupt-controller : Identifies the node as an interrupt controller 12 - #interrupt-cells : Specifies the number of cells needed to encode an 21 SPI interrupts are in the range [0-987]. PPI interrupts are in the 22 range [0-15]. 31 pointed must be a subnode of the "ppi-partitions" subnode. For 33 this cell must be zero. See the "ppi-partitions" node description 39 - reg : Specifies base physical address(s) and size of the GIC 41 - GIC Distributor interface (GICD) [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-4.19/Documentation/vm/ |
| D | page_migration.rst | 44 Documentation/cgroup-v1/cpusets.txt). 45 Cpusets allows the automation of process locality. If a task is moved to 148 Non-LRU page migration 152 for NUMA, compaction who want to create high-order page is also main customer. 155 *LRU* pages. However, there are potential non-lru pages which can be migrated 156 in drivers, for example, zsmalloc, virtio-balloon pages. 158 For virtio-balloon pages, some parts of migration code path have been hooked 159 up and added virtio-balloon specific functions to intercept migration logics. 160 It's too specific to a driver so other drivers who want to make their pages 161 movable would have to add own specific hooks in migration path. [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-4.19/kernel/power/ |
| D | Kconfig | 5 ---help--- 8 suspend-to-RAM state (e.g. the ACPI S3 state). 29 user-space before invoking suspend. Say Y if that's your case. 41 ---help--- 56 for suspend states like suspend-to-RAM (STR) often don't work very 68 <file:Documentation/power/swsusp-and-swap-files.txt>). 86 ---help--- 87 The default resume partition is the partition that the suspend- 88 to-disk implementation will look for a suspended disk image. 121 ---help--- [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-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 …]
|
| /kernel/linux/linux-5.10/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. 136 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This 153 objects with the help of a sysfs-based interface. [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 31 /* Helper defines for struct musb->hwvers */ 50 /* NOTE: otg and peripheral-only state machines start at B_IDLE. 51 * OTG or host-only go to A_IDLE when ID is sensed. 53 #define is_peripheral_active(m) (!(m)->is_host) 54 #define is_host_active(m) ((m)->is_host) 98 { (_musb)->is_host = true; } 100 { (_musb)->is_host = false; } [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_target.c | 2 * Copyright (C) 2015-2017 Netronome Systems, Inc. 5 * June 1991 as shown in the file COPYING in the top-level directory of this 6 * source tree or the BSD 2-Clause License provided below. You have the 9 * The BSD 2-Clause License: 52 * 32-bit or 64-bit words. All others are not listed. 66 return -EINVAL; in target_rw() 77 return -EINVAL; in nfp6000_nbi_dma() 88 return -EINVAL; in nfp6000_nbi_stats() 99 return -EINVAL; in nfp6000_nbi_tm() 110 return -EINVAL; in nfp6000_nbi_ppc() [all …]
|
| /kernel/linux/linux-4.19/arch/ia64/kernel/ |
| D | acpi.c | 2 * acpi.c - Architecture-Specific Low-Level ACPI Support 6 * Copyright (C) 2000, 2002-2003 Hewlett-Packard Co. 7 * David Mosberger-Tang <davidm@hpl.hp.com> 9 * Copyright (C) 2000,2001 J.I. Lee <jung-ik.lee@intel.com> 12 * Copyright (C) 2001 Takayoshi Kochi <t-kochi@bq.jp.nec.com> 30 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 97 if (strncmp(rsdp->signature, ACPI_SIG_RSDP, sizeof(ACPI_SIG_RSDP) - 1)) { in acpi_get_sysname() 103 xsdt = (struct acpi_table_xsdt *)__va(rsdp->xsdt_physical_address); in acpi_get_sysname() 104 hdr = &xsdt->header; in acpi_get_sysname() 105 if (strncmp(hdr->signature, ACPI_SIG_XSDT, sizeof(ACPI_SIG_XSDT) - 1)) { in acpi_get_sysname() [all …]
|