| /Linux-v6.6/drivers/acpi/numa/ |
| D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 87 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 94 struct memory_target *target; in find_mem_target() local 96 list_for_each_entry(target, &targets, node) in find_mem_target() 97 if (target->memory_pxm == mem_pxm) in find_mem_target() 98 return target; in find_mem_target() 117 initiator->processor_pxm = cpu_pxm; in alloc_memory_initiator() 118 initiator->has_cpu = node_state(pxm_to_node(cpu_pxm), N_CPU); in alloc_memory_initiator() 119 list_add_tail(&initiator->node, &initiators); in alloc_memory_initiator() 125 struct memory_target *target; in alloc_memory_target() local [all …]
|
| /Linux-v6.6/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 …]
|
| D | damon.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* Max priority score for DAMON-based operation schemes */ 25 return l + get_random_u32_below(r - l); in damon_rand() 29 * struct damon_addr_range - Represents an address region of [@start, @end). 39 * struct damon_region - Represents a monitoring target region. 49 * region are set as region size-weighted average of those of the two regions. 63 * struct damon_target - Represents a monitoring target. 65 * @nr_regions: Number of monitoring target regions of this target. 66 * @regions_list: Head of the monitoring target regions of this target. 70 * for virtual memory address spaces could have multiple target processes. The [all …]
|
| /Linux-v6.6/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-v6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| D | fq_codel.json | 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 22 "$IP link del dev $DUMMY type dummy" 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 1000p flows 1024 quantum.*target 5ms i… 45 "$IP link del dev $DUMMY type dummy" 59 "$IP link add dev $DUMMY type dummy || /bin/true" 64 …"matchPattern": "qdisc fq_codel 1: root refcnt [0-9]+ limit 10240p flows 1024 quantum.*target 5ms … 68 "$IP link del dev $DUMMY type dummy" 73 "name": "Create FQ_CODEL with target setting", [all …]
|
| D | codel.json | 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 5ms interval 100ms", 22 "$IP link del dev $DUMMY type dummy" 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1500p target 5ms interval 100ms", 45 "$IP link del dev $DUMMY type dummy" 50 "name": "Create CODEL with target setting", 59 "$IP link add dev $DUMMY type dummy || /bin/true" 61 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root codel target 100ms", 64 "matchPattern": "qdisc codel 1: root refcnt [0-9]+ limit 1000p target 100ms interval 100ms", [all …]
|
| /Linux-v6.6/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-v6.6/arch/x86/kernel/ |
| D | cfi.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/arch/arm64/kernel/ |
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 #include <asm/debug-monitors.h> 96 * regs_query_register_offset() - query register offset from its name 100 * pt_regs from its name. If the name is invalid, this returns -EINVAL; 106 for (roff = regoffset_table; roff->name != NULL; roff++) in regs_query_register_offset() 107 if (!strcmp(roff->name, name)) in regs_query_register_offset() 108 return roff->offset; in regs_query_register_offset() 109 return -EINVAL; in regs_query_register_offset() 113 * regs_within_kernel_stack() - check the address in the stack 122 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() [all …]
|
| /Linux-v6.6/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 …]
|
| /Linux-v6.6/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-v6.6/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-v6.6/security/tomoyo/ |
| D | tomoyo.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005-2011 NTT DATA CORPORATION 12 * tomoyo_domain - Get "struct tomoyo_domain_info" for current thread. 20 if (s->old_domain_info && !current->in_execve) { in tomoyo_domain() 21 atomic_dec(&s->old_domain_info->users); in tomoyo_domain() 22 s->old_domain_info = NULL; in tomoyo_domain() 24 return s->domain_info; in tomoyo_domain() 28 * tomoyo_cred_prepare - Target for security_prepare_creds(). 42 if (s->old_domain_info && !current->in_execve) { in tomoyo_cred_prepare() 43 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare() [all …]
|
| /Linux-v6.6/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-v6.6/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_ccitt_false(0xffff, ...)``. 43 All multi-byte values are little-endian, there is no implicit padding between [all …]
|
| /Linux-v6.6/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 …]
|