| /linux-6.15/drivers/acpi/acpica/ |
| H A D | evmisc.c | 38 switch (node->type) { in acpi_ev_is_notify_object() 80 if (!acpi_ev_is_notify_object(node)) { in acpi_ev_queue_notify_request() 94 obj_desc = acpi_ns_get_attached_object(node); in acpi_ev_queue_notify_request() 111 acpi_ut_get_node_name(node), notify_value, in acpi_ev_queue_notify_request() 112 node)); in acpi_ev_queue_notify_request() 126 info->notify.node = node; in acpi_ev_queue_notify_request() 134 acpi_ut_get_node_name(node), in acpi_ev_queue_notify_request() 135 acpi_ut_get_type_name(node->type), notify_value, in acpi_ev_queue_notify_request() 137 node)); in acpi_ev_queue_notify_request() 171 info->notify.global->handler(info->notify.node, in acpi_ev_notify_dispatch() [all …]
|
| H A D | nsarguments.c | 72 info->node->flags |= ANOBJ_EVALUATED; in acpi_ns_check_argument_types() 95 struct acpi_namespace_node *node, in acpi_ns_check_acpi_compliance() argument 101 if (!predefined || (node->flags & ANOBJ_EVALUATED)) { in acpi_ns_check_acpi_compliance() 114 if (node->type != ACPI_TYPE_METHOD) { in acpi_ns_check_acpi_compliance() 122 acpi_ut_get_type_name(node-> in acpi_ns_check_acpi_compliance() 134 acpi_ut_get_type_name(node-> in acpi_ns_check_acpi_compliance() 151 aml_param_count = node->object->method.param_count; in acpi_ns_check_acpi_compliance() 188 struct acpi_namespace_node *node, in acpi_ns_check_argument_count() argument 195 if (node->flags & ANOBJ_EVALUATED) { in acpi_ns_check_argument_count() 204 if (node->type != ACPI_TYPE_METHOD) { in acpi_ns_check_argument_count() [all …]
|
| H A D | acnamesp.h | 131 void acpi_ns_delete_node(struct acpi_namespace_node *node); 133 void acpi_ns_remove_node(struct acpi_namespace_node *node); 215 struct acpi_namespace_node *node, 221 struct acpi_namespace_node *node, 295 acpi_ns_attach_object(struct acpi_namespace_node *node, 300 *node); 307 acpi_ns_attach_data(struct acpi_namespace_node *node, 311 acpi_ns_detach_data(struct acpi_namespace_node *node, 350 struct acpi_namespace_node *node, 360 struct acpi_namespace_node *node, [all …]
|
| H A D | nsxfname.c | 50 struct acpi_namespace_node *node = NULL; in acpi_get_handle() local 229 struct acpi_namespace_node *node; in acpi_get_object_info() local 255 node = acpi_ns_validate_handle(handle); in acpi_get_object_info() 256 if (!node) { in acpi_get_object_info() 264 type = node->type; in acpi_get_object_info() 265 name = node->name.integer; in acpi_get_object_info() 267 if (node->type == ACPI_TYPE_METHOD) { in acpi_get_object_info() 482 struct acpi_namespace_node *node; in ACPI_EXPORT_SYMBOL() local 548 NULL, &node); in ACPI_EXPORT_SYMBOL() 559 if (node->type != ACPI_TYPE_METHOD) { in ACPI_EXPORT_SYMBOL() [all …]
|
| /linux-6.15/drivers/acpi/arm64/ |
| H A D | apmt.c | 27 struct acpi_apmt_node *node) in apmt_init_resources() argument 32 res[num_res].start = node->base_address0; in apmt_init_resources() 33 res[num_res].end = node->base_address0 + SZ_4K - 1; in apmt_init_resources() 38 if (node->flags & ACPI_APMT_FLAGS_DUAL_PAGE) { in apmt_init_resources() 39 res[num_res].start = node->base_address1; in apmt_init_resources() 40 res[num_res].end = node->base_address1 + SZ_4K - 1; in apmt_init_resources() 46 if (node->ovflw_irq != 0) { in apmt_init_resources() 47 trigger = (node->ovflw_irq_flags & ACPI_APMT_OVFLW_IRQ_FLAGS_MODE); in apmt_init_resources() 50 irq = acpi_register_gsi(NULL, node->ovflw_irq, trigger, in apmt_init_resources() 88 count = apmt_init_resources(res, node); in apmt_add_platform_device() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 984 if (!node) in ice_devlink_rate_node_new() 1000 node = priv; in ice_devlink_rate_node_del() 1027 if (!node) in ice_devlink_rate_leaf_tx_max_set() 1042 if (!node) in ice_devlink_rate_leaf_tx_share_set() 1057 if (!node) in ice_devlink_rate_leaf_tx_priority_set() 1072 if (!node) in ice_devlink_rate_leaf_tx_weight_set() 1087 if (!node) in ice_devlink_rate_node_tx_max_set() 1102 if (!node) in ice_devlink_rate_node_tx_share_set() 1117 if (!node) in ice_devlink_rate_node_tx_priority_set() 1132 if (!node) in ice_devlink_rate_node_tx_weight_set() [all …]
|
| /linux-6.15/block/ |
| H A D | bfq-wf2q.c | 327 if (node) in bfq_entity_of() 385 while (*node) { in bfq_insert() 415 if (node) { in bfq_update_min() 465 node = parent; in bfq_update_active_tree() 489 node = node->rb_left; in bfq_active_insert() 491 node = node->rb_right; in bfq_active_insert() 548 if (!node->rb_right && !node->rb_left) in bfq_find_deepest() 579 if (node) in bfq_active_extract() 1302 while (node) { in bfq_first_active_entity() 1312 node = node->rb_left; in bfq_first_active_entity() [all …]
|
| /linux-6.15/io_uring/ |
| H A D | tctx.c | 50 struct io_tctx_node *node; in __io_uring_free() local 109 struct io_tctx_node *node; in __io_uring_add_tctx_node() local 128 node = kmalloc(sizeof(*node), GFP_KERNEL); in __io_uring_add_tctx_node() 129 if (!node) in __io_uring_add_tctx_node() 131 node->ctx = ctx; in __io_uring_add_tctx_node() 132 node->task = current; in __io_uring_add_tctx_node() 135 node, GFP_KERNEL)); in __io_uring_add_tctx_node() 137 kfree(node); in __io_uring_add_tctx_node() 170 struct io_tctx_node *node; in io_uring_del_tctx_node() local 175 if (!node) in io_uring_del_tctx_node() [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | block_validity.c | 24 struct rb_node node; member 101 node = rb_prev(new_node); in add_system_zone() 102 if (node) { in add_system_zone() 103 entry = rb_entry(node, struct ext4_system_zone, node); in add_system_zone() 113 node = rb_next(new_node); in add_system_zone() 114 if (node) { in add_system_zone() 115 entry = rb_entry(node, struct ext4_system_zone, node); in add_system_zone() 127 struct rb_node *node; in debug_print_tree() local 136 while (node) { in debug_print_tree() 137 entry = rb_entry(node, struct ext4_system_zone, node); in debug_print_tree() [all …]
|
| H A D | extents_status.c | 193 node = rb_next(node); in ext4_es_print_tree() 220 node = node->rb_left; in __es_tree_search() 222 node = node->rb_right; in __es_tree_search() 1031 node = node->rb_left; in ext4_es_lookup_extent() 1033 node = node->rb_right; in ext4_es_lookup_extent() 1222 node = node->rb_left; in __pr_tree_search() 1224 node = node->rb_right; in __pr_tree_search() 1868 node = rb_next(node); in ext4_clear_inode_es() 1891 node = rb_next(node); in ext4_print_pending_tree() 1939 node = node->rb_left; in __get_pending() [all …]
|
| /linux-6.15/net/netfilter/ |
| H A D | nft_set_rbtree.c | 27 struct rb_node node; member 353 for (node = first; node != NULL; node = next) { in __nft_rbtree_insert() 356 rbe = rb_entry(node, struct nft_rbtree_elem, node); in __nft_rbtree_insert() 595 struct rb_node *node; in nft_rbtree_walk() local 598 for (node = rb_first(&priv->root); node != NULL; node = rb_next(node)) { in nft_rbtree_walk() 599 rbe = rb_entry(node, struct nft_rbtree_elem, node); in nft_rbtree_walk() 639 for (node = rb_first(&priv->root); node ; node = next) { in nft_rbtree_gc() 642 rbe = rb_entry(node, struct nft_rbtree_elem, node); in nft_rbtree_gc() 715 rbe = rb_entry(node, struct nft_rbtree_elem, node); in nft_rbtree_destroy() 778 if (!node) in nft_rbtree_adjust_maxsize() [all …]
|
| /linux-6.15/drivers/firmware/efi/libstub/ |
| H A D | fdt.c | 33 int node, num_rsv; in update_fdt() local 78 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt() 79 if (node < 0) { in update_fdt() 80 node = fdt_add_subnode(fdt, 0, "chosen"); in update_fdt() 81 if (node < 0) { in update_fdt() 83 status = node; in update_fdt() 89 status = fdt_setprop(fdt, node, "bootargs", cmdline_ptr, in update_fdt() 96 node = fdt_subnode_offset(fdt, 0, "chosen"); in update_fdt() 129 status = fdt_setprop_var(fdt, node, "kaslr-seed", fdt_val64); in update_fdt() 149 int node = fdt_path_offset(fdt, "/chosen"); in update_fdt_memmap() local [all …]
|
| /linux-6.15/drivers/clk/ti/ |
| H A D | mux.c | 151 clk = of_ti_clk_register(node, &mux->hw, name); in _register_mux() 165 static void of_mux_clk_setup(struct device_node *node) in of_mux_clk_setup() argument 178 num_parents = of_clk_get_parent_count(node); in of_mux_clk_setup() 180 pr_err("mux-clock %pOFn must have parents\n", node); in of_mux_clk_setup() 187 of_clk_parent_fill(node, parent_names, num_parents); in of_mux_clk_setup() 189 if (ti_clk_get_reg_addr(node, 0, ®)) in of_mux_clk_setup() 194 of_property_read_u32(node, "ti,latch-bit", &latch); in of_mux_clk_setup() 209 name = ti_dt_clk_name(node); in of_mux_clk_setup() 260 if (ti_clk_get_reg_addr(node, 0, &mux->reg)) in of_ti_composite_mux_clk_setup() 268 num_parents = of_clk_get_parent_count(node); in of_ti_composite_mux_clk_setup() [all …]
|
| /linux-6.15/drivers/base/ |
| H A D | arch_numa.c | 44 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() argument 47 if (node == NUMA_NO_NODE) in cpumask_of_node() 50 if (WARN_ON(node < 0 || node >= nr_node_ids)) in cpumask_of_node() 53 if (WARN_ON(node_to_cpumask_map[node] == NULL)) in cpumask_of_node() 56 return node_to_cpumask_map[node]; in cpumask_of_node() 102 int node; in setup_node_to_cpumask_map() local 109 for (node = 0; node < nr_node_ids; node++) { in setup_node_to_cpumask_map() 111 cpumask_clear(node_to_cpumask_map[node]); in setup_node_to_cpumask_map() 360 if (node == NUMA_NO_NODE) in debug_cpumask_set_cpu() 363 mask = node_to_cpumask_map[node]; in debug_cpumask_set_cpu() [all …]
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | prom.c | 252 scan_features(node, pa_ftrs, tablelen, fp, size); in check_cpu_features() 261 of_get_flat_dt_prop(node, "ibm,slb-size", NULL); in init_mmu_slb_size() 267 #define init_mmu_slb_size(node) do { } while(0) argument 311 #define identical_pvr_fixup(node) do { } while(0) argument 321 prop = of_get_flat_dt_prop(node, fp->name, NULL); in check_cpu_feature_properties() 352 intserv = of_get_flat_dt_prop(node, "reg", &len); in early_init_dt_scan_cpus() 427 check_cpu_feature_properties(node); in early_init_dt_scan_cpus() 434 identical_pvr_fixup(node); in early_init_dt_scan_cpus() 441 init_mmu_slb_size(node); in early_init_dt_scan_cpus() 596 if (node > 0) in early_init_dt_scan_memory_ppc() [all …]
|
| /linux-6.15/drivers/clk/sunxi/ |
| H A D | clk-sun8i-bus-gates.c | 20 static void __init sun8i_h3_bus_gates_init(struct device_node *node) in sun8i_h3_bus_gates_init() argument 34 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun8i_h3_bus_gates_init() 39 int idx = of_property_match_string(node, "clock-names", in sun8i_h3_bus_gates_init() 44 parents[i] = of_clk_get_parent_name(node, idx); in sun8i_h3_bus_gates_init() 51 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init() 52 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init() 59 of_property_for_each_u32(node, "clock-indices", index) { in sun8i_h3_bus_gates_init() 60 of_property_read_string_index(node, "clock-output-names", in sun8i_h3_bus_gates_init() 92 of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in sun8i_h3_bus_gates_init() 100 of_address_to_resource(node, 0, &res); in sun8i_h3_bus_gates_init()
|
| H A D | clk-a10-pll2.c | 38 static void __init sun4i_pll2_setup(struct device_node *node, in sun4i_pll2_setup() argument 41 const char *clk_name = node->name, *parent; in sun4i_pll2_setup() 49 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun4i_pll2_setup() 61 parent = of_clk_get_parent_name(node, 0); in sun4i_pll2_setup() 120 of_property_read_string_index(node, "clock-output-names", in sun4i_pll2_setup() 135 of_property_read_string_index(node, "clock-output-names", in sun4i_pll2_setup() 144 of_property_read_string_index(node, "clock-output-names", in sun4i_pll2_setup() 153 of_property_read_string_index(node, "clock-output-names", in sun4i_pll2_setup() 163 of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); in sun4i_pll2_setup() 183 sun4i_pll2_setup(node, 0); in sun4i_a10_pll2_setup() [all …]
|
| /linux-6.15/drivers/of/ |
| H A D | platform.c | 216 if (!of_device_is_available(node) || in of_amba_device_create() 243 ret, node); in of_amba_device_create() 250 ret, node); in of_amba_device_create() 504 struct device_node *node; in of_platform_default_populate_init() local 543 of_node_put(node); in of_platform_default_populate_init() 546 boot_display = node; in of_platform_default_populate_init() 554 if (!of_property_read_bool(node, "linux,opened") || node == boot_display) in of_platform_default_populate_init() 571 if (node) { in of_platform_default_populate_init() 573 of_node_put(node); in of_platform_default_populate_init() 577 if (node) { in of_platform_default_populate_init() [all …]
|
| /linux-6.15/drivers/clk/ |
| H A D | clk-fixed-mmio.c | 18 static struct clk_hw *fixed_mmio_clk_setup(struct device_node *node) in fixed_mmio_clk_setup() argument 21 const char *clk_name = node->name; in fixed_mmio_clk_setup() 26 base = of_iomap(node, 0); in fixed_mmio_clk_setup() 28 pr_err("%pOFn: failed to map address\n", node); in fixed_mmio_clk_setup() 34 of_property_read_string(node, "clock-output-names", &clk_name); in fixed_mmio_clk_setup() 38 pr_err("%pOFn: failed to register fixed rate clock\n", node); in fixed_mmio_clk_setup() 42 ret = of_clk_add_hw_provider(node, of_clk_hw_simple_get, clk); in fixed_mmio_clk_setup() 44 pr_err("%pOFn: failed to add clock provider\n", node); in fixed_mmio_clk_setup() 52 static void __init of_fixed_mmio_clk_setup(struct device_node *node) in of_fixed_mmio_clk_setup() argument 54 fixed_mmio_clk_setup(node); in of_fixed_mmio_clk_setup()
|
| /linux-6.15/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_encap.c | 105 struct opa_vnic_mac_tbl_node *node; in opa_vnic_free_mac_tbl() local 113 hash_del(&node->hlist); in opa_vnic_free_mac_tbl() 114 kfree(node); in opa_vnic_free_mac_tbl() 172 if ((node->index < loffset) || in opa_vnic_query_mac_tbl() 241 node = kzalloc(sizeof(*node), GFP_KERNEL); in opa_vnic_update_mac_tbl() 242 if (!node) { in opa_vnic_update_mac_tbl() 247 node->index = loffset + i; in opa_vnic_update_mac_tbl() 248 nentry = &node->entry; in opa_vnic_update_mac_tbl() 264 if ((node->index >= loffset) && in opa_vnic_update_mac_tbl() 274 new_node->index = node->index; in opa_vnic_update_mac_tbl() [all …]
|
| /linux-6.15/drivers/soundwire/ |
| H A D | mipi_disco.c | 223 struct fwnode_handle *node; in sdw_slave_read_dpn() local 241 if (!node) { in sdw_slave_read_dpn() 259 fwnode_handle_put(node); in sdw_slave_read_dpn() 263 ret = fwnode_property_read_u32_array(node, in sdw_slave_read_dpn() 273 fwnode_property_read_u32(node, in sdw_slave_read_dpn() 280 fwnode_property_read_u32(node, in sdw_slave_read_dpn() 284 fwnode_property_read_u32(node, in sdw_slave_read_dpn() 302 fwnode_handle_put(node); in sdw_slave_read_dpn() 321 fwnode_handle_put(node); in sdw_slave_read_dpn() 333 fwnode_property_read_u32(node, in sdw_slave_read_dpn() [all …]
|
| /linux-6.15/drivers/interconnect/qcom/ |
| H A D | icc-rpmh.c | 62 qn = node->data; in qcom_icc_pre_aggregate() 90 qn = node->data; in qcom_icc_aggregate() 101 if (node->init_avg || node->init_peak) { in qcom_icc_aggregate() 124 struct icc_node *node; in qcom_icc_set() local 127 node = dst; in qcom_icc_set() 129 node = src; in qcom_icc_set() 235 struct icc_node *node; in qcom_icc_rpmh_probe() local 284 if (IS_ERR(node)) { in qcom_icc_rpmh_probe() 285 ret = PTR_ERR(node); in qcom_icc_rpmh_probe() 289 node->name = qn->name; in qcom_icc_rpmh_probe() [all …]
|
| /linux-6.15/drivers/iommu/ |
| H A D | iova.c | 34 return rb_entry(node, struct iova, node); in to_iova() 115 node = node->rb_right; in iova_find_limit() 118 while (node->rb_left && to_iova(node->rb_left)->pfn_lo >= limit_pfn) in iova_find_limit() 119 node = node->rb_left; in iova_find_limit() 122 return node; in iova_find_limit() 128 node = next; in iova_find_limit() 133 return node; in iova_find_limit() 282 while (node) { in private_find_iova() 286 node = node->rb_left; in private_find_iova() 288 node = node->rb_right; in private_find_iova() [all …]
|
| /linux-6.15/include/asm-generic/ |
| H A D | topology.h | 38 #define set_numa_node(node) argument 41 #define set_cpu_numa_node(cpu, node) argument 49 #define cpumask_of_node(node) ((node) == 0 ? cpu_online_mask : cpu_none_mask) argument 51 #define cpumask_of_node(node) ((void)(node), cpu_online_mask) argument 69 #define set_numa_mem(node) argument 72 #define set_cpu_numa_mem(cpu, node) argument
|
| /linux-6.15/net/xdp/ |
| H A D | xskmap.c | 18 struct xsk_map_node *node; in xsk_map_node_alloc() local 20 node = bpf_map_kzalloc(&map->map, sizeof(*node), in xsk_map_node_alloc() 22 if (!node) in xsk_map_node_alloc() 28 node->map = map; in xsk_map_node_alloc() 29 node->map_entry = map_entry; in xsk_map_node_alloc() 30 return node; in xsk_map_node_alloc() 38 kfree(node); in xsk_map_node_free() 45 list_add_tail(&node->node, &xs->map_list); in xsk_map_sock_add() 57 list_del(&n->node); in xsk_map_sock_delete() 190 if (IS_ERR(node)) { in xsk_map_update_elem() [all …]
|