| /linux-6.15/tools/perf/tests/ |
| H A D | mem2node.c | 13 static struct node { struct 14 int node; member 17 { .node = 0, .map = "0" }, argument 18 { .node = 1, .map = "1-2" }, 19 { .node = 3, .map = "5-7,9" }, 59 nodes[i].node = test_nodes[i].node; in test__mem2node()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | rbtree_btf_fail__add_wrong_type.c | 13 struct bpf_rb_node node; member 18 struct bpf_rb_node node; member 27 node_a = container_of(a, struct node_data2, node); in less2() 28 node_b = container_of(b, struct node_data2, node); in less2() 35 private(A) struct bpf_rb_root groot __contains(node_data, node); 47 bpf_rbtree_add(&groot, &n->node, less2); in rbtree_api_add__add_wrong_type()
|
| /linux-6.15/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip07.dtsi | 273 numa-node-id = <0>; 282 numa-node-id = <0>; 291 numa-node-id = <0>; 300 numa-node-id = <0>; 309 numa-node-id = <0>; 318 numa-node-id = <0>; 327 numa-node-id = <0>; 336 numa-node-id = <0>; 345 numa-node-id = <0>; 354 numa-node-id = <0>; [all …]
|
| /linux-6.15/drivers/clk/sunxi/ |
| H A D | clk-a10-hosc.c | 17 static void __init sun4i_osc_clk_setup(struct device_node *node) in sun4i_osc_clk_setup() argument 22 const char *clk_name = node->name; in sun4i_osc_clk_setup() 25 if (of_property_read_u32(node, "clock-frequency", &rate)) in sun4i_osc_clk_setup() 36 of_property_read_string(node, "clock-output-names", &clk_name); in sun4i_osc_clk_setup() 39 gate->reg = of_iomap(node, 0); in sun4i_osc_clk_setup() 53 of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun4i_osc_clk_setup()
|
| H A D | clk-a10-ve.c | 85 static void __init sun4i_ve_clk_setup(struct device_node *node) in sun4i_ve_clk_setup() argument 92 const char *clk_name = node->name; in sun4i_ve_clk_setup() 96 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun4i_ve_clk_setup() 108 of_property_read_string(node, "clock-output-names", &clk_name); in sun4i_ve_clk_setup() 109 parent = of_clk_get_parent_name(node, 0); in sun4i_ve_clk_setup() 128 err = of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun4i_ve_clk_setup() 140 reset_data->rcdev.of_node = node; in sun4i_ve_clk_setup() 152 of_clk_del_provider(node); in sun4i_ve_clk_setup()
|
| /linux-6.15/fs/btrfs/ |
| H A D | backref.c | 698 if (!node) in unode_aux_to_inode_list() 794 ref->parent = node ? node->val : 0; in resolve_indirect_refs() 944 node->parent, node->bytenr, count, in add_delayed_refs() 1778 if (!node) in btrfs_find_all_roots_safe() 1973 if (!node) in btrfs_is_data_extent_shared() 3036 node = kzalloc(sizeof(*node), GFP_NOFS); in btrfs_backref_alloc_node() 3037 if (!node) in btrfs_backref_alloc_node() 3038 return node; in btrfs_backref_alloc_node() 3048 return node; in btrfs_backref_alloc_node() 3054 if (node) { in btrfs_backref_free_node() [all …]
|
| /linux-6.15/mm/ |
| H A D | hugetlb_cma.c | 32 int node; in hugetlb_cma_alloc_folio() local 40 for_each_node_mask(node, *nodemask) { in hugetlb_cma_alloc_folio() 41 if (node == nid || !hugetlb_cma[node]) in hugetlb_cma_alloc_folio() 44 folio = cma_alloc_folio(hugetlb_cma[node], order, gfp_mask); in hugetlb_cma_alloc_folio() 61 int node = *nid; in hugetlb_cma_alloc_bootmem() local 69 for_each_online_node(node) { in hugetlb_cma_alloc_bootmem() 70 cma = hugetlb_cma[node]; in hugetlb_cma_alloc_bootmem() 71 if (!cma || node == *nid) in hugetlb_cma_alloc_bootmem() 75 *nid = node; in hugetlb_cma_alloc_bootmem()
|
| /linux-6.15/drivers/net/ethernet/ti/ |
| H A D | cpsw-phy-sel.c | 155 const struct device_node *node = (const struct device_node *)data; in match() local 156 return dev->of_node == node && in match() 162 struct device_node *node; in cpsw_phy_sel() local 165 node = of_parse_phandle(dev->of_node, "cpsw-phy-sel", 0); in cpsw_phy_sel() 166 if (!node) { in cpsw_phy_sel() 167 node = of_get_child_by_name(dev->of_node, "cpsw-phy-sel"); in cpsw_phy_sel() 168 if (!node) { in cpsw_phy_sel() 174 dev = bus_find_device(&platform_bus_type, NULL, node, match); in cpsw_phy_sel() 176 dev_err(dev, "unable to find platform device for %pOF\n", node); in cpsw_phy_sel() 186 of_node_put(node); in cpsw_phy_sel()
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | numaperf.rst | 19 nodes with local memory and a memory only node for each of compute node:: 48 # symlinks -v /sys/devices/system/node/nodeX/access0/targets/ 72 memory node's access class 0 initiators as follows:: 74 /sys/devices/system/node/nodeY/access0/initiators/ 83 /sys/devices/system/node/nodeY/access0/initiators/ 137 /sys/devices/system/node/nodeX/memory_side_cache/ 145 /sys/devices/system/node/nodeX/memory_side_cache/indexA/ 146 /sys/devices/system/node/nodeX/memory_side_cache/indexB/ 147 /sys/devices/system/node/nodeX/memory_side_cache/indexC/ 153 # tree /sys/devices/system/node/node0/memory_side_cache/ [all …]
|
| /linux-6.15/Documentation/mm/ |
| H A D | numa.rst | 57 that cell to a node representing a cell that does have memory. Thus, on 59 a given node will see the same local memory access times and bandwidth. 64 nodes. Each emulated node will manage a fraction of the underlying cells' 75 selected zone/node cannot satisfy the allocation request. This situation, 81 fall back to the same zone type on a different node, or to a different zone 104 from their initial node and kernel data structures. 119 node the "local memory node"--the node of the first zone in CPU's node's 120 zonelist--will not be the node itself. Rather, it will be the node that the 124 allows such allocations to fallback to other nearby nodes when a node that 133 node to which the "current CPU" is attached using one of the kernel's [all …]
|
| /linux-6.15/arch/powerpc/mm/book3s64/ |
| H A D | radix_pgtable.c | 1011 vmemmap_verify(ptep, node, addr, next); in vmemmap_set_pmd() 1015 int node, in radix__vmemmap_pte_populate() argument 1142 pud = vmemmap_pud_alloc(p4d, node, addr); in radix__vmemmap_populate() 1145 pmd = vmemmap_pmd_alloc(pud, node, addr); in radix__vmemmap_populate() 1198 pte = vmemmap_pte_alloc(pmd, node, addr); in radix__vmemmap_populate() 1224 pud = vmemmap_pud_alloc(p4d, node, addr); in radix__vmemmap_populate_address() 1227 pmd = vmemmap_pmd_alloc(pud, node, addr); in radix__vmemmap_populate_address() 1236 pte = vmemmap_pte_alloc(pmd, node, addr); in radix__vmemmap_populate_address() 1300 unsigned long end, int node, in vmemmap_populate_compound_pages() argument 1321 pud = vmemmap_pud_alloc(p4d, node, addr); in vmemmap_populate_compound_pages() [all …]
|
| /linux-6.15/arch/loongarch/vdso/ |
| H A D | vgetcpu.c | 23 int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused); 24 int __vdso_getcpu(unsigned int *cpu, unsigned int *node, struct getcpu_cache *unused) in __vdso_getcpu() argument 33 if (node) in __vdso_getcpu() 34 *node = vdso_u_arch_data.pdata[cpu_id].node; in __vdso_getcpu()
|
| /linux-6.15/arch/arm64/boot/dts/freescale/ |
| H A D | imx8dxl-ss-adma.dtsi | 6 /delete-node/ &asrc1; 7 /delete-node/ &asrc1_lpcg; 8 /delete-node/ &adc1; 9 /delete-node/ &adc1_lpcg; 10 /delete-node/ &amix; 11 /delete-node/ &amix_lpcg; 12 /delete-node/ &edma1; 13 /delete-node/ &esai0; 15 /delete-node/ &sai4; 16 /delete-node/ &sai4_lpcg; [all …]
|
| /linux-6.15/drivers/clk/socfpga/ |
| H A D | clk-pll.c | 73 static void __init __socfpga_pll_init(struct device_node *node, in __socfpga_pll_init() argument 79 const char *clk_name = node->name; in __socfpga_pll_init() 85 of_property_read_u32(node, "reg", ®); in __socfpga_pll_init() 97 of_property_read_string(node, "clock-output-names", &clk_name); in __socfpga_pll_init() 103 init.num_parents = of_clk_parent_fill(node, parent_name, SOCFPGA_MAX_PARENTS); in __socfpga_pll_init() 117 rc = of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw_clk); in __socfpga_pll_init() 132 void __init socfpga_pll_init(struct device_node *node) in socfpga_pll_init() argument 134 __socfpga_pll_init(node, &clk_pll_ops); in socfpga_pll_init()
|
| H A D | clk-pll-a10.c | 66 static void __init __socfpga_pll_init(struct device_node *node, in __socfpga_pll_init() argument 72 const char *clk_name = node->name; in __socfpga_pll_init() 79 of_property_read_u32(node, "reg", ®); in __socfpga_pll_init() 91 of_property_read_string(node, "clock-output-names", &clk_name); in __socfpga_pll_init() 98 of_clk_get_parent_name(node, i)) != NULL) in __socfpga_pll_init() 113 rc = of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw_clk); in __socfpga_pll_init() 128 void __init socfpga_a10_pll_init(struct device_node *node) in socfpga_a10_pll_init() argument 130 __socfpga_pll_init(node, &clk_pll_ops); in socfpga_a10_pll_init()
|
| H A D | clk.h | 32 void __init socfpga_pll_init(struct device_node *node); 33 void __init socfpga_periph_init(struct device_node *node); 34 void __init socfpga_gate_init(struct device_node *node); 35 void socfpga_a10_pll_init(struct device_node *node); 36 void socfpga_a10_periph_init(struct device_node *node); 37 void socfpga_a10_gate_init(struct device_node *node);
|
| /linux-6.15/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_validation.c | 293 struct vmw_validation_res_node *node; in vmw_validation_add_resource() local 296 if (node) { in vmw_validation_add_resource() 297 node->first_usage = 0; in vmw_validation_add_resource() 301 node = vmw_validation_mem_alloc(ctx, sizeof(*node) + priv_size); in vmw_validation_add_resource() 302 if (!node) { in vmw_validation_add_resource() 309 hash_add_rcu(ctx->sw_context->res_ht, &node->hash.head, node->hash.key); in vmw_validation_add_resource() 312 if (!node->res) in vmw_validation_add_resource() 315 node->first_usage = 1; in vmw_validation_add_resource() 335 node->dirty_set = 1; in vmw_validation_add_resource() 340 *first_usage = node->first_usage; in vmw_validation_add_resource() [all …]
|
| /linux-6.15/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_mmu.c | 138 struct drm_mm_node *node, size_t size) in etnaviv_iommu_find_iova() argument 269 struct drm_mm_node *node; in etnaviv_iommu_map_gem() local 291 node = &mapping->vram_node; in etnaviv_iommu_map_gem() 300 mapping->iova = node->start; in etnaviv_iommu_map_gem() 305 drm_mm_remove_node(node); in etnaviv_iommu_map_gem() 417 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_get_suballoc_va() local 426 mapping->iova = node->start; in etnaviv_iommu_get_suballoc_va() 430 drm_mm_remove_node(node); in etnaviv_iommu_get_suballoc_va() 449 struct drm_mm_node *node = &mapping->vram_node; in etnaviv_iommu_put_suballoc_va() local 459 etnaviv_context_unmap(context, node->start, node->size); in etnaviv_iommu_put_suballoc_va() [all …]
|
| /linux-6.15/arch/x86/pci/ |
| H A D | acpi.c | 455 int node = acpi_get_node(device->handle); in pci_acpi_root_get_node() local 457 if (node == NUMA_NO_NODE) { in pci_acpi_root_get_node() 458 node = x86_pci_root_bus_node(busnum); in pci_acpi_root_get_node() 459 if (node != 0 && node != NUMA_NO_NODE) in pci_acpi_root_get_node() 461 node); in pci_acpi_root_get_node() 463 if (node != NUMA_NO_NODE && !node_online(node)) in pci_acpi_root_get_node() 464 node = NUMA_NO_NODE; in pci_acpi_root_get_node() 466 return node; in pci_acpi_root_get_node() 537 int node = pci_acpi_root_get_node(root); in pci_acpi_scan_root() local 557 .node = node, in pci_acpi_scan_root() [all …]
|
| /linux-6.15/Documentation/firmware-guide/acpi/dsd/ |
| H A D | data-node-references.rst | 17 data extension node which is referred to by the key shall lie directly under 19 extension node. 21 The keys in the hierarchical data nodes shall consist of the name of the node, 22 "@" character and the number of the node in hexadecimal notation (without pre- 25 the node. 27 In case a hierarchical data extensions node has no numerical value, then the 38 hierarchical data extension key "node@1" referring to the NOD1 object 40 the ANOD object which is also the final target node of the reference. 48 Package () { "node@0", "NOD0" }, 49 Package () { "node@1", "NOD1" }, [all …]
|
| /linux-6.15/drivers/irqchip/ |
| H A D | irq-bcm2835.c | 135 static int __init armctrl_of_init(struct device_node *node, in armctrl_of_init() argument 143 base = of_iomap(node, 0); in armctrl_of_init() 145 panic("%pOF: unable to map IC registers\n", node); in armctrl_of_init() 147 intc.domain = irq_domain_add_linear(node, MAKE_HWIRQ(NR_BANKS, 0), in armctrl_of_init() 150 panic("%pOF: unable to create IRQ domain\n", node); in armctrl_of_init() 180 int parent_irq = irq_of_parse_and_map(node, 0); in armctrl_of_init() 184 node); in armctrl_of_init() 194 static int __init bcm2835_armctrl_of_init(struct device_node *node, in bcm2835_armctrl_of_init() argument 197 return armctrl_of_init(node, parent, false); in bcm2835_armctrl_of_init() 200 static int __init bcm2836_armctrl_of_init(struct device_node *node, in bcm2836_armctrl_of_init() argument [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_vblank_work.c | 54 list_for_each_entry_safe(work, next, &vblank->pending_work, node) { in drm_handle_vblank_works() 58 list_del_init(&work->node); in drm_handle_vblank_works() 79 list_for_each_entry_safe(work, next, &vblank->pending_work, node) { in drm_vblank_cancel_pending_works() 80 list_del_init(&work->node); in drm_vblank_cancel_pending_works() 129 if (list_empty(&work->node)) { in drm_vblank_work_schedule() 153 list_del_init(&work->node); in drm_vblank_work_schedule() 158 list_add_tail(&work->node, &vblank->pending_work); in drm_vblank_work_schedule() 192 if (!list_empty(&work->node)) { in drm_vblank_work_cancel_sync() 193 list_del_init(&work->node); in drm_vblank_work_cancel_sync() 227 wait_event_lock_irq(vblank->work_wait_queue, list_empty(&work->node), in drm_vblank_work_flush() [all …]
|
| /linux-6.15/drivers/clocksource/ |
| H A D | arc_timer.c | 32 static int noinline arc_get_timer_clk(struct device_node *node) in arc_get_timer_clk() argument 37 clk = of_clk_get(node, 0); in arc_get_timer_clk() 103 static int __init arc_cs_setup_gfrc(struct device_node *node) in arc_cs_setup_gfrc() argument 114 ret = arc_get_timer_clk(node); in arc_cs_setup_gfrc() 161 static int __init arc_cs_setup_rtc(struct device_node *node) in arc_cs_setup_rtc() argument 178 ret = arc_get_timer_clk(node); in arc_cs_setup_rtc() 214 static int __init arc_cs_setup_timer1(struct device_node *node) in arc_cs_setup_timer1() argument 222 ret = arc_get_timer_clk(node); in arc_cs_setup_timer1() 325 static int __init arc_clockevent_setup(struct device_node *node) in arc_clockevent_setup() argument 330 arc_timer_irq = irq_of_parse_and_map(node, 0); in arc_clockevent_setup() [all …]
|
| /linux-6.15/drivers/usb/host/ |
| H A D | uhci-q.c | 338 purbp = list_entry(urbp->node.prev, struct urb_priv, node); in uhci_cleanup_queue() 426 list_add_tail(&qh->node, &uhci->skel_iso_qh->node); in link_iso() 439 list_add_tail(&qh->node, &uhci->skelqh[qh->skel]->node); in link_interrupt() 441 pqh = list_entry(qh->node.prev, struct uhci_qh, node); in link_interrupt() 463 list_add(&qh->node, &pqh->node); in link_async() 507 node); in uhci_activate_qh() 525 pqh = list_entry(qh->node.prev, struct uhci_qh, node); in unlink_interrupt() 538 pqh = list_entry(qh->node.prev, struct uhci_qh, node); in unlink_async() 576 node); in uhci_unlink_qh() 577 list_move_tail(&qh->node, &uhci->skel_unlink_qh->node); in uhci_unlink_qh() [all …]
|
| /linux-6.15/drivers/clk/ |
| H A D | clk-highbank.c | 266 const char *clk_name = node->name; in hb_clk_init() 272 rc = of_property_read_u32(node, "reg", ®); in hb_clk_init() 292 parent_name = of_clk_get_parent_name(node, 0); in hb_clk_init() 306 static void __init hb_pll_init(struct device_node *node) in hb_pll_init() argument 308 hb_clk_init(node, &clk_pll_ops, 0); in hb_pll_init() 312 static void __init hb_a9periph_init(struct device_node *node) in hb_a9periph_init() argument 314 hb_clk_init(node, &a9periphclk_ops, 0); in hb_a9periph_init() 318 static void __init hb_a9bus_init(struct device_node *node) in hb_a9bus_init() argument 320 hb_clk_init(node, &a9bclk_ops, CLK_IS_CRITICAL); in hb_a9bus_init() 324 static void __init hb_emmc_init(struct device_node *node) in hb_emmc_init() argument [all …]
|