/linux-6.8/drivers/acpi/numa/ |
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() 103 struct memory_target *target; in find_mem_target() local 105 list_for_each_entry(target, &targets, node) in find_mem_target() 106 if (target->memory_pxm == mem_pxm) in find_mem_target() 107 return target; in find_mem_target() 113 struct memory_target *target; in acpi_find_genport_target() local 117 list_for_each_entry(target, &targets, node) { in acpi_find_genport_target() 118 uid_ptr = target->gen_port_device_handle + 8; in acpi_find_genport_target() [all …]
|
/linux-6.8/include/linux/ |
D | device-mapper.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 14 #include <linux/dm-ioctl.h> 27 * Type of table, mapped_device's mempool and request_queue 43 * In the constructor the target parameter will already have the 44 * table, type, begin and len fields filled in. 46 typedef int (*dm_ctr_fn) (struct dm_target *target, 51 * anything hidden ti->private. 58 * = 0: The target will handle the io by resubmitting it later 60 * = 2: The target wants to push back the io [all …]
|
/linux-6.8/arch/riscv/include/asm/ |
D | gdb_xml.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 static const char gdb_xfer_read_target[31] = "qXfer:features:read:target.xml:"; 13 "qXfer:features:read:riscv-64bit-cpu.xml"; 17 "<!DOCTYPE target SYSTEM \"gdb-target.dtd\">" 18 "<target>" 19 "<xi:include href=\"riscv-64bit-cpu.xml\"/>" 20 "</target>"; 24 "<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">" 26 "<reg name=\""DBG_REG_ZERO"\" bitsize=\"64\" type=\"int\" regnum=\"0\"/>" 27 "<reg name=\""DBG_REG_RA"\" bitsize=\"64\" type=\"code_ptr\"/>" [all …]
|
/linux-6.8/arch/x86/kernel/ |
D | cfi.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <asm/insn-eval.h> 13 * Returns the target address and the expected type when regs->ip points 14 * to a compiler-generated CFI trap. 16 static bool decode_cfi_insn(struct pt_regs *regs, unsigned long *target, in decode_cfi_insn() argument 17 u32 *type) in decode_cfi_insn() argument 23 *target = *type = 0; in decode_cfi_insn() 29 * movl -<id>, %r10d ; 6 bytes in decode_cfi_insn() 30 * addl -4(%reg), %r10d ; 4 bytes in decode_cfi_insn() 32 * ud2 ; <- regs->ip in decode_cfi_insn() [all …]
|
/linux-6.8/arch/riscv/kernel/ |
D | cfi.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Returns the target address and the expected type when regs->epc points 12 * to a compiler-generated CFI trap. 14 static bool decode_cfi_insn(struct pt_regs *regs, unsigned long *target, in decode_cfi_insn() argument 15 u32 *type) in decode_cfi_insn() argument 21 *target = *type = 0; in decode_cfi_insn() 27 * lw t1, -4(<reg>) in decode_cfi_insn() 31 * ebreak ; <- regs->epc in decode_cfi_insn() 35 * We can read the expected type and the target address from the in decode_cfi_insn() 38 if (get_kernel_nofault(insn, (void *)regs->epc - 4)) in decode_cfi_insn() [all …]
|
/linux-6.8/Documentation/power/ |
D | pm_qos_interface.rst | 11 * The per-device PM QoS framework provides the API to manage the 12 per-device latency constraints and PM QoS flags. 21 (effective) target value. The aggregated target value is updated with changes 23 aggregated target value is simply the min of the request values held in the list 26 Note: the aggregated target value is implemented as an atomic variable so that 32 Will insert an element into the CPU latency QoS list with the target value. 33 Upon change to this list the new target is recomputed and any registered 34 notifiers are called only if the target value is now different. 39 Will update the list element pointed to by the handle with the new target 40 value and recompute the new aggregated target, calling the notification tree [all …]
|
/linux-6.8/fs/bcachefs/ |
D | disk_groups.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 ? (vstruct_end(&groups->field) - in disk_groups_nr() 13 (void *) &groups->entries[0]) / sizeof(struct bch_disk_group) in disk_groups_nr() 17 struct target { struct 22 } type; member 42 static inline struct target target_decode(unsigned target) in target_decode() argument 44 if (target >= TARGET_GROUP_START) in target_decode() 45 return (struct target) { in target_decode() 46 .type = TARGET_GROUP, in target_decode() 47 .group = target - TARGET_GROUP_START in target_decode() [all …]
|
/linux-6.8/net/netfilter/ |
D | nft_compat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org> 34 enum nft_chain_types type = NFT_CHAIN_T_DEFAULT; in nft_compat_chain_validate_dependency() local 35 const struct nft_chain *chain = ctx->chain; in nft_compat_chain_validate_dependency() 44 if (ctx->family != NFPROTO_BRIDGE) in nft_compat_chain_validate_dependency() 45 type = NFT_CHAIN_T_NAT; in nft_compat_chain_validate_dependency() 46 if (basechain->type->type != type) in nft_compat_chain_validate_dependency() 47 return -EINVAL; in nft_compat_chain_validate_dependency() 65 par->state = pkt->state; in nft_compat_set_par() 66 par->thoff = nft_thoff(pkt); in nft_compat_set_par() [all …]
|
/linux-6.8/fs/configfs/ |
D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * symlink.c - operations for configfs symlinks. 26 do { depth++; } while ((p = p->ci_parent) && !configfs_is_root(p)); in item_depth() 36 p = p->ci_parent; in item_path_length() 45 --length; in fill_item_path() 46 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { in fill_item_path() 50 length -= cur; in fill_item_path() 52 *(buffer + --length) = '/'; in fill_item_path() 57 struct config_item *target, char *path) in configfs_get_target_path() argument 63 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path() [all …]
|
/linux-6.8/fs/ocfs2/dlm/ |
D | dlmthread.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 /* will exit holding res->spinlock, but may drop in function */ 41 /* waits until flags are cleared on res->state */ 46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 51 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/phy/ |
D | phy-stm32-usbphyc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 22 |_ PHY port#2 ----| |________________ 27 - Amelie Delaunay <amelie.delaunay@foss.st.com> 31 const: st,stm32mp1-usbphyc 42 "#address-cells": 45 "#size-cells": 48 vdda1v1-supply: [all …]
|
/linux-6.8/scripts/dtc/ |
D | dtc-parser.y | 1 // SPDX-License-Identifier: GPL-2.0-or-later 72 %type <data> propdata 73 %type <data> propdataprefix 74 %type <flags> header 75 %type <flags> headers 76 %type <re> memreserve 77 %type <re> memreserves 78 %type <array> arrayprefix 79 %type <data> bytestring 80 %type <prop> propdef [all …]
|
/linux-6.8/drivers/thermal/ |
D | thermal_trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #define show_tzt_type(type) \ argument 18 __print_symbolic(type, \ 31 __string(thermal_zone, tz->type) 38 __assign_str(thermal_zone, tz->type); 39 __entry->id = tz->id; 40 __entry->temp_prev = tz->last_temperature; 41 __entry->temp = tz->temperature; 45 __get_str(thermal_zone), __entry->id, __entry->temp_prev, 46 __entry->temp) [all …]
|
/linux-6.8/drivers/scsi/qla2xxx/ |
D | qla_target.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin <vst@vlnb.net> 4 * Copyright (C) 2004 - 2005 Leonid Stoljar 6 * Copyright (C) 2007 - 2010 ID7 Ltd. 8 * Forward port and refactoring to modern qla2xxx and target/configfs 10 * Copyright (C) 2010-2011 Nicholas A. Bellinger <nab@kernel.org> 12 * Additional file for the target driver support. 16 * target portion. 27 * data in the target add-on 32 * Must be changed on any change in any target visible interfaces or [all …]
|
/linux-6.8/tools/lib/bpf/ |
D | bpf_core_read.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 7 * __builtin_preserve_field_info() built-in to get a specific aspect of 16 BPF_FIELD_EXISTS = 2, /* field existence in target kernel */ 22 /* second argument to __builtin_btf_type_id() built-in */ 24 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */ 25 BPF_TYPE_ID_TARGET = 1, /* BTF type ID in target kernel */ 28 /* second argument to __builtin_preserve_type_info() built-in */ 30 BPF_TYPE_EXISTS = 0, /* type existence in target kernel */ 31 BPF_TYPE_SIZE = 1, /* type size in target kernel */ 32 BPF_TYPE_MATCHES = 2, /* type match in target kernel */ [all …]
|
/linux-6.8/arch/arm64/kernel/ |
D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #include <asm/debug-monitors.h> 97 * regs_query_register_offset() - query register offset from its name 101 * pt_regs from its name. If the name is invalid, this returns -EINVAL; 107 for (roff = regoffset_table; roff->name != NULL; roff++) in regs_query_register_offset() 108 if (!strcmp(roff->name, name)) in regs_query_register_offset() 109 return roff->offset; in regs_query_register_offset() 110 return -EINVAL; in regs_query_register_offset() 114 * regs_within_kernel_stack() - check the address in the stack 123 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() [all …]
|
/linux-6.8/drivers/acpi/acpica/ |
D | rsdump.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsdump - AML debugger support for resource structures. 55 * PARAMETERS: resource_list - Pointer to a resource descriptor list 66 u32 type; in acpi_rs_dump_resource_list() local 82 /* Validate Type before dispatch */ in acpi_rs_dump_resource_list() 84 type = resource_list->type; in acpi_rs_dump_resource_list() 85 if (type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_dump_resource_list() 87 ("Invalid descriptor type (%X) in resource list\n", in acpi_rs_dump_resource_list() 88 resource_list->type); in acpi_rs_dump_resource_list() 90 } else if (!resource_list->type) { in acpi_rs_dump_resource_list() [all …]
|
D | exstoren.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exstoren - AML Interpreter object store support, 7 * Copyright (C) 2000 - 2023, Intel Corp. 23 * PARAMETERS: source_desc_ptr - Pointer to the source object 24 * target_type - Current type of the target 25 * walk_state - Current walk state 43 /* Ensure we have a Target that can be stored to */ in acpi_ex_resolve_object() 62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_object() 76 if (walk_state->opcode == AML_COPY_OBJECT_OP) { in acpi_ex_resolve_object() 82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/bus/ |
D | ti-sysc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/ti-sysc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments interconnect target module 10 - Tony Lindgren <tony@atomide.com> 13 Texas Instruments SoCs can have a generic interconnect target module 20 Each interconnect target module can have one or more devices connected to 21 it. There is a set of control registers for managing the interconnect target 24 The interconnect target module control registers are sprinkled into the [all …]
|
/linux-6.8/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | mem.c | 32 enum nvkm_memory_target target; member 45 return nvkm_mem(memory)->target; in nvkm_mem_target() 58 if (mem->pages == 1 && mem->mem) in nvkm_mem_addr() 59 return mem->dma[0]; in nvkm_mem_addr() 66 return nvkm_mem(memory)->pages << PAGE_SHIFT; in nvkm_mem_size() 75 .memory = &mem->memory, in nvkm_mem_map_dma() 77 .dma = mem->dma, in nvkm_mem_map_dma() 86 if (mem->mem) { in nvkm_mem_dtor() 87 while (mem->pages--) { in nvkm_mem_dtor() 88 dma_unmap_page(mem->mmu->subdev.device->dev, in nvkm_mem_dtor() [all …]
|
/linux-6.8/security/tomoyo/ |
D | tomoyo.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005-2011 NTT DATA CORPORATION 13 * tomoyo_domain - Get "struct tomoyo_domain_info" for current thread. 21 if (s->old_domain_info && !current->in_execve) { in tomoyo_domain() 22 atomic_dec(&s->old_domain_info->users); in tomoyo_domain() 23 s->old_domain_info = NULL; in tomoyo_domain() 25 return s->domain_info; in tomoyo_domain() 29 * tomoyo_cred_prepare - Target for security_prepare_creds(). 43 if (s->old_domain_info && !current->in_execve) { in tomoyo_cred_prepare() 44 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare() [all …]
|
/linux-6.8/arch/loongarch/kernel/ |
D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited 39 #include <asm/cpu-info.h> 50 static void init_fp_ctx(struct task_struct *target) in init_fp_ctx() argument 52 /* The target already has context */ in init_fp_ctx() 53 if (tsk_used_math(target)) in init_fp_ctx() 57 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx() 58 set_stopped_child_used_math(target); in init_fp_ctx() 68 /* Don't load the watchpoint registers for the ex-child. */ in ptrace_disable() 75 static int gpr_get(struct task_struct *target, in gpr_get() argument [all …]
|
/linux-6.8/drivers/md/ |
D | dm-table.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 9 #include "dm-core.h" 10 #include "dm-rq.h" 15 #include <linux/blk-integrity.h> 24 #include <linux/blk-mq.h> 63 return t->index[l] + (n * KEYS_PER_NODE); in get_node() 72 for (; l < t->depth - 1; l++) in high() 73 n = get_child(n, CHILDREN_PER_NODE - 1); in high() 75 if (n >= t->counts[l]) in high() [all …]
|
/linux-6.8/Documentation/driver-api/surface_aggregator/ |
D | ssh.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 .. |u8| replace:: :c:type:`u8 <u8>` 4 .. |u16| replace:: :c:type:`u16 <u16>` 5 .. |TYPE| replace:: ``TYPE`` substdef 28 SAM-over-SSH, as opposed to SAM-over-HID for the older generations. 30 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART 33 and power information and events, thermal read-outs and events, and many 39 document: All of this has been reverse-engineered and may thus be erroneous 42 All CRCs used in the following are two-byte ``crc_itu_t(0xffff, ...)``. 43 All multi-byte values are little-endian, there is no implicit padding between [all …]
|
/linux-6.8/Documentation/userspace-api/media/v4l/ |
D | selection-api-examples.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` for other devices; change target to 14 .. code-block:: c 17 .type = V4L2_BUF_TYPE_VIDEO_CAPTURE, 18 .target = V4L2_SEL_TGT_CROP_DEFAULT, 22 exit(-1); 23 sel.target = V4L2_SEL_TGT_CROP; 26 exit(-1); 34 .. code-block:: c 37 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT, [all …]
|