Home
last modified time | relevance | path

Searched +full:locality +full:- +full:specific (Results 1 – 25 of 50) sorted by relevance

12

/linux/include/linux/
H A Dtpm_svsm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * [1] "Secure VM Service Module for SEV-SNP Guests"
25 * struct svsm_vtpm_request - Generic request for single word command
28 * Defined by AMD SVSM spec [1] in section "8.2 SVSM_VTPM_CMD Call" -
40 * struct svsm_vtpm_response - Generic response
43 * Defined by AMD SVSM spec [1] in section "8.2 SVSM_VTPM_CMD Call" -
58 * struct svsm_vtpm_cmd_request - Structure for a TPM_SEND_COMMAND request
60 * @locality: The locality
64 * Defined by AMD SVSM spec [1] in section "8.2 SVSM_VTPM_CMD Call" -
69 * 0x004     1          Locality (must-be-0)
[all …]
H A Dworkqueue.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * workqueue.h --- work queue handling for Linux.
24 #define work_data_bits(work) ((unsigned long *)(&(work)->data))
52 * data contains off-queue information when !WORK_STRUCT_PWQ.
61 WORK_OFFQ_FLAG_BITS = WORK_OFFQ_FLAG_END - WORK_OFFQ_FLAG_SHIFT,
67 * When a work item is off queue, the high bits encode off-queue flags
72 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT,
102 /* Convenience constants - of type 'unsigned long', not 'enum'! */
104 #define WORK_OFFQ_FLAG_MASK (((1ul << WORK_OFFQ_FLAG_BITS) - 1) << WORK_OFFQ_FLAG_SHIFT)
105 #define WORK_OFFQ_DISABLE_MASK (((1ul << WORK_OFFQ_DISABLE_BITS) - 1) << WORK_OFFQ_DISABLE_SHIFT)
[all …]
/linux/drivers/char/tpm/
H A Dtpm_tis_i2c.c1 // 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 Dtpm_vtpm_proxy.c1 // 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 …]
H A Dtpm-chip.c1 // 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 Dst33zp24.c1 // 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 Dvtpm_proxy.h1 /* 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/drivers/acpi/numa/
H A Dhmat.c1 // SPDX-License-Identifier: GPL-2.0
27 #include <linux/memory-tiers.h>
95 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator()
105 if (target->memory_pxm == mem_pxm) in find_mem_target()
111 * hmat_get_extended_linear_cache_size - Retrieve the extended linear cache size
129 return -ENOENT; in hmat_get_extended_linear_cache_size()
131 list_for_each_entry(tcache, &target->caches, node) { in hmat_get_extended_linear_cache_size()
132 if (tcache->cache_attrs.address_mode != in hmat_get_extended_linear_cache_size()
136 res = &target->memregions; in hmat_get_extended_linear_cache_size()
140 *cache_size = tcache->cache_attrs.size; in hmat_get_extended_linear_cache_size()
[all …]
/linux/Documentation/networking/
H A Dscaling.rst1 .. 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 Dwatchdog_perf.c1 // SPDX-License-Identifier: GPL-2.0
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
39 * watchdog. That means the hrtimer should fire 2-3 times before in watchdog_update_hrtimer_threshold()
41 * unhalted CPU cycles, so if Turbo-Mode is enabled the CPU cycles in watchdog_update_hrtimer_threshold()
44 * frequency. Depending on the Turbo-Mode factor this might be fast in watchdog_update_hrtimer_threshold()
63 delta = now - __this_cpu_read(last_timestamp); in watchdog_check_timestamp()
110 event->hw.interrupts = 0; in watchdog_overflow_callback()
129 * Ensure CPU-locality by calling this in per-CPU kthread. in hardlockup_detector_event_create()
134 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
141 wd_attr->sample_period = hw_nmi_get_sample_period(watchdog_thresh); in hardlockup_detector_event_create()
[all …]
/linux/fs/ext4/
H A Dmballoc.c1 // 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 * - do
[all...]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_target.c1 // 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/drivers/pci/
H A Dtph.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/pci-acpi.h>
13 #include <linux/pci-tph.h>
17 /* System-wide TPH disabled */
24 * Locality TPH Features"), as specified in the approved ECN for PCI Firmware
25 * Spec and available at https://members.pcisig.com/wg/PCI-SIG/document/15470.
27 * @vm_st_valid: 8-bit ST for volatile memory is valid
28 * @vm_xst_valid: 16-bit extended ST for volatile memory is valid
30 * @vm_st: 8-bit ST for volatile mem
31 * @vm_xst: 16-bit extended ST for volatile mem
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_alloc.h1 /* 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 # */
102 * Allocate an extent anywhere in the specific AG given. If there is no
124 * Locality aware allocation will be attempted in the initial AG, but on failure
125 * non-localised attempts will be made. The AGs are constrained by previous
126 * allocations in the current transaction. Two passes will be made - the first
127 * non-blocking, the second blocking.
133 * Iterate from the AG indicated from args->fsbno through to the end of the
[all …]
/linux/drivers/usb/musb/
H A Dmusb_core.h1 /* 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/Documentation/admin-guide/sysctl/
H A Dvm.rst13 ------------------------------------------------------------------------------
27 - admin_reserve_kbytes
28 - compact_memory
29 - compaction_proactiveness
30 - compact_unevictable_allowed
31 - defrag_mode
32 - dirty_background_bytes
33 - dirty_background_ratio
34 - dirty_bytes
35 - dirty_expire_centisecs
[all …]
/linux/include/acpi/
H A Dactbl3.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: actbl3.h - ACPI Table Definitions
6 * Copyright (C) 2000 - 2025, 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 …]
H A Dactbl1.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: actbl1.h - Additional ACPI table definitions
6 * Copyright (C) 2000 - 2025, Intel Corp.
71 * All tables must be byte-packed to match the ACPI specification, since
81 * essentially useless for dealing with packed data in on-disk formats or
113 /* https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/acpitabl/ns-acpitabl-aspt_table */
167 * ASF - Alert Standard Format table (Signature "ASF!")
281 * BERT - Boot Error Record Table (ACPI 4.0)
327 * BGRT - Boot Graphics Resource Table (ACPI 5.0)
349 * BOOT - Simple Boot Flag Table
[all …]
/linux/Documentation/filesystems/
H A Dproc.rst1 .. 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/Documentation/arch/arm64/
H A Darm-acpi.rst23 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 Dacpi_object_usage.rst16 - 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/include/drm/intel/
H A Di915_hdcp_interface.h1 /* 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/drivers/acpi/acpica/
H A Dutdecode.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: utdecode - Utility decoding routines (value-to-string)
6 * Copyright (C) 2000 - 2025, 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/drivers/md/bcache/
H A Dbset.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * that it also filters out keys of size 0 - these are keys that have been
27 * them on disk, just unnecessary work - so we filter them out when resorting
31 * collection needs to find them to ensure bucket gens don't wrap around -
35 * front or the back of a bkey - this is mainly used for fixing overlapping
45 * 4 in memory - we lazily resort as needed.
53 * Most of the code in bcache doesn't care about an individual bset - it needs
57 * in a btree node in sorted order, starting from either keys after a specific
[all...]
/linux/Documentation/core-api/
H A Drbtree.rst2 Red-black Trees (rbtree) in Linux
9 What are red-black trees, and what are they for?
10 ------------------------------------------------
12 Red-black trees are a type of self-balancing binary search tree, used for
16 be easily traversed in order, and must be tuned for a specific size and
19 Red-black trees are similar to AVL trees, but provide faster real-time bounded
26 There are a number of red-black trees in use in the kernel.
29 The high-resolution timer code uses an rbtree to organize outstanding
31 red-black tree. Virtual memory areas (VMAs) are tracked with red-black
38 Linux Weekly News article on red-black trees
[all …]

12