Home
last modified time | relevance | path

Searched refs:node (Results 226 – 250 of 6034) sorted by relevance

12345678910>>...242

/linux-6.15/tools/net/sunrpc/xdrgen/generators/
H A Dpointer.py20 if node.name in public_apis:
22 print(template.render(name=node.name))
84 print(template.render(name=node.name))
86 for field in node.fields[0:-1]:
90 print(template.render(name=node.name))
164 print(template.render(name=node.name))
166 for field in node.fields[0:-1]:
241 print(template.render(name=node.name))
243 for field in node.fields[0:-1]:
257 width=" + ".join(node.symbolic_width()),
[all …]
/linux-6.15/arch/powerpc/boot/
H A Dsimpleboot.c30 int node, size, i; in platform_init() local
37 node = fdt_path_offset(_dtb_start, "/"); in platform_init()
38 if (node < 0) in platform_init()
40 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init()
43 ns = fdt_getprop(_dtb_start, node, "#size-cells", &size); in platform_init()
48 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
50 if (node < 0) in platform_init()
52 reg = fdt_getprop(_dtb_start, node, "reg", &size); in platform_init()
69 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
71 if (!node) in platform_init()
[all …]
/linux-6.15/tools/net/sunrpc/xdrgen/subcmds/
H A Dsource.py32 if isinstance(node, _XdrEnum):
34 elif isinstance(node, _XdrPointer):
36 elif isinstance(node, _XdrTypedef):
38 elif isinstance(node, _XdrStruct):
40 elif isinstance(node, _XdrUnion):
42 elif isinstance(node, _RpcProgram):
46 gen.emit_decoder(node)
51 if isinstance(node, _XdrEnum):
57 elif isinstance(node, _XdrStruct):
59 elif isinstance(node, _XdrUnion):
[all …]
/linux-6.15/arch/arm64/mm/
H A Dkasan_init.c39 MEMBLOCK_ALLOC_NOLEAKTRACE, node); in kasan_alloc_zeroed_page()
42 __func__, PAGE_SIZE, PAGE_SIZE, node, in kasan_alloc_zeroed_page()
53 node); in kasan_alloc_raw_page()
56 __func__, PAGE_SIZE, PAGE_SIZE, node, in kasan_alloc_raw_page()
68 : kasan_alloc_zeroed_page(node); in kasan_pte_offset()
82 : kasan_alloc_zeroed_page(node); in kasan_pmd_offset()
95 : kasan_alloc_zeroed_page(node); in kasan_pud_offset()
108 : kasan_alloc_zeroed_page(node); in kasan_p4d_offset()
124 : kasan_alloc_raw_page(node); in kasan_pte_populate()
169 int node, bool early) in kasan_pgd_populate() argument
[all …]
/linux-6.15/kernel/trace/
H A Dtrace_stat.c27 struct rb_node node; member
171 struct rb_node *node; in stat_seq_start() local
186 for (i = 0; node && i < n; i++) in stat_seq_start()
187 node = rb_next(node); in stat_seq_start()
189 return node; in stat_seq_start()
195 struct rb_node *node = p; in stat_seq_next() local
202 return rb_next(node); in stat_seq_next()
320 if (node->ts == trace) in register_stat_tracer()
347 struct stat_session *node, *tmp; in unregister_stat_tracer() local
351 if (node->ts == trace) { in unregister_stat_tracer()
[all …]
/linux-6.15/tools/testing/selftests/net/
H A Dreuseport_bpf_numa.c197 int epfd, node; in test() local
205 for (node = 0; node < len; ++node) { in test()
207 ev.data.fd = rcv_fd[node]; in test()
213 for (node = 0; node < len; ++node) { in test()
216 send_from_node(node, family, proto); in test()
217 receive_on_node(rcv_fd, len, epfd, node, proto); in test()
221 for (node = len - 1; node >= 0; --node) { in test()
224 send_from_node(node, family, proto); in test()
225 receive_on_node(rcv_fd, len, epfd, node, proto); in test()
229 for (node = 0; node < len; ++node) in test()
[all …]
/linux-6.15/drivers/i2c/
H A Di2c-core-of-prober.c41 if (!node) { in i2c_of_probe_get_i2c_node()
64 dev_dbg(dev, "Enabling %pOF\n", node); in i2c_of_probe_enable_node()
147 if (of_device_is_available(node)) in i2c_of_probe_component()
165 if (of_property_read_u32(node, "reg", &addr)) in i2c_of_probe_component()
173 ret = i2c_of_probe_enable_node(dev, node); in i2c_of_probe_component()
206 supply_name, node); in i2c_of_probe_simple_get_supply()
323 struct device_node *node; in i2c_of_probe_simple_enable() local
336 node = of_get_compatible_child(bus_node, compat); in i2c_of_probe_simple_enable()
337 if (!node) in i2c_of_probe_simple_enable()
345 ret = i2c_of_probe_simple_get_gpiod(dev, node, ctx); in i2c_of_probe_simple_enable()
[all …]
/linux-6.15/kernel/locking/
H A Dqspinlock_paravirt.h169 struct pv_node *node; member
218 WRITE_ONCE(he->node, node); in pv_hash()
240 struct pv_node *node; in pv_unhash() local
244 node = READ_ONCE(he->node); in pv_unhash()
246 return node; in pv_unhash()
299 if (READ_ONCE(node->locked)) in pv_wait_node()
319 if (!READ_ONCE(node->locked)) { in pv_wait_node()
340 !READ_ONCE(node->locked)); in pv_wait_node()
501 struct pv_node *node; in __pv_queued_spin_unlock_slowpath() local
523 node = pv_unhash(lock); in __pv_queued_spin_unlock_slowpath()
[all …]
/linux-6.15/drivers/clk/sunxi/
H A Dclk-mod0.c72 reg = of_iomap(node, 0); in sun4i_a10_mod0_setup()
82 sunxi_factors_register(node, &sun4i_a10_mod0_data, in sun4i_a10_mod0_setup()
131 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun9i_a80_mod0_setup()
134 node); in sun9i_a80_mod0_setup()
138 sunxi_factors_register(node, &sun9i_a80_mod0_data, in sun9i_a80_mod0_setup()
149 reg = of_iomap(node, 0); in sun5i_a13_mbus_setup()
156 sunxi_factors_register_critical(node, &sun4i_a10_mod0_data, in sun5i_a13_mbus_setup()
288 static void __init sunxi_mmc_setup(struct device_node *node, in sunxi_mmc_setup() argument
297 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sunxi_mmc_setup()
299 pr_err("Couldn't map the %pOFn clock registers\n", node); in sunxi_mmc_setup()
[all …]
/linux-6.15/arch/mips/sgi-ip27/
H A Dip27-memory.c319 nasid_t node; in szmem() local
321 for_each_online_node(node) { in szmem()
339 slot, node); in szmem()
344 PFN_PHYS(slot_psize), node, in szmem()
363 node_data[node] = &__node_data[node]->pglist; in node_mem_init()
368 cpumask_clear(&hub_data(node)->h_cpus); in node_mem_init()
394 nasid_t node; in prom_meminit() local
400 for (node = 0; node < MAX_NUMNODES; node++) { in prom_meminit()
401 if (node_online(node)) { in prom_meminit()
402 node_mem_init(node); in prom_meminit()
[all …]
/linux-6.15/drivers/acpi/
H A Dviot.c136 } *node = (void *)hdr; in viot_get_iommu() local
152 if (hdr->length < sizeof(node->pci)) in viot_get_iommu()
156 node->pci.bdf); in viot_get_iommu()
163 node->mmio.base_address); in viot_get_iommu()
187 } *node = (void *)hdr; in viot_parse_node() local
209 ep->bdf_start = node->pci.bdf_start; in viot_parse_node()
210 ep->bdf_end = node->pci.bdf_end; in viot_parse_node()
281 struct acpi_viot_header *node; in acpi_viot_init() local
297 if (viot_parse_node(node)) in acpi_viot_init()
300 node = ACPI_ADD_PTR(struct acpi_viot_header, node, in acpi_viot_init()
[all …]
/linux-6.15/fs/jffs2/
H A Dnodelist.c104 if (this->node) { in jffs2_obsolete_node_frag()
109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag()
114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag()
241 if (this->node) in jffs2_add_frag_to_fragtree()
249 if (this->node) in jffs2_add_frag_to_fragtree()
252 ref_offset(this->node->raw), ref_flags(this->node->raw)); in jffs2_add_frag_to_fragtree()
266 if (this->node) in jffs2_add_frag_to_fragtree()
273 if (this->node) in jffs2_add_frag_to_fragtree()
352 if (this->node) in jffs2_add_frag_to_fragtree()
390 if (prev->node) in jffs2_add_full_dnode_to_inode()
[all …]
/linux-6.15/arch/loongarch/mm/
H A Dkasan_init.c171 unsigned long end, int node, bool early) in kasan_pte_populate() argument
179 : kasan_alloc_zeroed_page(node); in kasan_pte_populate()
186 unsigned long end, int node, bool early) in kasan_pmd_populate() argument
193 kasan_pte_populate(pmdp, addr, next, node, early); in kasan_pmd_populate()
198 unsigned long end, int node, bool early) in kasan_pud_populate() argument
205 kasan_pmd_populate(pudp, addr, next, node, early); in kasan_pud_populate()
210 unsigned long end, int node, bool early) in kasan_p4d_populate() argument
217 kasan_pud_populate(p4dp, addr, next, node, early); in kasan_p4d_populate()
222 int node, bool early) in kasan_pgd_populate() argument
231 kasan_p4d_populate(pgdp, addr, next, node, early); in kasan_pgd_populate()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
H A Dqos_tracepoint.h68 const struct mlx5_esw_sched_node *node,
70 TP_ARGS(dev, node, tsar_ix),
72 __field(const void *, node)
76 __entry->node = node;
86 const struct mlx5_esw_sched_node *node,
88 TP_ARGS(dev, node, tsar_ix)
93 const struct mlx5_esw_sched_node *node,
95 TP_ARGS(dev, node, tsar_ix)
100 const struct mlx5_esw_sched_node *node,
104 __field(const void *, node)
[all …]
/linux-6.15/drivers/acpi/riscv/
H A Drhct.c40 struct acpi_rhct_node_header *node, *ref_node, *end; in acpi_get_riscv_isa() local
61 for (node = ACPI_ADD_PTR(struct acpi_rhct_node_header, rhct, rhct->node_offset); in acpi_get_riscv_isa()
62 node < end; in acpi_get_riscv_isa()
63 node = ACPI_ADD_PTR(struct acpi_rhct_node_header, node, node->length)) { in acpi_get_riscv_isa()
64 if (node->type == ACPI_RHCT_NODE_TYPE_HART_INFO) { in acpi_get_riscv_isa()
65 hart_info = ACPI_ADD_PTR(struct acpi_rhct_hart_info, node, size_hdr); in acpi_get_riscv_isa()
136 struct acpi_rhct_node_header *node, *end; in acpi_get_cbo_block_size() local
162 node < end; in acpi_get_cbo_block_size()
163 node = ACPI_ADD_PTR(struct acpi_rhct_node_header, node, node->length)) { in acpi_get_cbo_block_size()
164 if (node->type == ACPI_RHCT_NODE_TYPE_HART_INFO) { in acpi_get_cbo_block_size()
[all …]
/linux-6.15/include/linux/
H A Dmemory-tiers.h44 void init_node_memory_type(int node, struct memory_dev_type *default_type);
45 void clear_node_memory_type(int node, struct memory_dev_type *memtype);
48 int mt_calc_adistance(int node, int *adist);
56 int next_demotion_node(int node);
58 bool node_is_toptier(int node);
60 static inline int next_demotion_node(int node) in next_demotion_node() argument
70 static inline bool node_is_toptier(int node) in node_is_toptier() argument
99 static inline void clear_node_memory_type(int node, struct memory_dev_type *memtype) in clear_node_memory_type() argument
104 static inline int next_demotion_node(int node) in next_demotion_node() argument
114 static inline bool node_is_toptier(int node) in node_is_toptier() argument
[all …]
/linux-6.15/arch/alpha/kernel/
H A Dgct.c14 gct6_find_nodes(gct6_node *node, gct6_search_struct *search) in gct6_find_nodes() argument
20 if (node->magic != GCT_NODE_MAGIC) { in gct6_find_nodes()
29 if (node->type != wanted->type) in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
36 wanted->callout(node); in gct6_find_nodes()
40 if (node->next) in gct6_find_nodes()
41 status |= gct6_find_nodes(GCT_NODE_PTR(node->next), search); in gct6_find_nodes()
44 if (node->child) in gct6_find_nodes()
45 status |= gct6_find_nodes(GCT_NODE_PTR(node->child), search); in gct6_find_nodes()
/linux-6.15/net/hsr/
H A Dhsr_debugfs.c22 struct hsr_node *node; in hsr_node_table_show() local
34 list_for_each_entry_rcu(node, &priv->node_db, mac_list) { in hsr_node_table_show()
36 if (hsr_addr_is_self(priv, node->macaddress_A)) in hsr_node_table_show()
38 seq_printf(sfp, "%pM ", &node->macaddress_A[0]); in hsr_node_table_show()
39 seq_printf(sfp, "%pM ", &node->macaddress_B[0]); in hsr_node_table_show()
40 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_A]); in hsr_node_table_show()
41 seq_printf(sfp, "%10lx, ", node->time_in[HSR_PT_SLAVE_B]); in hsr_node_table_show()
42 seq_printf(sfp, "%14x, ", node->addr_B_port); in hsr_node_table_show()
46 node->san_a, node->san_b, in hsr_node_table_show()
47 (node->san_a == 0 && node->san_b == 0)); in hsr_node_table_show()
/linux-6.15/drivers/acpi/acpica/
H A Dnsxfobj.c33 struct acpi_namespace_node *node; in acpi_get_type() local
56 node = acpi_ns_validate_handle(handle); in acpi_get_type()
57 if (!node) { in acpi_get_type()
62 *ret_type = node->type; in acpi_get_type()
85 struct acpi_namespace_node *node; in ACPI_EXPORT_SYMBOL() local
106 node = acpi_ns_validate_handle(handle); in ACPI_EXPORT_SYMBOL()
107 if (!node) { in ACPI_EXPORT_SYMBOL()
114 parent_node = node->parent; in ACPI_EXPORT_SYMBOL()
154 struct acpi_namespace_node *node; in ACPI_EXPORT_SYMBOL() local
194 if (!node) { in ACPI_EXPORT_SYMBOL()
[all …]
/linux-6.15/tools/perf/
H A Dbuiltin-kmem.c99 node = &(*node)->rb_right; in insert_alloc_stat()
101 node = &(*node)->rb_left; in insert_alloc_stat()
122 rb_link_node(&data->node, parent, node); in insert_alloc_stat()
144 node = &(*node)->rb_right; in insert_caller_stat()
146 node = &(*node)->rb_left; in insert_caller_stat()
167 rb_link_node(&data->node, parent, node); in insert_caller_stat()
237 node = node->rb_left; in search_alloc_stat()
239 node = node->rb_right; in search_alloc_stat()
493 rb_link_node(&data->node, parent, node); in __page_stat__findnew_page()
548 rb_link_node(&data->node, parent, node); in __page_stat__findnew_alloc()
[all …]
/linux-6.15/scripts/gdb/linux/
H A Dlists.py35 node = head['next'].dereference()
36 while node.address != head.address:
37 yield node.address
38 node = node['next'].dereference()
42 for node in list_for_each(head):
43 yield utils.container_of(node, gdbtype, member)
53 node = head['first'].dereference()
54 while node.address:
55 yield node.address
56 node = node['next'].dereference()
[all …]
/linux-6.15/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c45 static bool omapdss_device_is_registered(struct device_node *node) in omapdss_device_is_registered() argument
53 if (dssdev->dev->of_node == node) { in omapdss_device_is_registered()
81 if (dssdev->dev->of_node == node) in omapdss_find_device_by_node()
183 struct device_node *node; member
193 if (comp->node == node) in omapdss_list_contains()
208 ret = of_property_read_string(node, "compatible", &compat); in omapdss_walk_device()
214 comp->node = node; in omapdss_walk_device()
224 n = of_get_child_by_name(node, "ports"); in omapdss_walk_device()
226 n = of_get_child_by_name(node, "port"); in omapdss_walk_device()
232 for_each_endpoint_of_node(node, n) { in omapdss_walk_device()
[all …]
/linux-6.15/drivers/irqchip/
H A Dirq-csky-apb-intc.c71 if (of_property_read_bool(node, "csky,support-pulse-signal")) in ck_set_gc()
111 reg_base = of_iomap(node, 0); in ck_intc_init_comm()
113 pr_err("C-SKY Intc unable to map: %p.\n", node); in ck_intc_init_comm()
117 root_domain = irq_domain_add_linear(node, nr_irq, in ck_intc_init_comm()
168 ret = ck_intc_init_comm(node, parent); in gx_intc_init()
186 ck_set_gc(node, reg_base, GX_INTC_NEN31_00, 0); in gx_intc_init()
187 ck_set_gc(node, reg_base, GX_INTC_NEN63_32, 32); in gx_intc_init()
235 ret = ck_intc_init_comm(node, parent); in ck_intc_init()
246 ck_set_gc(node, reg_base, CK_INTC_NEN31_00, 0); in ck_intc_init()
247 ck_set_gc(node, reg_base, CK_INTC_NEN63_32, 32); in ck_intc_init()
[all …]
/linux-6.15/arch/riscv/kernel/
H A Dcpu.c34 *hart = (unsigned long)of_get_cpu_hwid(node, 0); in riscv_of_processor_hartid()
54 if (!of_device_is_compatible(node, "riscv")) { in riscv_early_of_processor_hartid()
59 *hart = (unsigned long)of_get_cpu_hwid(node, 0); in riscv_early_of_processor_hartid()
65 if (!of_device_is_available(node)) { in riscv_early_of_processor_hartid()
83 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid()
129 for (; node; node = node->parent) { in riscv_of_parent_hartid()
130 if (of_device_is_compatible(node, "riscv")) { in riscv_of_parent_hartid()
131 *hartid = (unsigned long)of_get_cpu_hwid(node, 0); in riscv_of_parent_hartid()
335 struct device_node *node; in c_show() local
352 node = of_get_cpu_node(cpu_id, NULL); in c_show()
[all …]
/linux-6.15/drivers/of/
H A Dfdt.c574 int (*it)(unsigned long node, in of_scan_flat_dt_subnodes() argument
580 int node; in of_scan_flat_dt_subnodes() local
587 rc = it(node, pathp, data); in of_scan_flat_dt_subnodes()
855 if ((long)node < 0) in early_init_dt_check_for_usable_mem_range()
937 if (node < 0) in early_init_dt_scan_root()
969 int node, found_memory = 0; in early_init_dt_scan_memory() local
972 fdt_for_each_subnode(node, fdt, 0) { in early_init_dt_scan_memory()
1024 int l, node; in early_init_dt_scan_chosen() local
1030 if (node < 0) in early_init_dt_scan_chosen()
1032 if (node < 0) in early_init_dt_scan_chosen()
[all …]

12345678910>>...242