/linux/Documentation/core-api/ |
H A 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 85 worker-pools. 87 The cmwq design differentiates between the user-facing workqueues that 89 which manages worker-pools and processes the queued work items. 91 There are two worker-pools, one for normal work items and the other 93 worker-pools to serve work items queued on unbound workqueues - the 98 Each per-CPU BH worker pool contains only one pseudo worker which represents 106 things like CPU locality, concurrency limits, priority and more. To 110 When a work item is queued to a workqueue, the target worker-pool is [all …]
|
/linux/drivers/char/tpm/ |
H A 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 …]
|
H A 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/drivers/char/tpm/st33zp24/ |
H A 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/include/uapi/linux/ |
H A 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/Documentation/filesystems/nfs/ |
H A D | localio.rst | 26 But unlike the LOCALIO protocol, the sockaddr-based matching didn't 30 beginning, the ultimate use case this locality makes possible is the 42 - With LOCALIO: 48 - Without LOCALIO: 55 - With LOCALIO: 61 - Without LOCALIO: 93 deciding if the NFS client and server are co-located on the same 103 in shared kernel memory if they are truly co-located. 108 advantage of NFS client and server locality. Policy that initiates 115 onus on the server to somehow discover that the client is co-located [all …]
|
/linux/include/linux/ |
H A 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)) 51 * data contains off-queue information when !WORK_STRUCT_PWQ. 60 WORK_OFFQ_FLAG_BITS = WORK_OFFQ_FLAG_END - WORK_OFFQ_FLAG_SHIFT, 66 * When a work item is off queue, the high bits encode off-queue flags 71 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT, 101 /* Convenience constants - of type 'unsigned long', not 'enum'! */ 103 #define WORK_OFFQ_FLAG_MASK (((1ul << WORK_OFFQ_FLAG_BITS) - 1) << WORK_OFFQ_FLAG_SHIFT) 104 #define WORK_OFFQ_DISABLE_MASK (((1ul << WORK_OFFQ_DISABLE_BITS) - 1) << WORK_OFFQ_DISABLE_SHIFT) [all …]
|
/linux/drivers/acpi/numa/ |
H A 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 145 return -ENOENT; in acpi_get_genport_coordinates() 148 target->coord[NODE_ACCESS_CLASS_GENPORT_SINK_LOCAL]; in acpi_get_genport_coordinates() 150 target->coord[NODE_ACCESS_CLASS_GENPORT_SINK_CPU]; in acpi_get_genport_coordinates() 171 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator() [all …]
|
/linux/Documentation/networking/ |
H A 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/kernel/ |
H A 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() 111 event->hw.interrupts = 0; in watchdog_overflow_callback() 127 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create() 132 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create() 139 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create() [all …]
|
/linux/fs/ext4/ |
H A 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/Documentation/devicetree/bindings/interrupt-controller/ |
H A 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/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A 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/fs/xfs/libxfs/ |
H A 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 # */ 103 * Allocate an extent anywhere in the specific AG given. If there is no 125 * Locality aware allocation will be attempted in the initial AG, but on failure 126 * non-localised attempts will be made. The AGs are constrained by previous 127 * allocations in the current transaction. Two passes will be made - the first 128 * non-blocking, the second blocking. 134 * Iterate from the AG indicated from args->fsbno through to the end of the [all …]
|
/linux/drivers/usb/musb/ |
H A 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/kernel/power/ |
H A 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>). 122 The default resume partition is the partition that the suspend- 123 to-disk implementation will look for a suspended disk image. 157 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This 173 This option changes the behavior of various sleep-sensitive code to deal [all …]
|
/linux/include/acpi/ |
H A 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 138 * SPMI - Server Platform Management Interface table [all …]
|
/linux/Documentation/admin-guide/sysctl/ |
H A 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/Documentation/admin-guide/device-mapper/ |
H A D | vdo-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 Design of dm-vdo 7 The dm-vdo (virtual data optimizer) target provides inline deduplication, 8 compression, zero-block elimination, and thin provisioning. A dm-vdo target 12 production environments ever since. It was made open-source in 2017 after 14 dm-vdo. For usage, see vdo.rst in the same directory as this file. 25 The design of dm-vdo is based on the idea that deduplication is a two-part 27 storing multiple copies of those duplicates. Therefore, dm-vdo has two main 34 ------------------- 41 design attempts to be lock-free. [all …]
|
/linux/Documentation/filesystems/ |
H A 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/include/drm/intel/ |
H A 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_transcoder - 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/Documentation/arch/arm64/ |
H A 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 …]
|
H A 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/drivers/acpi/acpica/ |
H A 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/fs/reiserfs/ |
H A 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 …]
|