Home
last modified time | relevance | path

Searched refs:node (Results 1051 - 1075 of 12430) sorted by relevance

1...<<41424344454647484950>>...498

/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Dcuboot-pq2.c44 * For any node defined as compatible with fsl,pq2-localbus,
110 printf("Bad /localbus node\r\n"); in update_cs_ranges()
127 void *node, *parent_node; in fixup_pci() local
130 node = finddevice("/pci"); in fixup_pci()
131 if (!node || !dt_is_compatible(node, "fsl,pq2-pci")) in fixup_pci()
135 if (!dt_xlate_reg(node, i, in fixup_pci()
143 dt_get_reg_format(node, &naddr, &nsize); in fixup_pci()
147 parent_node = get_parent(node); in fixup_pci()
155 len = getprop(node, "range in fixup_pci()
244 void *node; pq2_platform_fixups() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kexec/
H A Dcore_64.c39 struct device_node *node; in machine_kexec_prepare() local
53 for_each_node_by_type(node, "pci") { in machine_kexec_prepare()
54 basep = of_get_property(node, "linux,tce-base", NULL); in machine_kexec_prepare()
55 sizep = of_get_property(node, "linux,tce-size", NULL); in machine_kexec_prepare()
67 of_node_put(node); in machine_kexec_prepare()
399 struct device_node *node; in export_htab_values() local
405 node = of_find_node_by_path("/chosen"); in export_htab_values()
406 if (!node) in export_htab_values()
410 of_remove_property(node, of_find_property(node, htab_base_pro in export_htab_values()
[all...]
/kernel/linux/linux-5.10/scripts/dtc/
H A Dfdtget.c24 MODE_SHOW_VALUE, /* show values for node properties */
25 MODE_LIST_PROPS, /* list the properties for a node */
26 MODE_LIST_SUBNODES, /* list the subnodes of a node */
34 const char *default_val; /* default value if node/property not found */
102 * List all properties in a node, one per line.
105 * @param node Node to display
108 static int list_properties(const void *blob, int node) in list_properties() argument
114 prop = fdt_first_property_offset(blob, node); in list_properties()
130 * List all subnodes in a node, one per line
133 * @param node Nod
136 list_subnodes(const void *blob, int node) list_subnodes() argument
192 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) show_data_for_item() argument
241 int i, node; do_fdtget() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dcpuhotplug.h286 struct hlist_node *node), in cpuhp_setup_state_multi()
288 struct hlist_node *node)) in cpuhp_setup_state_multi()
295 int __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node,
298 struct hlist_node *node, bool invoke);
304 * @node: The node for this individual state.
311 struct hlist_node *node) in cpuhp_state_add_instance()
313 return __cpuhp_state_add_instance(state, node, true); in cpuhp_state_add_instance()
320 * @node: The node fo
283 cpuhp_setup_state_multi(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu, struct hlist_node *node), int (*teardown)(unsigned int cpu, struct hlist_node *node)) cpuhp_setup_state_multi() argument
310 cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance() argument
325 cpuhp_state_add_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls() argument
332 cpuhp_state_add_instance_nocalls_cpuslocked(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls_cpuslocked() argument
393 cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance() argument
407 cpuhp_state_remove_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance_nocalls() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dcpuhotplug.h372 struct hlist_node *node), in cpuhp_setup_state_multi()
374 struct hlist_node *node)) in cpuhp_setup_state_multi()
381 int __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node,
384 struct hlist_node *node, bool invoke);
390 * @node: The node for this individual state.
398 struct hlist_node *node) in cpuhp_state_add_instance()
400 return __cpuhp_state_add_instance(state, node, true); in cpuhp_state_add_instance()
407 * @node: The node fo
369 cpuhp_setup_state_multi(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu, struct hlist_node *node), int (*teardown)(unsigned int cpu, struct hlist_node *node)) cpuhp_setup_state_multi() argument
397 cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance() argument
413 cpuhp_state_add_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls() argument
431 cpuhp_state_add_instance_nocalls_cpuslocked(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_add_instance_nocalls_cpuslocked() argument
500 cpuhp_state_remove_instance(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance() argument
514 cpuhp_state_remove_instance_nocalls(enum cpuhp_state state, struct hlist_node *node) cpuhp_state_remove_instance_nocalls() argument
[all...]
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-mscc-ocelot.c117 static int __init vcoreiii_irq_init(struct device_node *node, in vcoreiii_irq_init() argument
125 parent_irq = irq_of_parse_and_map(node, 0); in vcoreiii_irq_init()
129 domain = irq_domain_add_linear(node, p->n_irq, in vcoreiii_irq_init()
132 pr_err("%pOFn: unable to add irq domain\n", node); in vcoreiii_irq_init()
140 pr_err("%pOFn: unable to alloc irq domain gc\n", node); in vcoreiii_irq_init()
145 gc->reg_base = of_iomap(node, 0); in vcoreiii_irq_init()
147 pr_err("%pOFn: unable to map resource\n", node); in vcoreiii_irq_init()
188 static int __init ocelot_irq_init(struct device_node *node, in ocelot_irq_init() argument
191 return vcoreiii_irq_init(node, parent, &ocelot_props); in ocelot_irq_init()
196 static int __init serval_irq_init(struct device_node *node, in serval_irq_init() argument
204 luton_irq_init(struct device_node *node, struct device_node *parent) luton_irq_init() argument
212 jaguar2_irq_init(struct device_node *node, struct device_node *parent) jaguar2_irq_init() argument
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dfdtget.c24 MODE_SHOW_VALUE, /* show values for node properties */
25 MODE_LIST_PROPS, /* list the properties for a node */
26 MODE_LIST_SUBNODES, /* list the subnodes of a node */
34 const char *default_val; /* default value if node/property not found */
102 * List all properties in a node, one per line.
105 * @param node Node to display
108 static int list_properties(const void *blob, int node) in list_properties() argument
114 prop = fdt_first_property_offset(blob, node); in list_properties()
130 * List all subnodes in a node, one per line
133 * @param node Nod
136 list_subnodes(const void *blob, int node) list_subnodes() argument
192 show_data_for_item(const void *blob, struct display_info *disp, int node, const char *property) show_data_for_item() argument
241 int i, node; do_fdtget() local
[all...]
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py119 for node in class_node.body:
121 if (isinstance(node, ast.Function) and node.modifiers & function_type and
122 not node.modifiers & ctor_or_dtor):
125 if node.modifiers & ast.FUNCTION_CONST:
129 if node.return_type:
130 return_type = _EscapeForMacro(_RenderType(node.return_type))
133 for p in node.parameters:
141 (indent, return_type, node.name, ', '.join(args), modifiers)
148 for node i
[all...]
/third_party/ninja/src/
H A Dmissing_deps.cc56 Node* node = state_->GetNode(*i, slash_bits); in ProcessDepfileDeps() local
57 dep_nodes_output_->push_back(node); in ProcessDepfileDeps()
66 void MissingDependencyPrinter::OnMissingDep(Node* node, const std::string& path, in OnMissingDep() argument
68 std::cout << "Missing dep: " << node->path() << " uses " << path in OnMissingDep()
78 void MissingDependencyScanner::ProcessNode(Node* node) { in ProcessNode() argument
79 if (!node) in ProcessNode()
81 Edge* edge = node->in_edge(); in ProcessNode()
84 if (!seen_.insert(node).second) in ProcessNode()
94 DepsLog::Deps* deps = deps_log_->GetDeps(node); in ProcessNode()
96 ProcessNodeDeps(node, dep in ProcessNode()
109 ProcessNodeDeps(Node* node, Node** dep_nodes, int dep_nodes_count) ProcessNodeDeps() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
H A Dmigrate_pages02.c7 * use migrate_pages() and check that address is on correct node
32 * process to another node as migrate_pages will fail if there is not
33 * enough free space on node. While running this test on x86_64
47 static void print_mem_stats(pid_t pid, int node) in print_mem_stats() argument
55 tst_res(TINFO, "mem_stats pid: %d, node: %d", pid, node); in print_mem_stats()
63 /* dump node free mem */ in print_mem_stats()
64 node_size = numa_node_size64(node, &freep); in print_mem_stats()
66 node, node_size, freep); in print_mem_stats()
69 static int migrate_to_node(pid_t pid, int node) in migrate_to_node() argument
107 int node; addr_on_node() local
121 int node; check_addr_on_node() local
[all...]
/third_party/mesa3d/src/util/tests/
H A Drb_tree_test.cpp53 struct rb_node node; member
59 struct rb_test_node *tn = rb_node_data(struct rb_test_node, n, node); in rb_test_node_cmp_void()
66 struct rb_test_node *ta = rb_node_data(struct rb_test_node, a, node); in rb_test_node_cmp()
67 struct rb_test_node *tb = rb_node_data(struct rb_test_node, b, node); in rb_test_node_cmp()
78 rb_tree_foreach(struct rb_test_node, n, tree, node) { in validate_tree_order()
99 rb_tree_foreach_safe(struct rb_test_node, n, tree, node) { in validate_tree_order()
120 rb_tree_foreach_rev(struct rb_test_node, n, tree, node) { in validate_tree_order()
141 rb_tree_foreach_rev_safe(struct rb_test_node, n, tree, node) { in validate_tree_order()
170 tn = rb_node_data(struct rb_test_node, n, node); in validate_search()
175 tn = rb_node_data(struct rb_test_node, n, node); in validate_search()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/loongson64/
H A Dnuma.c42 * apicid, cpu, node mappings
121 * __cpuid_to_node maps phyical cpu id to node, so we
138 void __init early_numa_add_cpu(int cpuid, s16 node) in early_numa_add_cpu() argument
145 cpumask_set_cpu(cpu, &cpus_on_node[node]); in early_numa_add_cpu()
146 cpumask_set_cpu(cpuid, &phys_cpus_on_node[node]); in early_numa_add_cpu()
170 pr_warn("NUMA: Warning: invalid memblk node %d [mem %#010Lx-%#010Lx]\n", in numa_add_memblk_to()
189 * @nid: NUMA node ID of the new memblk
211 pr_err("Cannot find %zu Byte for node_data (initial node: %d)\n", nd_sz, nid); in alloc_node_data()
221 static void __init node_mem_init(unsigned int node) in node_mem_init() argument
226 node_addrspace_offset = nid_to_addrbase(node); in node_mem_init()
264 add_node_intersection(u32 node, u64 start, u64 size, u32 type) add_node_intersection() argument
372 int node; init_numa_memory() local
413 unsigned int node; paging_init() local
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
H A Dhygon.c38 int i, node; in nearby_node() local
41 node = __apicid_to_node[i]; in nearby_node()
42 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
43 return node; in nearby_node()
46 node = __apicid_to_node[i]; in nearby_node()
47 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
48 return node; in nearby_node()
62 * (1) Hygon multi-node processor
136 int node; srat_detect_node() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
H A Dinterrupt.c14 * vs node numbers in the setup code
16 * a non-active node to the active node)
41 struct device_node *node; member
52 unsigned char node = bits.source >> 4; in iic_pending_to_hwnum() local
59 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum()
207 static int iic_host_match(struct irq_domain *h, struct device_node *node, in iic_host_match() argument
210 return of_device_is_compatible(node, in iic_host_match()
236 unsigned int node, ext, unit, class; in iic_host_xlate() local
248 node in iic_host_xlate()
277 init_one_iic(unsigned int hw_cpu, unsigned long addr, struct device_node *node) init_one_iic() argument
301 unsigned int node, cascade, found = 0; setup_iic() local
383 int node = cpu >> 1; iic_set_interrupt_routing() local
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Dattribute_container.c26 struct klist_node node; member
34 container_of(n, struct internal_container, node); in internal_container_klist_get()
41 container_of(n, struct internal_container, node); in internal_container_klist_put()
75 INIT_LIST_HEAD(&cont->node); in attribute_container_register()
80 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register()
102 list_del(&cont->node); in attribute_container_unregister()
149 list_for_each_entry(cont, &attribute_container_list, node) { in attribute_container_add_device()
174 klist_add_tail(&ic->node, &cont->containers); in attribute_container_add_device()
214 list_for_each_entry(cont, &attribute_container_list, node) { in attribute_container_remove_device()
224 klist_for_each_entry(ic, &cont->containers, node, in attribute_container_remove_device()
[all...]
/kernel/linux/linux-5.10/drivers/fpga/
H A Ddfl-afu-dma-region.c157 this = container_of(*new, struct dfl_afu_dma_region, node); in afu_dma_region_add()
172 rb_link_node(&region->node, parent, new); in afu_dma_region_add()
173 rb_insert_color(&region->node, &afu->dma_regions); in afu_dma_region_add()
194 rb_erase(&region->node, &afu->dma_regions); in afu_dma_region_remove()
206 struct rb_node *node = rb_first(&afu->dma_regions); in afu_dma_region_destroy() local
209 while (node) { in afu_dma_region_destroy()
210 region = container_of(node, struct dfl_afu_dma_region, node); in afu_dma_region_destroy()
215 rb_erase(node, &afu->dma_regions); in afu_dma_region_destroy()
225 node in afu_dma_region_destroy()
248 struct rb_node *node = afu->dma_regions.rb_node; afu_dma_region_find() local
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dnuma.c42 * apicid, cpu, node mappings
111 * __cpuid_to_node maps phyical cpu id to node, so we
128 void __init early_numa_add_cpu(int cpuid, s16 node) in early_numa_add_cpu() argument
135 cpumask_set_cpu(cpu, &cpus_on_node[node]); in early_numa_add_cpu()
136 cpumask_set_cpu(cpuid, &phys_cpus_on_node[node]); in early_numa_add_cpu()
160 pr_warn("NUMA: Warning: invalid memblk node %d [mem %#010Lx-%#010Lx]\n", in numa_add_memblk_to()
179 * @nid: NUMA node ID of the new memblk
201 pr_err("Cannot find %zu Byte for node_data (initial node: %d)\n", nd_sz, nid); in alloc_node_data()
211 static void __init node_mem_init(unsigned int node) in node_mem_init() argument
216 node_addrspace_offset = nid_to_addrbase(node); in node_mem_init()
255 add_node_intersection(u32 node, u64 start, u64 size, u32 type) add_node_intersection() argument
378 int node; init_numa_memory() local
419 unsigned int node; paging_init() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
H A Dinterrupt.c14 * vs node numbers in the setup code
16 * a non-active node to the active node)
42 struct device_node *node; member
53 unsigned char node = bits.source >> 4; in iic_pending_to_hwnum() local
60 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum()
204 static int iic_host_match(struct irq_domain *h, struct device_node *node, in iic_host_match() argument
207 return of_device_is_compatible(node, in iic_host_match()
233 unsigned int node, ext, unit, class; in iic_host_xlate() local
245 node in iic_host_xlate()
274 init_one_iic(unsigned int hw_cpu, unsigned long addr, struct device_node *node) init_one_iic() argument
298 unsigned int node, cascade, found = 0; setup_iic() local
380 int node = cpu >> 1; iic_set_interrupt_routing() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dworkingset.c23 * Per node, two clock lists are maintained for file pages: the
160 * For each node's LRU lists, a counter for inactive evictions and
161 * activations is maintained (node->nonresident_age).
164 * identify the node) is stored in the now empty page cache
288 * evicted page in the context of the node and the memcg whose memory
495 void workingset_update_node(struct xa_node *node) in workingset_update_node() argument
503 * as node->private_list is protected by the i_pages lock. in workingset_update_node()
507 if (node->count && node->count == node in workingset_update_node()
585 struct xa_node *node = container_of(item, struct xa_node, private_list); __must_hold() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.h162 /* lock the node for writing and traversing */
172 struct fs_node node; member
189 struct fs_node node; member
233 struct fs_node node; member
249 struct fs_node node; member
259 struct fs_node node; member
270 struct fs_node node; member
323 struct mlx5_flow_root_namespace *find_root(struct fs_node *node);
325 #define fs_get_obj(v, _node) {v = container_of((_node), typeof(*v), node); }
328 list_for_each_entry(pos, root, node
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dattribute_container.c26 struct klist_node node; member
34 container_of(n, struct internal_container, node); in internal_container_klist_get()
41 container_of(n, struct internal_container, node); in internal_container_klist_put()
75 INIT_LIST_HEAD(&cont->node); in attribute_container_register()
80 list_add_tail(&cont->node, &attribute_container_list); in attribute_container_register()
102 list_del(&cont->node); in attribute_container_unregister()
149 list_for_each_entry(cont, &attribute_container_list, node) { in attribute_container_add_device()
174 klist_add_tail(&ic->node, &cont->containers); in attribute_container_add_device()
214 list_for_each_entry(cont, &attribute_container_list, node) { in attribute_container_remove_device()
224 klist_for_each_entry(ic, &cont->containers, node, in attribute_container_remove_device()
[all...]
/kernel/linux/linux-6.6/drivers/fpga/
H A Ddfl-afu-dma-region.c157 this = container_of(*new, struct dfl_afu_dma_region, node); in afu_dma_region_add()
172 rb_link_node(&region->node, parent, new); in afu_dma_region_add()
173 rb_insert_color(&region->node, &afu->dma_regions); in afu_dma_region_add()
194 rb_erase(&region->node, &afu->dma_regions); in afu_dma_region_remove()
206 struct rb_node *node = rb_first(&afu->dma_regions); in afu_dma_region_destroy() local
209 while (node) { in afu_dma_region_destroy()
210 region = container_of(node, struct dfl_afu_dma_region, node); in afu_dma_region_destroy()
215 rb_erase(node, &afu->dma_regions); in afu_dma_region_destroy()
225 node in afu_dma_region_destroy()
248 struct rb_node *node = afu->dma_regions.rb_node; afu_dma_region_find() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dhygon.c36 int i, node; in nearby_node() local
39 node = __apicid_to_node[i]; in nearby_node()
40 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
41 return node; in nearby_node()
44 node = __apicid_to_node[i]; in nearby_node()
45 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
46 return node; in nearby_node()
60 * (1) Hygon multi-node processor
134 int node; srat_detect_node() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_gem_evict.c109 return drm_mm_scan_add_block(scan, &vma->node); in mark_free()
158 struct drm_mm_node *node; in i915_gem_evict_something() local
236 ret = drm_mm_scan_remove_block(&scan, &vma->node); in i915_gem_evict_something()
283 if (drm_mm_scan_remove_block(&scan, &vma->node)) { in i915_gem_evict_something()
300 while (ret == 0 && (node = drm_mm_scan_color_evict(&scan))) { in i915_gem_evict_something()
301 vma = container_of(node, struct i915_vma, node); in i915_gem_evict_something()
304 if (vma->node.color != I915_COLOR_UNEVICTABLE && in i915_gem_evict_something()
323 * This function will try to evict vmas that overlap the target node.
334 struct drm_mm_node *node; in i915_gem_evict_for_node() local
[all...]
/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
H A Dindex.js168 const node = this[CACHE].get(key)
169 const item = node.value
220 const node = this[LRU_LIST].tail
221 if (!node)
224 del(this, node)
225 return node.value
260 const node = self[CACHE].get(key)
261 if (node) {
262 const hit = node.value
264 del(self, node)
[all...]

Completed in 15 milliseconds

1...<<41424344454647484950>>...498