Home
last modified time | relevance | path

Searched +full:locality +full:- +full:specific (Results 1 – 25 of 44) 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 …]
/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/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 * - don't normalize tails
32 * - quota
33 * - reservation for superuser
[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/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,gic-v3.yaml1 # 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/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/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
62 * Since keys are variable length, we can't use a binary search on a bset - we
77 * into, we construct a binary search tree in an array - traversing a binary
[all …]
H A Dalloc.c1 // SPDX-License-Identifier: GPL-2.0
10 * btree pointers - they must match for the pointer to be considered valid.
20 * for that write to complete before we use it - otherwise after a crash we
29 * free_inc isn't the only freelist - if it was, we'd often to sleep while
30 * priorities and gens were being written before we could allocate. c->free is a
37 * have nothing pointing into them - these we can reuse without waiting for
40 * them (because they were overwritten). That's the unused list - buckets on the
43 * It's also important to ensure that gens don't wrap around - with respect to
45 * difficult to do in practice, but we explicitly guard against it anyways - if
50 * bch_bucket_alloc() allocates a single bucket from a specific cache.
[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 …]
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This code is based on the uncore PMUs like arm-cci and arm-ccn.
24 #define HISI_MAX_PERIOD(nr) (GENMASK_ULL((nr) - 1, 0))
36 return sysfs_emit(page, "config=0x%lx\n", (unsigned long)eattr->var); in hisi_event_sysfs_show()
48 return sysfs_emit(buf, "%d\n", hisi_pmu->on_cpu); in hisi_cpumask_sysfs_show()
59 return cpumap_print_to_pagebuf(true, buf, &hisi_pmu->associated_cpus); in hisi_associated_cpus_sysfs_show()
80 return sysfs_emit(page, "0x%08x\n", hisi_pmu->identifier); in hisi_uncore_pmu_identifier_attr_show()
99 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group()
100 struct hisi_pmu *hisi_pmu = to_hisi_pmu(event->pmu); in hisi_validate_event_group()
109 if (leader->pmu != event->pmu) in hisi_validate_event_group()
[all …]
/linux/net/ceph/
H A Dosd_client.c1 // SPDX-License-Identifier: GPL-2.0
71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked()
75 WARN_ON(!rwsem_is_wrlocked(&osdc->lock)); in verify_osdc_wrlocked()
79 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked()
81 WARN_ON(!(mutex_is_locked(&osd->lock) && in verify_osd_locked()
82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked()
83 !rwsem_is_wrlocked(&osdc->lock)); in verify_osd_locked()
87 WARN_ON(!mutex_is_locked(&lreq->lock)); in verify_lreq_locked()
116 orig_len - *plen, off, *plen); in calc_layout()
126 osd_data->type = CEPH_OSD_DATA_TYPE_NONE; in ceph_osd_data_init()
[all …]

12