| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/drivers/acpi/numa/ |
| D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 88 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 95 struct memory_target *target; in find_mem_target() local 97 list_for_each_entry(target, &targets, node) in find_mem_target() 98 if (target->memory_pxm == mem_pxm) in find_mem_target() 99 return target; 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() 126 struct memory_target *target; in alloc_memory_target() local [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | device-mapper.h | 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 13 #include <linux/dm-ioctl.h> 25 * Type of table, mapped_device's mempool and request_queue 41 * In the constructor the target parameter will already have the 42 * table, type, begin and len fields filled in. 44 typedef int (*dm_ctr_fn) (struct dm_target *target, 49 * anything hidden ti->private. 56 * = 0: The target will handle the io by resubmitting it later 58 * = 2: The target wants to push back the io 73 * multipath target might want to requeue a failed io). [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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> 33 enum nft_chain_types type = NFT_CHAIN_T_DEFAULT; in nft_compat_chain_validate_dependency() local 34 const struct nft_chain *chain = ctx->chain; in nft_compat_chain_validate_dependency() 43 if (ctx->family != NFPROTO_BRIDGE) in nft_compat_chain_validate_dependency() 44 type = NFT_CHAIN_T_NAT; in nft_compat_chain_validate_dependency() 45 if (basechain->type->type != type) in nft_compat_chain_validate_dependency() 46 return -EINVAL; in nft_compat_chain_validate_dependency() 62 par->target = xt; in nft_compat_set_par() 63 par->targinfo = xt_info; in nft_compat_set_par() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | dtc-parser.y | 1 // SPDX-License-Identifier: GPL-2.0-or-later 66 %type <data> propdata 67 %type <data> propdataprefix 68 %type <flags> header 69 %type <flags> headers 70 %type <re> memreserve 71 %type <re> memreserves 72 %type <array> arrayprefix 73 %type <data> bytestring 74 %type <prop> propdef [all …]
|
| /kernel/linux/linux-5.10/fs/configfs/ |
| D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- mode: c; c-basic-offset: 8; -*- 5 * symlink.c - operations for configfs symlinks. 28 do { depth++; } while ((p = p->ci_parent) && !configfs_is_root(p)); in item_depth() 38 p = p->ci_parent; in item_path_length() 47 --length; in fill_item_path() 48 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { in fill_item_path() 52 length -= cur; in fill_item_path() 54 *(buffer + --length) = '/'; in fill_item_path() 59 struct config_item *target, char *path) in configfs_get_target_path() argument [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
| D | dlmthread.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- mode: c; c-basic-offset: 8; -*- 42 /* will exit holding res->spinlock, but may drop in function */ 43 /* waits until flags are cleared on res->state */ 48 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 50 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 53 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 54 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 56 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 59 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|