| /kernel/linux/linux-5.10/drivers/dax/ |
| D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2017-2018 Intel Corporation. All rights reserved. */ 10 #include "dax-private.h" 26 * We only ever expect to handle device-dax instances, i.e. the in dax_bus_uevent() 44 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id() 45 if (sysfs_streq(dax_id->dev_name, dev_name)) in __dax_match_id() 78 return -EINVAL; in do_id_store() 81 return -EINVAL; in do_id_store() 89 strncpy(dax_id->dev_name, buf, DAX_NAME_LEN); in do_id_store() 90 list_add(&dax_id->list, &dax_drv->ids); in do_id_store() [all …]
|
| /kernel/linux/linux-6.6/drivers/dax/ |
| D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2017-2018 Intel Corporation. All rights reserved. */ 10 #include "dax-private.h" 24 * We only ever expect to handle device-dax instances, i.e. the in dax_bus_uevent() 42 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id() 43 if (sysfs_streq(dax_id->dev_name, dev_name)) in __dax_match_id() 64 if (dev_dax->region->res.flags & IORESOURCE_DAX_KMEM) in dax_match_type() 67 if (dax_drv->type == type) in dax_match_type() 71 if (dax_drv->type == DAXDRV_DEVICE_TYPE && in dax_match_type() 95 return -EINVAL; in do_id_store() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | memremap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/percpu-refcount.h> 12 * struct vmem_altmap - pre-allocated storage for vmemmap_populate 17 * @alloc: track pages consumed, private to vmemmap_populate() 25 unsigned long alloc; member 56 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer 86 * Used for private (un-addressable) device memory only. Must migrate 95 * struct dev_pagemap - metadata for ZONE_DEVICE mappings 96 * @altmap: pre-allocated/reserved memory for vmemmap allocations 106 * @nr_range: number of ranges to be mapped [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/boot/dts/fsl/ |
| D | p1023si-post.dtsi | 4 * Copyright 2011 - 2014 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 53 compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus"; [all …]
|
| D | p4080si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p4080-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p3041si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p2041si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p2041-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p5020si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 compatible = "fsl,p5020-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/ |
| D | p1023si-post.dtsi | 4 * Copyright 2011 - 2014 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 #address-cells = <2>; 52 #size-cells = <1>; 53 compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus"; [all …]
|
| D | p4080si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p4080-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p3041si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p2041si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10 0>; 51 compatible = "fsl,p2041-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p5020si-post.dtsi | 4 * Copyright 2011 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 compatible = "fsl,p5020-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| D | p5040si-post.dtsi | 4 * Copyright 2012 - 2015 Freescale Semiconductor Inc. 36 compatible = "fsl,bman-fbpr"; 37 alloc-ranges = <0 0 0x10000 0>; 41 compatible = "fsl,qman-fqd"; 42 alloc-ranges = <0 0 0x10000 0>; 46 compatible = "fsl,qman-pfdr"; 47 alloc-ranges = <0 0 0x10000 0>; 51 compatible = "fsl,p5040-elbc", "fsl,elbc", "simple-bus"; 53 #address-cells = <2>; 54 #size-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/xtensa/boot/dts/ |
| D | kc705.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 /include/ "xtfpga-flash-128m.dtsi" 7 compatible = "cdns,xtensa-kc705"; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 19 ranges; 23 compatible = "shared-dma-pool"; 27 alloc-ranges = <0x00000000 0x20000000>; [all …]
|
| /kernel/linux/linux-6.6/arch/xtensa/boot/dts/ |
| D | kc705.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 /include/ "xtfpga-flash-128m.dtsi" 7 compatible = "cdns,xtensa-kc705"; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 19 ranges; 23 compatible = "shared-dma-pool"; 27 alloc-ranges = <0x00000000 0x20000000>; [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | bpf-loader.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * bpf-loader.c 20 #include "bpf-loader.h" 21 #include "bpf-prologue.h" 22 #include "probe-event.h" 23 #include "probe-finder.h" // for MAX_PROBES 24 #include "parse-events.h" 27 #include "llvm-utils.h" 28 #include "c++/clang-c.h" 64 return ERR_PTR(-EINVAL); in bpf__prepare_load_buffer() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | memremap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/percpu-refcount.h> 14 * struct vmem_altmap - pre-allocated storage for vmemmap_populate 19 * @alloc: track pages consumed, private to vmemmap_populate() 27 unsigned long alloc; member 65 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer 86 * Used for private (un-addressable) device memory only. Must migrate 97 * When this is not implemented, or it returns -EOPNOTSUPP, the caller 107 * struct dev_pagemap - metadata for ZONE_DEVICE mappings 108 * @altmap: pre-allocated/reserved memory for vmemmap allocations [all …]
|
| D | maple_tree.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Maple Tree - An RCU-safe adaptive tree for storing ranges 6 * Copyright (c) 2018-2022 Oracle 21 * Removed nodes have their ->parent set to point to themselves. RCU readers 22 * check ->parent before relying on the value that they loaded from the 29 #define MAPLE_NODE_SLOTS 31 /* 256 bytes including ->parent */ 32 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 1) 35 #define MAPLE_NODE_SLOTS 63 /* 256 bytes including ->parent */ 38 #define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 2) 44 * The node->parent of the root node has bit 0 set and the rest of the pointer [all …]
|
| /kernel/linux/linux-6.6/drivers/of/ |
| D | of_reserved_mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 44 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch() 60 * fdt_reserved_mem_save_node() - save fdt node for second pass initialization 72 rmem->fdt_node = node; in fdt_reserved_mem_save_node() 73 rmem->name = uname; in fdt_reserved_mem_save_node() 74 rmem->base = base; in fdt_reserved_mem_save_node() 75 rmem->size = size; in fdt_reserved_mem_save_node() 82 * __reserved_mem_alloc_in_range() - allocate reserved memory described with 83 * 'alloc-ranges'. Choose bottom-up/top-down depending on nearby existing 98 if (rmem->size == 0) in __reserved_mem_alloc_in_range() [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | maple_tree.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 13 The Maple Tree is a B-Tree data type which is optimized for storing 14 non-overlapping ranges, including ranges of size 1. The tree was designed to 17 entry in a cache-efficient manner. The tree can also be put into an RCU-safe 24 use the normal API. An :ref:`maple-tree-advanced-api` exists for more complex 34 :ref:`maple-tree-advanced-api`, but are blocked by the normal API. 39 Pre-allocating of nodes is also supported using the 40 :ref:`maple-tree-advanced-api`. This is useful for users who must guarantee a 45 .. _maple-tree-normal-api: 52 freshly-initialised maple tree contains a ``NULL`` pointer for the range ``0`` [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | resource.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 .end = -1, 68 return p->sibling; in next_resource() 70 if (p->child) in next_resource() 71 return p->child; in next_resource() 72 while (!p->sibling && p->parent) in next_resource() 73 p = p->parent; in next_resource() 74 return p->sibling; in next_resource() 91 struct resource *p = PDE_DATA(file_inode(m->file)); in r_start() 94 for (p = p->child; p && l < *pos; p = r_next(m, p, &l)) in r_start() [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | qcom-pdc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 58 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_get_irqchip_state() 68 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_set_irqchip_state() 76 int pin_out = d->hwirq; in pdc_enable_intr() 93 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_disable() 102 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_enable() 111 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_mask() 119 if (d->hwirq == GPIO_NO_WAKE_IRQ) in qcom_pdc_gic_unmask() 161 int pin_out = d->hwirq; in qcom_pdc_gic_set_type() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/ |
| D | reserved-memory.txt | 3 Reserved memory is specified as a node under the /reserved-memory node. 12 /reserved-memory node 13 --------------------- 14 #address-cells, #size-cells (required) - standard definition 15 - Should use the same values as the root node 16 ranges (required) - standard definition 17 - Should be empty 19 /reserved-memory/ child nodes 20 ----------------------------- 21 Each child of the reserved-memory node specifies one or more regions of [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reserved-memory/ |
| D | reserved-memory.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/reserved-memory.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: /reserved-memory Child Node Common 10 - devicetree-spec@vger.kernel.org 13 Reserved memory is specified as a node under the /reserved-memory node. The 19 Each child of the reserved-memory node specifies one or more regions 25 Following the generic-names recommended practice, node names should 26 reflect the purpose of the node (ie. "framebuffer" or "dma-pool"). [all …]
|