Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/char/tpm/
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 …]
Dtpm-chip.c1 // 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 …]
/Linux-v5.10/include/uapi/linux/
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-v5.10/Documentation/core-api/
Dworkqueue.rst33 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 …]
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-v5.10/drivers/acpi/numa/
Dhmat.c1 // 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 …]
/Linux-v5.10/fs/ext4/
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>
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 …]
/Linux-v5.10/Documentation/networking/
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-v5.10/Documentation/devicetree/bindings/interrupt-controller/
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 <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 …]
/Linux-v5.10/Documentation/vm/
Dpage_migration.rst40 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 …]
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
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-v5.10/arch/ia64/kernel/
Dacpi.c1 // 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 …]
/Linux-v5.10/kernel/power/
DKconfig1 # 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 …]
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dvm.rst13 ------------------------------------------------------------------------------
27 - admin_reserve_kbytes
28 - block_dump
29 - compact_memory
30 - compaction_proactiveness
31 - compact_unevictable_allowed
32 - dirty_background_bytes
33 - dirty_background_ratio
34 - dirty_bytes
35 - dirty_expire_centisecs
[all …]
/Linux-v5.10/drivers/usb/musb/
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-v5.10/include/acpi/
Dactbl3.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
4 * Name: actbl3.h - ACPI Table Definitions
6 * Copyright (C) 2000 - 2020, 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
134 * SPMI - Server Platform Management Interface table
[all …]
/Linux-v5.10/Documentation/filesystems/
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 …]
Dsquashfs.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Squashfs is a compressed read-only filesystem for Linux.
14 Squashfs is intended for general read-only filesystem use, for archival
19 Mailing list: squashfs-devel@lists.sourceforge.net
23 ----------------------
39 Tail-end packing (fragments) yes no
44 32-bit uids/gids yes no
57 -----------------
59 As squashfs is a read-only filesystem, the mksquashfs program must be used to
64 The squashfs-tools development tree is now located on kernel.org
[all …]
/Linux-v5.10/Documentation/arm64/
Darm-acpi.rst22 industry-standard ARMv8 servers, they also apply to more than one operating
24 ACPI and Linux only, on an ARMv8 system -- that is, what Linux expects of
29 ----------------
32 exist in Linux for describing non-enumerable hardware, after all. In this
39 - ACPI’s byte code (AML) allows the platform to encode hardware behavior,
44 - ACPI’s OSPM defines a power management model that constrains what the
45 platform is allowed to do into a specific model, while still providing
48 - In the enterprise server environment, ACPI has established bindings (such
54 - Choosing a single interface to describe the abstraction between a platform
60 - The new ACPI governance process works well and Linux is now at the same
[all …]
Dacpi_object_usage.rst16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT
18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT
20 - Optional: BGRT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, IORT,
24 - Not supported: BOOT, DBGP, DMAR, ETDT, HPET, IBFT, IVRS, LPIT,
47 Optional, not currently supported, with no real use-case for an
55 time as ARM-compatible hardware is available, and the specification
123 UEFI-based; if it is UEFI-based, this table may be supplied. When this
139 the hardware reduced profile, and only 64-bit address fields will
156 filled in properly - that the PSCI_COMPLIANT flag is set and that
157 PSCI_USE_HVC is set or unset as needed (see table 5-37).
[all …]
/Linux-v5.10/drivers/acpi/acpica/
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 - 2020, 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-v5.10/fs/reiserfs/
Dbitmap.c4 /* 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 …]
/Linux-v5.10/include/linux/
Dworkqueue.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * workqueue.h --- work queue handling for Linux.
28 #define work_data_bits(work) ((unsigned long *)(&(work)->data))
58 WORK_NR_COLORS = (1 << WORK_STRUCT_COLOR_BITS) - 1,
72 /* data contains off-queue information when !WORK_STRUCT_PWQ */
85 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT,
87 WORK_OFFQ_POOL_NONE = (1LU << WORK_OFFQ_POOL_BITS) - 1,
90 WORK_STRUCT_FLAG_MASK = (1UL << WORK_STRUCT_FLAG_BITS) - 1,
119 /* target workqueue and CPU ->timer uses to queue ->work */
128 /* target workqueue ->rcu uses to queue ->work */
[all …]
/Linux-v5.10/drivers/md/bcache/
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 …]
/Linux-v5.10/net/ceph/
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