| /linux-6.15/drivers/acpi/acpica/ |
| H A D | dbnames.c | 104 struct acpi_namespace_node *node; in acpi_db_set_scope() local 118 ACPI_NS_NO_UPSEARCH, &node); in acpi_db_set_scope() 128 ACPI_NS_NO_UPSEARCH, &node); in acpi_db_set_scope() 148 acpi_gbl_db_scope_node = node; in acpi_db_set_scope() 498 node->name.ascii, node->type); in acpi_db_walk_for_object_counts() 500 info->types[node->type]++; in acpi_db_walk_for_object_counts() 529 if (!node) { in acpi_db_walk_for_fields() 792 node = (struct acpi_namespace_node *)node->object; in acpi_db_integrity_walk() 800 node, node->type); in acpi_db_integrity_walk() 875 if (node == (void *)obj_desc) { in acpi_db_walk_for_references() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_ttm_sys_mgr.c | 34 struct xe_ttm_sys_node *node; in xe_ttm_sys_mgr_new() local 37 node = kzalloc(struct_size(node, base.mm_nodes, 1), GFP_KERNEL); in xe_ttm_sys_mgr_new() 38 if (!node) in xe_ttm_sys_mgr_new() 41 node->tbo = tbo; in xe_ttm_sys_mgr_new() 50 node->base.mm_nodes[0].start = 0; in xe_ttm_sys_mgr_new() 51 node->base.mm_nodes[0].size = PFN_UP(node->base.base.size); in xe_ttm_sys_mgr_new() 52 node->base.base.start = XE_BO_INVALID_OFFSET; in xe_ttm_sys_mgr_new() 54 *res = &node->base.base; in xe_ttm_sys_mgr_new() 59 ttm_resource_fini(man, &node->base.base); in xe_ttm_sys_mgr_new() 60 kfree(node); in xe_ttm_sys_mgr_new() [all …]
|
| /linux-6.15/drivers/clk/sunxi/ |
| H A D | clk-usb.c | 91 static void __init sunxi_usb_clk_setup(struct device_node *node, in sunxi_usb_clk_setup() argument 104 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sunxi_usb_clk_setup() 108 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_usb_clk_setup() 128 of_property_read_string_index(node, "clock-output-names", in sunxi_usb_clk_setup() 141 of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in sunxi_usb_clk_setup() 152 reset_data->clk = of_clk_get(node, 0); in sunxi_usb_clk_setup() 164 reset_data->rcdev.of_node = node; in sunxi_usb_clk_setup() 175 static void __init sun4i_a10_usb_setup(struct device_node *node) in sun4i_a10_usb_setup() argument 186 static void __init sun5i_a13_usb_setup(struct device_node *node) in sun5i_a13_usb_setup() argument 197 static void __init sun6i_a31_usb_setup(struct device_node *node) in sun6i_a31_usb_setup() argument [all …]
|
| H A D | clk-simple-gates.c | 18 static void __init sunxi_simple_gates_setup(struct device_node *node, in sunxi_simple_gates_setup() argument 31 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sunxi_simple_gates_setup() 35 clk_parent = of_clk_get_parent_name(node, 0); in sunxi_simple_gates_setup() 41 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup() 48 of_property_for_each_u32(node, "clock-indices", index) { in sunxi_simple_gates_setup() 49 of_property_read_string_index(node, "clock-output-names", in sunxi_simple_gates_setup() 74 of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in sunxi_simple_gates_setup() 82 of_address_to_resource(node, 0, &res); in sunxi_simple_gates_setup() 88 sunxi_simple_gates_setup(node, NULL, 0); in sunxi_simple_gates_init() 144 static void __init sun4i_a10_ahb_init(struct device_node *node) in sun4i_a10_ahb_init() argument [all …]
|
| /linux-6.15/security/selinux/ |
| H A D | avc.c | 146 struct avc_node *node; in avc_get_hash_stats() local 499 if (!node) in avc_alloc_node() 510 return node; in avc_alloc_node() 515 node->ae.ssid = ssid; in avc_node_populate() 516 node->ae.tsid = tsid; in avc_node_populate() 518 memcpy(&node->ae.avd, avd, sizeof(node->ae.avd)); in avc_node_populate() 533 ret = node; in avc_search_node() 560 if (node) in avc_lookup() 561 return node; in avc_lookup() 619 if (!node) in avc_insert() [all …]
|
| /linux-6.15/drivers/of/ |
| H A D | dynamic.c | 36 if (node) in of_node_get() 38 return node; in of_node_get() 49 if (node) in of_node_put() 347 __func__, node->parent, node->full_name); in of_node_release() 371 node); in of_node_release() 387 __func__, node->parent, node->full_name); in of_node_release() 395 kfree(node); in of_node_release() 457 node = kzalloc(sizeof(*node), GFP_KERNEL); in __of_node_dup() 458 if (!node) in __of_node_dup() 462 kfree(node); in __of_node_dup() [all …]
|
| /linux-6.15/include/drm/ |
| H A D | spsc_queue.h | 65 static inline bool spsc_queue_push(struct spsc_queue *queue, struct spsc_node *node) in spsc_queue_push() argument 69 node->next = NULL; in spsc_queue_push() 73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push() 74 WRITE_ONCE(*tail, node); in spsc_queue_push() 91 struct spsc_node *next, *node; in spsc_queue_pop() local 96 node = READ_ONCE(queue->head); in spsc_queue_pop() 98 if (!node) in spsc_queue_pop() 101 next = READ_ONCE(node->next); in spsc_queue_pop() 108 (long)&node->next, (long) &queue->head) != (long)&node->next) { in spsc_queue_pop() 112 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop() [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_managed.c | 47 struct drmres_node node; member 60 kfree_const(dr->node.name); in free_dr() 71 dr, dr->node.name, dr->node.size); in drm_managed_release() 73 if (dr->node.release) in drm_managed_release() 74 dr->node.release(dev, dr->node.size ? *(void **)&dr->data : NULL); in drm_managed_release() 76 list_del(&dr->node.entry); in drm_managed_release() 103 dr->node.release = release; in alloc_dr() 104 dr->node.size = size; in alloc_dr() 111 list_del_init(&dr->node.entry); in del_dr() 114 dr, dr->node.name, (unsigned long) dr->node.size); in del_dr() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_sched.c | 185 if (!node) in ice_sched_add_node() 346 if (pi->sib_head[node->tc_num][node->tx_sched_layer] == node) in ice_free_sched_node() 347 pi->sib_head[node->tc_num][node->tx_sched_layer] = in ice_free_sched_node() 1171 node = node->children[0]; in ice_rm_dflt_leaf_node() 1209 node = node->children[0]; in ice_sched_rm_dflt_nodes() 1566 node = node->sibling; in ice_sched_get_vsi_node() 1598 node = node->sibling; in ice_sched_get_agg_node() 1679 node = node->sibling; in ice_sched_add_vsi_child_nodes() 1723 node = node->sibling; in ice_sched_calc_vsi_support_nodes() 1730 if (node) in ice_sched_calc_vsi_support_nodes() [all …]
|
| /linux-6.15/arch/powerpc/kexec/ |
| H A D | core.c | 174 of_remove_property(node, of_find_property(node, in export_crashk_values() 176 of_remove_property(node, of_find_property(node, in export_crashk_values() 181 of_add_property(node, &crashk_base_prop); in export_crashk_values() 183 of_add_property(node, &crashk_size_prop); in export_crashk_values() 196 struct device_node *node; in kexec_setup() local 198 node = of_find_node_by_path("/chosen"); in kexec_setup() 199 if (!node) in kexec_setup() 203 of_remove_property(node, of_find_property(node, kernel_end_prop.name, NULL)); in kexec_setup() 207 of_add_property(node, &kernel_end_prop); in kexec_setup() 209 export_crashk_values(node); in kexec_setup() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | llist.h | 84 static inline void init_llist_node(struct llist_node *node) in init_llist_node() argument 86 node->next = node; in init_llist_node() 98 static inline bool llist_on_list(const struct llist_node *node) in llist_on_list() argument 100 return node->next != node; in llist_on_list() 143 #define llist_for_each(pos, node) \ argument 144 for ((pos) = (node); pos; (pos) = (pos)->next) 162 #define llist_for_each_safe(pos, n, node) \ argument 180 #define llist_for_each_entry(pos, node, member) \ argument 181 for ((pos) = llist_entry((node), typeof(*(pos)), member); \ 203 for (pos = llist_entry((node), typeof(*pos), member); \ [all …]
|
| /linux-6.15/drivers/interconnect/ |
| H A D | icc-clk.c | 84 struct icc_node *node; in icc_clk_register() local 113 if (IS_ERR(node)) { in icc_clk_register() 114 ret = PTR_ERR(node); in icc_clk_register() 119 if (!node->name) { in icc_clk_register() 124 node->data = &qp->clocks[i]; in icc_clk_register() 125 icc_node_add(node, provider); in icc_clk_register() 128 onecell->nodes[j++] = node; in icc_clk_register() 131 if (IS_ERR(node)) { in icc_clk_register() 132 ret = PTR_ERR(node); in icc_clk_register() 137 if (!node->name) { in icc_clk_register() [all …]
|
| /linux-6.15/drivers/iommu/iommufd/ |
| H A D | io_pagetable.h | 40 struct interval_tree_node node; member 54 struct interval_tree_node node; member 58 struct interval_tree_node node; member 83 return area->node.start; in iopt_area_iova() 88 return area->node.last; in iopt_area_last_iova() 93 return (area->node.last - area->node.start) + 1; in iopt_area_length() 122 struct interval_tree_node *node; \ 129 return container_of(node, struct iopt_##name, node); \ 137 node = interval_tree_iter_next(&last_node->node, start, last); \ 140 return container_of(node, struct iopt_##name, node); \ [all …]
|
| /linux-6.15/drivers/accel/amdxdna/ |
| H A D | aie2_solver.c | 150 if (node->rid == rid) in rg_search_node() 151 return node; in rg_search_node() 174 list_del(&node->list); in remove_solver_node() 177 if (node->pt_node) in remove_solver_node() 180 kfree(node); in remove_solver_node() 269 node = kzalloc(struct_size(node, start_cols, cdop->cols_len), GFP_KERNEL); in create_solver_node() 270 if (!node) in create_solver_node() 273 node->rid = req->rid; in create_solver_node() 283 return node; in create_solver_node() 286 kfree(node); in create_solver_node() [all …]
|
| /linux-6.15/scripts/dtc/ |
| H A D | fdtput.c | 123 int node; in store_key_value() local 127 if (node < 0) { in store_key_value() 128 report_error(node_name, -1, node); in store_key_value() 154 int node, offset = 0; in create_paths() local 168 if (node == -FDT_ERR_NOTFOUND) { in create_paths() 172 if (node < 0) { in create_paths() 194 int node = 0; in create_node() local 206 if (node < 0) { in create_node() 212 node = fdt_add_subnode(blob, node, p + 1); in create_node() 213 if (node < 0) { in create_node() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/cpu/ |
| H A D | cpu-topology.txt | 46 - cpu-map node 58 The cpu-map node's parent node must be the cpus node. 69 - socket node 71 - core node 72 - thread node 100 - socket node 112 A socket node can not be a leaf node. 126 A cluster node can not be a leaf node. 135 - core node 154 If a core node is not a leaf node (CPUs supporting SMT) a core node's [all …]
|
| /linux-6.15/drivers/staging/media/ipu3/ |
| H A D | ipu3-v4l2.c | 56 unsigned int node; in imgu_subdev_s_stream() local 88 if (node == IMGU_NODE_STAT_3A || node == IMGU_NODE_PARAMS) in imgu_subdev_s_stream() 383 node->pipe, node->id); in imgu_vb2_buf_queue() 441 __func__, p, i, node->name, node->enabled); in imgu_all_nodes_streaming() 444 if (node->enabled && !vb2_start_streaming_called(&node->vbq)) in imgu_all_nodes_streaming() 478 node->name, node->pipe, node->id); in imgu_vb2_start_streaming() 494 pipe = node->pipe; in imgu_vb2_start_streaming() 833 return imgu_fmt(imgu, node->pipe, node->id, f, true); in imgu_vidioc_try_fmt() 851 return imgu_fmt(imgu, node->pipe, node->id, f, false); in imgu_vidioc_s_fmt() 1054 switch (node) { in imgu_node_to_v4l2() [all …]
|
| /linux-6.15/drivers/clk/ti/ |
| H A D | fixed-factor.c | 28 static void __init of_ti_fixed_factor_clk_setup(struct device_node *node) in of_ti_fixed_factor_clk_setup() argument 31 const char *clk_name = ti_dt_clk_name(node); in of_ti_fixed_factor_clk_setup() 36 if (of_property_read_u32(node, "ti,clock-div", &div)) { in of_ti_fixed_factor_clk_setup() 37 pr_err("%pOFn must have a clock-div property\n", node); in of_ti_fixed_factor_clk_setup() 41 if (of_property_read_u32(node, "ti,clock-mult", &mult)) { in of_ti_fixed_factor_clk_setup() 42 pr_err("%pOFn must have a clock-mult property\n", node); in of_ti_fixed_factor_clk_setup() 46 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_ti_fixed_factor_clk_setup() 49 parent_name = of_clk_get_parent_name(node, 0); in of_ti_fixed_factor_clk_setup() 55 of_clk_add_provider(node, of_clk_src_simple_get, clk); in of_ti_fixed_factor_clk_setup() 56 of_ti_clk_autoidle_setup(node); in of_ti_fixed_factor_clk_setup()
|
| H A D | clk.c | 174 struct device_node *node, *parent, *child; in ti_dt_clocks_register() local 213 parent = node; in ti_dt_clocks_register() 219 node = child; in ti_dt_clocks_register() 223 clkspec.np = node; in ti_dt_clocks_register() 230 of_node_put(node); in ti_dt_clocks_register() 235 of_node_put(node); in ti_dt_clocks_register() 263 struct device_node *node; member 290 retry->node = node; in ti_clk_retry_init() 316 if (clocks_node_ptr[i] == node->parent) in ti_clk_get_reg_addr() 476 retry->func(retry->user, retry->node); in ti_dt_clk_init_retry_clks() [all …]
|
| /linux-6.15/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-debug.c | 322 struct bdisp_node *node; in last_nodes_show() local 331 node = bdisp->dbg.copy_node[i]; in last_nodes_show() 332 if (!node) in last_nodes_show() 348 bdisp_dbg_dump_sty(s, node->s1ty, node->s1ba, "S1TY"); in last_nodes_show() 352 bdisp_dbg_dump_sty(s, node->s2ty, node->s2ba, "S2TY"); in last_nodes_show() 357 bdisp_dbg_dump_sty(s, node->s3ty, node->s3ba, "S3TY"); in last_nodes_show() 380 bdisp_dbg_dump_ivmx(s, node->ivmx0, node->ivmx1, in last_nodes_show() 381 node->ivmx2, node->ivmx3); in last_nodes_show() 394 struct bdisp_node *node; in last_nodes_raw_show() local 405 if (!node) in last_nodes_raw_show() [all …]
|
| /linux-6.15/tools/testing/selftests/rseq/ |
| H A D | basic_percpu_ops_test.c | 183 newval = (intptr_t)node; in this_cpu_list_push() 237 node = list->c[cpu].head; in __percpu_list_pop() 238 if (!node) in __percpu_list_pop() 241 return node; in __percpu_list_pop() 260 if (node) in test_percpu_list_thread() 294 node = malloc(sizeof(*node)); in test_percpu_list() 295 assert(node); in test_percpu_list() 296 node->data = j; in test_percpu_list() 298 list.c[i].head = node; in test_percpu_list() 316 sum += node->data; in test_percpu_list() [all …]
|
| /linux-6.15/drivers/base/ |
| H A D | swnode.c | 84 if (!node) in software_node_to_swnode() 91 if (swnode->node == node) in software_node_to_swnode() 720 if (parent == swnode->node->parent && swnode->node->name && in software_node_find_by_name() 743 node = kzalloc(sizeof(*node), GFP_KERNEL); in software_node_alloc() 744 if (!node) { in software_node_alloc() 751 return node; in software_node_alloc() 757 kfree(node); in software_node_free() 802 swnode->node = node; in swnode_register() 811 if (node->name) in swnode_register() 944 if (IS_ERR(node)) in fwnode_create_software_node() [all …]
|
| /linux-6.15/drivers/acpi/numa/ |
| H A D | srat.c | 49 int node_to_pxm(int node) in node_to_pxm() argument 51 if (node < 0) in node_to_pxm() 61 if (node_to_pxm_map[node] == PXM_INVAL || pxm < node_to_pxm_map[node]) in __acpi_map_pxm_to_node() 67 int node; in acpi_map_pxm_to_node() local 76 if (node >= MAX_NUMNODES) in acpi_map_pxm_to_node() 82 return node; in acpi_map_pxm_to_node() 364 int node, pxm; in acpi_parse_memory_affinity() local 404 node, pxm, in acpi_parse_memory_affinity() 433 int node; in acpi_parse_cfmws() local 459 node, start, end); in acpi_parse_cfmws() [all …]
|
| /linux-6.15/drivers/watchdog/ |
| H A D | octeon-wdt-main.c | 134 int node = cpu_to_node(cpu); in octeon_wdt_poke_irq() local 305 int node; in octeon_wdt_cpu_to_irq() local 309 node = cpu_to_node(cpu); in octeon_wdt_cpu_to_irq() 328 int node; in octeon_wdt_cpu_pre_down() local 333 node = cpu_to_node(cpu); in octeon_wdt_cpu_pre_down() 351 int node; in octeon_wdt_cpu_online() local 356 node = cpu_to_node(cpu); in octeon_wdt_cpu_online() 405 int node; in octeon_wdt_ping() local 412 node = cpu_to_node(cpu); in octeon_wdt_ping() 457 int node; in octeon_wdt_set_timeout() local [all …]
|
| /linux-6.15/tools/net/sunrpc/xdrgen/generators/ |
| H A D | struct.py | 20 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: 90 print(template.render(name=node.name)) 164 print(template.render(name=node.name)) 166 for field in node.fields: 241 print(template.render(name=node.name)) 243 for field in node.fields: 280 emit_struct_decoder(self.environment, node) [all …]
|