| /linux/include/linux/ |
| H A D | tpm_svsm.h | 1 /* 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 D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 #include <linux/posix-timers_types.h> 50 #include <linux/tracepoint-defs.h> 55 #include <generated/rq-offsets.h> 99 * We have two separate sets of flags: task->__state 100 * is about runnability, while task->exit_state are 106 /* Used in tsk->__state: */ 112 /* Used in tsk->exit_stat [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_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 …]
|
| 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/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/drivers/acpi/numa/ |
| H A D | hmat.c | 1 // 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/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/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 # */ 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 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/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 - defrag_mode 32 - dirty_background_bytes 33 - dirty_background_ratio 34 - dirty_bytes 35 - dirty_expire_centisecs [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/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 - 2026, Intel Corp. 60 * PARAMETERS: Space ID - I [all...] |
| /linux/Documentation/arch/arm64/ |
| 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/perf/hisilicon/ |
| H A D | hisi_uncore_pmu.c | 1 // 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/kernel/sched/ |
| H A D | ext_idle.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst 5 * Built-in idle CPU tracking policy. 13 /* Enable/disable built-in idle CPU selection policy */ 16 /* Enable/disable per-node idle cpumasks */ 37 * Global host-wide idle cpumasks (used when SCX_OPS_BUILTIN_IDLE_PER_NODE 43 * Per-node idle cpumasks. 48 * Local per-CP [all...] |
| /linux/include/acpi/ |
| H A D | actbl1.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: actbl1.h - Additional ACPI table definitions 6 * Copyright (C) 2000 - 2026, Intel Corp. 72 * All tables must be byte-packed to match the ACPI specification, since 82 * essentially useless for dealing with packed data in on-disk formats or 114 /* https://docs.microsoft.com/en-u [all...] |
| /linux/drivers/md/bcache/ |
| H A D | alloc.c | 1 // 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 34 * have nothing pointing into them - these we can reuse without waiting for 37 * them (because they were overwritten). That's the unused list - buckets on the 40 * It's also important to ensure that gens don't wrap around - with respect to 42 * difficult to do in practice, but we explicitly guard against it anyways - if 47 * bch_bucket_alloc() allocates a single bucket from a specific cache. [all …]
|
| /linux/net/ceph/ |
| H A D | osd_client.c | 1 // 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 …]
|
| /linux/drivers/net/ethernet/via/ |
| H A D | via-velocity.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * File: via-velocity.h 10 * Author: Chuang Liang-Shing, AJ Jiang 21 #define VELOCITY_NAME "via-velocity" 30 #define OPTION_DEFAULT { [0 ... MAX_UNITS-1] = -1} 167 __le16 len; /* bits 0--13; bit 15 - owner */ 185 __le16 size; /* bits 0--14 - frame size, bit 15 - enable int. */ 194 __le16 len; /* bits 0--13 - size of frame, bit 15 - owner */ 200 u8 cmd; /* bits 0--1 - TCPLS, bits 4--7 - CMDZ */ 210 __le16 size; /* bits 0--13 - size, bit 15 - queue */ [all …]
|
| /linux/net/sunrpc/ |
| H A D | sched.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 * rpciod-related stuff 62 if (current->flags & PF_WQ_WORKER) in rpc_task_gfp_mask() 70 if (cmpxchg(&task->tk_rpc_status, 0, rpc_status) == 0) in rpc_task_set_rpc_status() 78 unsigned long timeout = READ_ONCE(task->tk_timeout); in rpc_task_timeout() 83 return timeout - now; in rpc_task_timeout() 91 * queue->lock and bh_disabled in order to avoid races within 97 if (list_empty(&task->u.tk_wait.timer_list)) in __rpc_disable_timer() 99 task->tk_timeout = 0; in __rpc_disable_timer() 100 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer() [all …]
|
| /linux/lib/ |
| H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 45 with specific execution contexts. 62 int "Default console loglevel (1-15)" 72 Note: This does not affect the log level of un-prefixed printk() 77 int "quiet console loglevel (1-1 [all...] |
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1 .. _cgroup-v2: 11 conventions of cgroup v2. It describes all userland-visible aspects 12 of cgroup including core and specific controller behaviors. All 14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`. 22 1-1. Terminology 23 1-2. What is cgroup? 25 2-1. Mounting 26 2- [all...] |
| H A D | kernel-parameters.txt | 37 Documentation/arch/m68k/kernel-options.rst. 46 PARISC The PA-RISC architecture is enabled. 61 the Documentation/scsi/ sub-directory. 81 X86-32 X86-32, aka i386 architecture is enabled. 82 X86-64 X86-64 architecture is enabled. 83 X86 Either 32-bit or 64-bit x86 (same as X86-3 [all...] |
| /linux/drivers/scsi/ |
| H A D | storvsc_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <linux/dma-mapping.h> 135 * Platform neutral description of a scsi request - 161 "Logging level, 0 - None, 1 - Error (default), 2 - Warning."); 171 dev_warn(&(dev)->device, fmt, ##__VA_ARGS__); \ 177 dev_warn_ratelimited(&(dev)->device, fmt, ##__VA_ARGS__); \ 249 * Revision number is auto-incremented whenever this file is changed 251 * definitely indicate incompatibility--but it does indicate mismatched 266 /* Flags - see below for values */ 289 /* Number of sub-channels to create */ [all …]
|