Home
last modified time | relevance | path

Searched refs:node (Results 176 – 200 of 6034) sorted by relevance

12345678910>>...242

/linux-6.15/scripts/coccinelle/api/
H A Dkvmalloc.cocci87 expression E, E1, size, node;
161 - E = vmalloc_node(size, node);
167 - E = vmalloc_node(size, node);
172 - E = vmalloc_node(size, node);
177 - E = vmalloc_node(size, node);
182 - x = vmalloc_node(size, node);
187 - x = vmalloc_node(size, node);
204 - E = vzalloc_node(size, node);
209 - E = vzalloc_node(size, node);
214 - x = vzalloc_node(size, node);
[all …]
/linux-6.15/arch/x86/kernel/cpu/
H A Dhygon.c28 int i, node; in nearby_node() local
32 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
33 return node; in nearby_node()
37 if (node != NUMA_NO_NODE && node_online(node)) in nearby_node()
38 return node; in nearby_node()
48 int node; in srat_detect_node() local
51 node = numa_cpu_node(cpu); in srat_detect_node()
52 if (node == NUMA_NO_NODE) in srat_detect_node()
53 node = c->topo.llc_id; in srat_detect_node()
63 if (!node_online(node)) { in srat_detect_node()
[all …]
/linux-6.15/drivers/acpi/acpica/
H A Devxfregn.c52 struct acpi_namespace_node *node; in acpi_install_address_space_handler_internal() local
70 node = acpi_ns_validate_handle(device); in acpi_install_address_space_handler_internal()
71 if (!node) { in acpi_install_address_space_handler_internal()
145 struct acpi_namespace_node *node; in ACPI_EXPORT_SYMBOL() local
163 node = acpi_ns_validate_handle(device); in ACPI_EXPORT_SYMBOL()
164 if (!node || in ACPI_EXPORT_SYMBOL()
168 (node != acpi_gbl_root_node))) { in ACPI_EXPORT_SYMBOL()
205 node, obj_desc)); in ACPI_EXPORT_SYMBOL()
250 node, obj_desc)); in ACPI_EXPORT_SYMBOL()
277 struct acpi_namespace_node *node; in ACPI_EXPORT_SYMBOL() local
[all …]
H A Dnseval.c52 if (!info->node) { in acpi_ns_evaluate()
63 ACPI_NS_NO_UPSEARCH, &info->node); in acpi_ns_evaluate()
74 info->node = in acpi_ns_evaluate()
76 info->node->object); in acpi_ns_evaluate()
82 info->node_flags = info->node->flags; in acpi_ns_evaluate()
83 info->obj_desc = acpi_ns_get_attached_object(info->node); in acpi_ns_evaluate()
86 info->relative_pathname, info->node, in acpi_ns_evaluate()
87 acpi_ns_get_attached_object(info->node))); in acpi_ns_evaluate()
106 acpi_ut_get_type_name(info->node->type))); in acpi_ns_evaluate()
154 switch (acpi_ns_get_type(info->node)) { in acpi_ns_evaluate()
[all …]
H A Ddbtest.c45 acpi_db_write_to_object(struct acpi_namespace_node *node,
243 struct acpi_namespace_node *node; in acpi_db_test_one_object() local
251 obj_desc = node->object; in acpi_db_test_one_object()
257 switch (node->type) { in acpi_db_test_one_object()
318 acpi_ut_get_type_name(node->type), node->name.ascii); in acpi_db_test_one_object()
345 status = acpi_db_test_package_type(node); in acpi_db_test_one_object()
785 region_obj->region.node->name.ascii); in acpi_db_test_field_unit_type()
819 params[0].reference.actual_type = node->type; in acpi_db_read_from_object()
900 params[0].reference.actual_type = node->type; in acpi_db_write_to_object()
975 struct acpi_namespace_node *node = in acpi_db_evaluate_one_predefined_name() local
[all …]
H A Dexresnte.c51 struct acpi_namespace_node *node; in acpi_ex_resolve_node_to_value() local
60 node = *object_ptr; in acpi_ex_resolve_node_to_value()
61 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value()
62 entry_type = acpi_ns_get_type((acpi_handle)node); in acpi_ex_resolve_node_to_value()
65 node, source_desc, in acpi_ex_resolve_node_to_value()
73 node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object); in acpi_ex_resolve_node_to_value()
74 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value()
76 *object_ptr = node; in acpi_ex_resolve_node_to_value()
94 node->name.ascii, node)); in acpi_ex_resolve_node_to_value()
174 node, source_desc, entry_type)); in acpi_ex_resolve_node_to_value()
[all …]
/linux-6.15/drivers/video/fbdev/omap2/omapfb/dss/
H A Domapdss-boot-init.c28 struct device_node *node; member
57 of_update_property(node, prop); in omapdss_update_prop()
108 omapdss_update_prop(node, new_compat, new_len); in omapdss_omapify_node()
116 n->node = node; in omapdss_add_to_list()
127 if (n->node == node) in omapdss_list_contains()
138 omapdss_add_to_list(node, root); in omapdss_walk_device()
144 n = of_get_child_by_name(node, "ports"); in omapdss_walk_device()
146 n = of_get_child_by_name(node, "port"); in omapdss_walk_device()
152 for_each_endpoint_of_node(node, n) { in omapdss_walk_device()
207 omapdss_omapify_node(n->node); in omapdss_boot_init()
[all …]
/linux-6.15/Documentation/core-api/
H A Drbtree.rst90 while (node) {
91 struct mytype *data = container_of(node, struct mytype, node);
97 node = node->rb_left;
99 node = node->rb_right;
193 for (node = rb_first(&mytree); node; node = rb_next(node))
194 printk("key=%s\n", rb_entry(node, struct mytype, node)->keystring);
233 each node, where the additional data for node N must be a function of
325 node = left;
331 return node; /* node is leftmost match */
333 node = rb_entry(node->rb.rb_right,
[all …]
/linux-6.15/kernel/power/
H A Dwakelock.c29 struct rb_node node; member
40 struct rb_node *node; in pm_show_wakelocks() local
46 for (node = rb_first(&wakelocks_tree); node; node = rb_next(node)) { in pm_show_wakelocks()
47 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
151 struct rb_node *parent = *node; in wakelock_lookup_add()
154 while (*node) { in wakelock_lookup_add()
157 parent = *node; in wakelock_lookup_add()
158 wl = rb_entry(*node, struct wakelock, node); in wakelock_lookup_add()
167 node = &(*node)->rb_left; in wakelock_lookup_add()
169 node = &(*node)->rb_right; in wakelock_lookup_add()
[all …]
/linux-6.15/security/selinux/ss/
H A Dconditional.c35 switch (node->expr_type) { in cond_evaluate_expr()
141 kfree(node->expr.nodes); in cond_node_destroy()
386 node->expr.nodes = kcalloc(len, sizeof(*node->expr.nodes), GFP_KERNEL); in cond_read_node()
387 if (!node->expr.nodes) in cond_read_node()
390 node->expr.len = len; in cond_read_node()
409 return cond_read_av_list(p, fp, &node->false_list, &node->true_list); in cond_read_node()
556 struct avtab_node *node; in cond_compute_xperms() local
561 for (node = avtab_search_node(ctab, key); node; in cond_compute_xperms()
562 node = avtab_search_node_next(node, key->specified)) { in cond_compute_xperms()
578 for (node = avtab_search_node(ctab, key); node; in cond_compute_av()
[all …]
/linux-6.15/lib/
H A Dassoc_array.c91 slot = node->parent_slot; in assoc_array_subtree_iterate()
218 result->terminal_node.node = node; in assoc_array_walk()
318 node = result.terminal_node.node; in assoc_array_find()
380 pr_devel("Node %p [back=%p]\n", node, node->back_pointer); in assoc_array_destroy_subtree()
400 kfree(node); in assoc_array_destroy_subtree()
488 node = result->terminal_node.node; in assoc_array_insert_into_terminal_node()
505 ptr = node->slots[i]; in assoc_array_insert_into_terminal_node()
552 ptr = node->slots[i]; in assoc_array_insert_into_terminal_node()
1105 node = result.terminal_node.node; in assoc_array_delete()
1180 parent = node; in assoc_array_delete()
[all …]
/linux-6.15/drivers/clk/ti/
H A Dapll.c129 struct device_node *node) in omap_clk_register_apll() argument
138 clk = of_clk_get(node, 0); in omap_clk_register_apll()
141 node); in omap_clk_register_apll()
150 clk = of_clk_get(node, 1); in omap_clk_register_apll()
153 node); in omap_clk_register_apll()
162 name = ti_dt_clk_name(node); in omap_clk_register_apll()
195 init->name = ti_dt_clk_name(node); in of_dra7_apll_setup()
221 omap_clk_register_apll(&clk_hw->hw, node); in of_dra7_apll_setup()
360 name = ti_dt_clk_name(node); in of_omap2_apll_setup()
366 pr_err("%pOFn must have one parent\n", node); in of_omap2_apll_setup()
[all …]
/linux-6.15/kernel/locking/
H A Dmcs_spinlock.h57 void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_lock() argument
62 node->locked = 0; in mcs_spin_lock()
63 node->next = NULL; in mcs_spin_lock()
71 prev = xchg(lock, node); in mcs_spin_lock()
83 WRITE_ONCE(prev->next, node); in mcs_spin_lock()
86 arch_mcs_spin_lock_contended(&node->locked); in mcs_spin_lock()
94 void mcs_spin_unlock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_unlock() argument
96 struct mcs_spinlock *next = READ_ONCE(node->next); in mcs_spin_unlock()
102 if (likely(cmpxchg_release(lock, node, NULL) == node)) in mcs_spin_unlock()
105 while (!(next = READ_ONCE(node->next))) in mcs_spin_unlock()
/linux-6.15/drivers/xen/xenbus/
H A Dxenbus_client.c540 info->node = kzalloc(sizeof(*info->node), GFP_KERNEL); in xenbus_map_ring_valloc()
673 struct xenbus_map_node *node = info->node; in xenbus_map_ring_hvm() local
759 struct xenbus_map_node *node = info->node; in xenbus_map_ring_pv() local
813 node = NULL; in xenbus_unmap_ring_pv()
817 if (!node) { in xenbus_unmap_ring_pv()
853 node->pv.area, node->nr_handles); in xenbus_unmap_ring_pv()
855 kfree(node); in xenbus_unmap_ring_pv()
905 if (!node) { in xenbus_unmap_ring_hvm()
913 gnttab_foreach_grant(node->hvm.pages, node->nr_handles, in xenbus_unmap_ring_hvm()
917 rv = xenbus_unmap_ring(dev, node->handles, node->nr_handles, in xenbus_unmap_ring_hvm()
[all …]
/linux-6.15/arch/s390/lib/
H A Dspinlock.c82 struct spin_wait *node; in arch_spin_lock_setup() local
86 for (ix = 0; ix < 4; ix++, node++) { in arch_spin_lock_setup()
87 memset(node, 0, sizeof(*node)); in arch_spin_lock_setup()
149 if (node == NULL || node->prev == NULL) in arch_spin_yield_target()
151 while (node->prev) in arch_spin_yield_target()
152 node = node->prev; in arch_spin_yield_target()
158 struct spin_wait *node, *next; in arch_spin_lock_queued() local
164 node = this_cpu_ptr(&spin_wait[ix]); in arch_spin_lock_queued()
165 node->prev = node->next = NULL; in arch_spin_lock_queued()
166 node_id = node->node_id; in arch_spin_lock_queued()
[all …]
/linux-6.15/drivers/i2c/
H A Di2c-core-of.c35 ret = of_property_read_u32(node, "reg", &addr); in of_i2c_get_board_info()
52 info->of_node = node; in of_i2c_get_board_info()
53 info->fwnode = of_fwnode_handle(node); in of_i2c_get_board_info()
55 if (of_property_read_bool(node, "host-notify")) in of_i2c_get_board_info()
58 if (of_property_read_bool(node, "wakeup-source")) in of_i2c_get_board_info()
66 struct device_node *node) in of_i2c_register_device() argument
87 struct device_node *bus, *node; in of_i2c_register_devices() local
100 for_each_available_child_of_node(bus, node) { in of_i2c_register_devices()
104 client = of_i2c_register_device(adap, node); in of_i2c_register_devices()
108 node); in of_i2c_register_devices()
[all …]
/linux-6.15/kernel/bpf/
H A Dpercpu_freelist.c31 node->next = head->first; in pcpu_freelist_push_node()
32 WRITE_ONCE(head->first, node); in pcpu_freelist_push_node()
36 struct pcpu_freelist_node *node) in ___pcpu_freelist_push() argument
40 pcpu_freelist_push_node(head, node); in ___pcpu_freelist_push()
46 struct pcpu_freelist_node *node) in __pcpu_freelist_push() argument
69 struct pcpu_freelist_node *node) in pcpu_freelist_push() argument
74 __pcpu_freelist_push(s, node); in pcpu_freelist_push()
112 node = head->first; in ___pcpu_freelist_pop()
113 if (node) { in ___pcpu_freelist_pop()
116 return node; in ___pcpu_freelist_pop()
[all …]
/linux-6.15/include/linux/
H A Dof_graph.h66 bool of_graph_is_present(const struct device_node *node);
67 int of_graph_parse_endpoint(const struct device_node *node,
81 const struct device_node *node);
84 const struct device_node *node);
90 static inline bool of_graph_is_present(const struct device_node *node) in of_graph_is_present() argument
112 struct device_node *node, u32 id) in of_graph_get_port_by_id() argument
145 const struct device_node *node) in of_graph_get_remote_endpoint() argument
151 struct device_node *node) in of_graph_get_port_parent() argument
157 const struct device_node *node) in of_graph_get_remote_port_parent() argument
163 const struct device_node *node) in of_graph_get_remote_port() argument
[all …]
H A Dtimerqueue.h9 struct timerqueue_node *node);
11 struct timerqueue_node *node);
13 struct timerqueue_node *node);
27 return rb_entry_safe(leftmost, struct timerqueue_node, node); in timerqueue_getnext()
30 static inline void timerqueue_init(struct timerqueue_node *node) in timerqueue_init() argument
32 RB_CLEAR_NODE(&node->node); in timerqueue_init()
35 static inline bool timerqueue_node_queued(struct timerqueue_node *node) in timerqueue_node_queued() argument
37 return !RB_EMPTY_NODE(&node->node); in timerqueue_node_queued()
/linux-6.15/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmm.h46 struct nvkm_mm_node *node; in nvkm_mm_heap_size() local
49 if (node->heap == heap) in nvkm_mm_heap_size()
50 size += node->length; in nvkm_mm_heap_size()
56 nvkm_mm_contiguous(struct nvkm_mm_node *node) in nvkm_mm_contiguous() argument
58 return !node->next; in nvkm_mm_contiguous()
62 nvkm_mm_addr(struct nvkm_mm_node *node) in nvkm_mm_addr() argument
64 if (WARN_ON(!nvkm_mm_contiguous(node))) in nvkm_mm_addr()
66 return node->offset; in nvkm_mm_addr()
70 nvkm_mm_size(struct nvkm_mm_node *node) in nvkm_mm_size() argument
74 size += node->length; in nvkm_mm_size()
[all …]
/linux-6.15/drivers/memory/
H A Dmvebu-devbus.c87 struct device_node *node, in get_timing_param_ps() argument
94 err = of_property_read_u32(node, name, &time_ps); in get_timing_param_ps()
97 node, name); in get_timing_param_ps()
109 struct device_node *node, in devbus_get_timing_params() argument
119 node); in devbus_get_timing_params()
167 err = of_property_read_u32(node, "devbus,sync-enable", in devbus_get_timing_params()
172 node); in devbus_get_timing_params()
196 struct device_node *node, in devbus_orion_set_timing_params() argument
229 struct device_node *node, in devbus_armada_set_timing_params() argument
266 struct device_node *node = pdev->dev.of_node; in mvebu_devbus_probe() local
[all …]
/linux-6.15/drivers/interconnect/mediatek/
H A Dicc-emi.c23 struct mtk_icc_node *in = node->data; in mtk_emi_icc_aggregate()
36 struct mtk_icc_node *node = dst->data; in mtk_emi_icc_set() local
45 switch (node->ep) { in mtk_emi_icc_set()
80 struct icc_node *node; in mtk_emi_icc_probe() local
111 node = icc_node_create(mnodes[i]->id); in mtk_emi_icc_probe()
112 if (IS_ERR(node)) { in mtk_emi_icc_probe()
113 ret = PTR_ERR(node); in mtk_emi_icc_probe()
117 node->name = mnodes[i]->name; in mtk_emi_icc_probe()
118 node->data = mnodes[i]; in mtk_emi_icc_probe()
119 icc_node_add(node, provider); in mtk_emi_icc_probe()
[all …]
/linux-6.15/arch/riscv/kernel/pi/
H A Dfdt_early.c11 int node, len; in get_kaslr_seed() local
15 node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_kaslr_seed()
16 if (node < 0) in get_kaslr_seed()
19 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len); in get_kaslr_seed()
42 status = fdt_getprop(fdt, node, "status", &statlen); in fdt_device_is_available()
146 prop = fdt_getprop(fdt, node, "riscv,isa", &len); in early_cpu_isa_ext_available()
164 int node, parent; in fdt_early_match_extension_isa() local
171 fdt_for_each_subnode(node, fdt, parent) { in fdt_early_match_extension_isa()
172 if (!fdt_node_name_eq(fdt, node, "cpu")) in fdt_early_match_extension_isa()
175 if (!fdt_device_is_available(fdt, node)) in fdt_early_match_extension_isa()
[all …]
/linux-6.15/arch/x86/events/intel/
H A Duncore_discovery.c43 if (node < 0) in get_device_die_id()
70 return (node) ? __node_2_type(node) : NULL; in search_uncore_discovery_type()
199 for (node = rb_first(root); node; node = rb_next(node)) { in uncore_find_unit()
200 unit = rb_entry(node, struct intel_uncore_discovery_unit, node); in uncore_find_unit()
218 rb_add(&node->node, root, unit_less); in uncore_find_add_unit()
235 node = kzalloc(sizeof(*node), GFP_KERNEL); in uncore_insert_box_info()
236 if (!node) in uncore_insert_box_info()
239 node->die = die; in uncore_insert_box_info()
245 kfree(node); in uncore_insert_box_info()
402 pos = rb_entry(node, struct intel_uncore_discovery_unit, node); in intel_uncore_clear_discovery_tables()
[all …]
/linux-6.15/lib/tests/
H A Dhashtable_test.c15 struct hlist_node node; member
43 hash_add(hash, &a.node, a.key); in hashtable_test_hash_empty()
56 hash_add(hash, &a.node, a.key); in hashtable_test_hash_hashed()
59 hash_add(hash, &b.node, b.key); in hashtable_test_hash_hashed()
74 hash_add(hash, &a.node, a.key); in hashtable_test_hash_add()
78 hash_add(hash, &b.node, b.key); in hashtable_test_hash_add()
102 hash_add(hash, &a.node, a.key); in hashtable_test_hash_del()
108 hash_del(&b.node); in hashtable_test_hash_del()
117 hash_del(&a.node); in hashtable_test_hash_del()
176 hash_del(&x->node); in hashtable_test_hash_for_each_safe()
[all …]

12345678910>>...242