/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-zoned-metadata.c | 110 struct rb_node node; member 418 rb_erase(&mblk->node, &zmd->mblk_rbtree); in dmz_alloc_mblock() 437 RB_CLEAR_NODE(&mblk->node); in dmz_alloc_mblock() 469 /* Figure out where to put the new node */ in dmz_insert_mblock() 471 b = container_of(*new, struct dmz_mblock, node); in dmz_insert_mblock() 476 /* Add new node and rebalance tree */ in dmz_insert_mblock() 477 rb_link_node(&mblk->node, parent, new); in dmz_insert_mblock() 478 rb_insert_color(&mblk->node, root); in dmz_insert_mblock() 489 struct rb_node *node = root->rb_node; in dmz_get_mblock_fast() local 492 while (node) { in dmz_get_mblock_fast() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | send.c | 311 struct rb_node node; member 320 struct rb_node node; member 333 struct rb_node node; member 1447 struct ulist_node *node; in store_backref_cache() local 1464 while ((node = ulist_next(root_ids, &uiter)) != NULL) { in store_backref_cache() 1465 const u64 root_id = node->val; in store_backref_cache() 3021 struct rb_node node; member 3032 RB_CLEAR_NODE(&ref->node); in recorded_ref_alloc() 3041 if (!RB_EMPTY_NODE(&ref->node)) in recorded_ref_free() 3042 rb_erase(&ref->node, re in recorded_ref_free() 4618 rbtree_ref_comp(const void *k, const struct rb_node *node) rbtree_ref_comp() argument 4644 rbtree_ref_less(struct rb_node *node, const struct rb_node *parent) rbtree_ref_less() argument 4698 struct rb_node *node = NULL; record_new_ref_if_needed() local 4728 struct rb_node *node = NULL; record_deleted_ref_if_needed() local [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_multicast.c | 273 hlist_for_each_entry(src_ent, &pg_lst->src_list, node) { in br_multicast_star_g_handle_mode() 324 hlist_for_each_entry(src_ent, &pg->src_list, node) { in br_multicast_star_g_host_state() 555 WARN_ON(!hlist_unhashed(&src->node)); in br_multicast_destroy_group_src() 566 hlist_del_init_rcu(&src->node); in br_multicast_del_group_src() 595 hlist_for_each_entry_safe(ent, tmp, &pg->src_list, node) in br_multicast_del_pg() 651 hlist_for_each_entry_safe(src_ent, tmp, &pg->src_list, node) { in br_multicast_port_group_expired() 712 hlist_for_each_entry(ent, &pg->src_list, node) { in br_ip4_multicast_alloc_query() 799 hlist_for_each_entry(ent, &pg->src_list, node) { in br_ip4_multicast_alloc_query() 860 hlist_for_each_entry(ent, &pg->src_list, node) { in br_ip6_multicast_alloc_query() 960 hlist_for_each_entry(ent, &pg->src_list, node) { in br_ip6_multicast_alloc_query() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | fadump.c | 64 static void __init early_init_dt_scan_reserved_ranges(unsigned long node); 130 int __init early_init_dt_scan_fw_dump(unsigned long node, const char *uname, in early_init_dt_scan_fw_dump() argument 134 early_init_dt_scan_reserved_ranges(node); in early_init_dt_scan_fw_dump() 142 rtas_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump() 147 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump() 1317 static void __init early_init_dt_scan_reserved_ranges(unsigned long node) in early_init_dt_scan_reserved_ranges() argument 1327 prop = of_get_flat_dt_prop(node, "reserved-ranges", &len); in early_init_dt_scan_reserved_ranges() 1663 int __init early_init_dt_scan_fw_dump(unsigned long node, const char *uname, in early_init_dt_scan_fw_dump() argument 1669 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
|
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
H A D | ccu-sun8i-h3.c | 1140 static void __init sunxi_h3_h5_ccu_init(struct device_node *node, in sunxi_h3_h5_ccu_init() argument 1146 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sunxi_h3_h5_ccu_init() 1148 pr_err("%pOF: Could not map the clock registers\n", node); in sunxi_h3_h5_ccu_init() 1157 sunxi_ccu_probe(node, reg, desc); in sunxi_h3_h5_ccu_init() 1167 static void __init sun8i_h3_ccu_setup(struct device_node *node) in sun8i_h3_ccu_setup() argument 1169 sunxi_h3_h5_ccu_init(node, &sun8i_h3_ccu_desc); in sun8i_h3_ccu_setup() 1174 static void __init sun50i_h5_ccu_setup(struct device_node *node) in sun50i_h5_ccu_setup() argument 1176 sunxi_h3_h5_ccu_init(node, &sun50i_h5_ccu_desc); in sun50i_h5_ccu_setup()
|
H A D | ccu-sun8i-a23.c | 727 static void __init sun8i_a23_ccu_setup(struct device_node *node) in sun8i_a23_ccu_setup() argument 732 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun8i_a23_ccu_setup() 734 pr_err("%pOF: Could not map the clock registers\n", node); in sun8i_a23_ccu_setup() 748 sunxi_ccu_probe(node, reg, &sun8i_a23_ccu_desc); in sun8i_a23_ccu_setup()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | zx_dma.c | 104 struct list_head node; member 205 list_del(&ds->vd.node); in zx_dma_start_txd() 243 struct zx_dma_chan, node); in zx_dma_task() 247 list_del_init(&c->node); in zx_dma_task() 322 list_del_init(&c->node); in zx_dma_free_chan_resources() 388 if (!c->phy && list_empty(&c->node)) { in zx_dma_issue_pending() 390 list_add_tail(&c->node, &d->chan_pending); in zx_dma_issue_pending() 669 list_del_init(&c->node); in zx_dma_terminate_all() 836 INIT_LIST_HEAD(&c->node); in zx_dma_probe()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | fadump.c | 65 static void __init early_init_dt_scan_reserved_ranges(unsigned long node); 137 int __init early_init_dt_scan_fw_dump(unsigned long node, const char *uname, in early_init_dt_scan_fw_dump() argument 141 early_init_dt_scan_reserved_ranges(node); in early_init_dt_scan_fw_dump() 149 rtas_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump() 154 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump() 1333 static void __init early_init_dt_scan_reserved_ranges(unsigned long node) in early_init_dt_scan_reserved_ranges() argument 1343 prop = of_get_flat_dt_prop(node, "reserved-ranges", &len); in early_init_dt_scan_reserved_ranges() 1686 int __init early_init_dt_scan_fw_dump(unsigned long node, const char *uname, in early_init_dt_scan_fw_dump() argument 1692 opal_fadump_dt_scan(&fw_dump, node); in early_init_dt_scan_fw_dump()
|
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_driver.c | 44 &data->function_list, node) { in rmi_free_function_list() 45 list_del(&fn->node); in rmi_free_function_list() 104 list_for_each_entry(entry, &data->function_list, node) { in rmi_driver_process_reset_requests() 119 list_for_each_entry(entry, &data->function_list, node) { in rmi_driver_process_config_requests() 248 list_for_each_entry(entry, &data->function_list, node) { in rmi_find_function() 281 list_for_each_entry(entry, &data->function_list, node) { in rmi_suspend_functions() 315 list_for_each_entry(entry, &data->function_list, node) { in rmi_resume_functions() 850 INIT_LIST_HEAD(&fn->node); in rmi_create_function() 871 list_add_tail(&fn->node, &data->function_list); in rmi_create_function()
|
/kernel/linux/linux-5.10/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 71 struct device_node *node; member 423 struct frame_buffer *buf, *node; in start_streaming() local 465 list_for_each_entry_safe(buf, node, &isi->video_buffer_list, list) { in start_streaming() 478 struct frame_buffer *buf, *node; in stop_streaming() local 490 list_for_each_entry_safe(buf, node, &isi->video_buffer_list, list) { in stop_streaming() 1139 static int isi_graph_parse(struct atmel_isi *isi, struct device_node *node) in isi_graph_parse() argument 1144 ep = of_graph_get_next_endpoint(node, ep); in isi_graph_parse() 1153 /* Remote node to connect */ in isi_graph_parse() 1154 isi->entity.node = remote; in isi_graph_parse() 1175 of_node_put(isi->entity.node); in isi_graph_init() [all...] |
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | pmac.c | 57 struct device_node* node; member 874 ppc_md.feature_call(PMAC_FTR_IDE_ENABLE, pmif->node, pmif->aapl_bus_id, in pmac_ide_do_suspend() 887 ppc_md.feature_call(PMAC_FTR_IDE_RESET, pmif->node, pmif->aapl_bus_id, 1); in pmac_ide_do_resume() 888 ppc_md.feature_call(PMAC_FTR_IDE_ENABLE, pmif->node, pmif->aapl_bus_id, 1); in pmac_ide_do_resume() 890 ppc_md.feature_call(PMAC_FTR_IDE_RESET, pmif->node, pmif->aapl_bus_id, 0); in pmac_ide_do_resume() 913 struct device_node *np = pmif->node; in pmac_ide_cable_detect() 1019 struct device_node *np = pmif->node; in pmac_ide_setup_device() 1173 pmif->node = mdev->ofdev.dev.of_node; in pmac_ide_macio_attach() 1262 printk(KERN_ERR "ide-pmac: cannot find MacIO node for Kauai ATA interface\n"); in pmac_ide_pci_attach() 1286 pmif->node in pmac_ide_pci_attach() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pcie-mediatek.c | 157 int (*setup_irq)(struct mtk_pcie_port *port, struct device_node *node); 568 struct device_node *node) in mtk_pcie_init_irq_domain() 575 pcie_intc_node = of_get_next_child(node, NULL); in mtk_pcie_init_irq_domain() 577 dev_err(dev, "no PCIe Intc node found\n"); in mtk_pcie_init_irq_domain() 644 struct device_node *node) in mtk_pcie_setup_irq() 651 err = mtk_pcie_init_irq_domain(port, node); in mtk_pcie_setup_irq() 908 struct device_node *node, in mtk_pcie_parse_port() 976 err = pcie->soc->setup_irq(port, node); in mtk_pcie_parse_port() 1034 struct device_node *node = dev->of_node, *child; in mtk_pcie_setup() local 1038 for_each_available_child_of_node(node, chil in mtk_pcie_setup() 567 mtk_pcie_init_irq_domain(struct mtk_pcie_port *port, struct device_node *node) mtk_pcie_init_irq_domain() argument 643 mtk_pcie_setup_irq(struct mtk_pcie_port *port, struct device_node *node) mtk_pcie_setup_irq() argument 907 mtk_pcie_parse_port(struct mtk_pcie *pcie, struct device_node *node, int slot) mtk_pcie_parse_port() argument [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | swap.c | 123 struct rb_node node; member 136 /* Figure out where to put the new node */ in swsusp_extents_insert() 138 ext = rb_entry(*new, struct swsusp_extent, node); in swsusp_extents_insert() 159 /* Add the new node and rebalance the tree. */ in swsusp_extents_insert() 166 rb_link_node(&ext->node, parent, new); in swsusp_extents_insert() 167 rb_insert_color(&ext->node, &swsusp_extents); in swsusp_extents_insert() 198 struct rb_node *node; in free_all_swap_pages() local 200 while ((node = swsusp_extents.rb_node)) { in free_all_swap_pages() 204 ext = rb_entry(node, struct swsusp_extent, node); in free_all_swap_pages() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_trace.h | 531 __entry->offset = vma->node.start; 532 __entry->size = vma->node.size; 556 __entry->offset = vma->node.start; 557 __entry->size = vma->node.size; 680 TP_PROTO(struct i915_address_space *vm, struct drm_mm_node *node, unsigned int flags), 681 TP_ARGS(vm, node, flags), 695 __entry->start = node->start; 696 __entry->size = node->size; 697 __entry->color = node->color;
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | pci-sysfs.c | 306 int node, ret; in numa_node_store() local 311 ret = kstrtoint(buf, 0, &node); in numa_node_store() 315 if ((node < 0 && node != NUMA_NO_NODE) || node >= MAX_NUMNODES) in numa_node_store() 318 if (node != NUMA_NO_NODE && !node_online(node)) in numa_node_store() 322 pci_alert(pdev, FW_BUG "Overriding NUMA node to %d. Contact your vendor for updates.", in numa_node_store() 323 node); in numa_node_store() 325 dev->numa_node = node; in numa_node_store() [all...] |
/kernel/linux/linux-6.6/drivers/dma/sh/ |
H A D | rz-dmac.c | 52 struct list_head node; member 391 list_del(&vd->node); in rz_dmac_xfer_desc() 427 list_add_tail(&desc->node, &channel->ld_free); in rz_dmac_alloc_chan_resources() 462 list_for_each_entry_safe(desc, _desc, &channel->ld_free, node) { in rz_dmac_free_chan_resources() 485 desc = list_first_entry(&channel->ld_free, struct rz_dmac_desc, node); in rz_dmac_prep_dma_memcpy() 512 desc = list_first_entry(&channel->ld_free, struct rz_dmac_desc, node); in rz_dmac_prep_slave_sg() 561 struct rz_dmac_desc, node); in rz_dmac_issue_pending() 700 desc = list_first_entry(&channel->ld_active, struct rz_dmac_desc, node); in rz_dmac_irq_handler_thread() 705 node); in rz_dmac_irq_handler_thread()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | max9286.c | 1423 struct device_node *node = NULL; in max9286_parse_dt() local 1433 dev_err(dev, "Failed to find i2c-mux node\n"); in max9286_parse_dt() 1438 for_each_child_of_node(i2c_mux, node) { in max9286_parse_dt() 1441 of_property_read_u32(node, "reg", &id); in max9286_parse_dt() 1445 if (!of_device_is_available(node)) { in max9286_parse_dt() 1455 for_each_endpoint_of_node(dev->of_node, node) { in max9286_parse_dt() 1459 of_graph_parse_endpoint(node, &ep); in max9286_parse_dt() 1477 of_fwnode_handle(node), &vep); in max9286_parse_dt() 1479 of_node_put(node); in max9286_parse_dt() 1503 of_fwnode_handle(node)); in max9286_parse_dt() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | pci-sysfs.c | 336 int node; in numa_node_store() local 341 if (kstrtoint(buf, 0, &node) < 0) in numa_node_store() 344 if ((node < 0 && node != NUMA_NO_NODE) || node >= MAX_NUMNODES) in numa_node_store() 347 if (node != NUMA_NO_NODE && !node_online(node)) in numa_node_store() 351 pci_alert(pdev, FW_BUG "Overriding NUMA node to %d. Contact your vendor for updates.", in numa_node_store() 352 node); in numa_node_store() 354 dev->numa_node = node; in numa_node_store() [all...] |
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | init_64.c | 819 * clear the default setting with node 0 in paging_init() 1495 void __meminit vmemmap_set_pmd(pmd_t *pmd, void *p, int node, in vmemmap_set_pmd() argument 1505 if (p_end != p || node_start != node) { in vmemmap_set_pmd() 1507 pr_debug(" [%lx-%lx] PMD -> [%p-%p] on node %d\n", in vmemmap_set_pmd() 1510 node_start = node; in vmemmap_set_pmd() 1522 int __meminit vmemmap_check_pmd(pmd_t *pmd, int node, in vmemmap_check_pmd() argument 1528 vmemmap_verify((pte_t *)pmd, node, addr, next); in vmemmap_check_pmd() 1535 int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node, in vmemmap_populate() argument 1544 err = vmemmap_populate_basepages(start, end, node, NULL); in vmemmap_populate() 1546 err = vmemmap_populate_hugepages(start, end, node, altma in vmemmap_populate() [all...] |
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_driver.c | 44 &data->function_list, node) { in rmi_free_function_list() 45 list_del(&fn->node); in rmi_free_function_list() 104 list_for_each_entry(entry, &data->function_list, node) { in rmi_driver_process_reset_requests() 119 list_for_each_entry(entry, &data->function_list, node) { in rmi_driver_process_config_requests() 248 list_for_each_entry(entry, &data->function_list, node) { in rmi_find_function() 281 list_for_each_entry(entry, &data->function_list, node) { in rmi_suspend_functions() 315 list_for_each_entry(entry, &data->function_list, node) { in rmi_resume_functions() 850 INIT_LIST_HEAD(&fn->node); in rmi_create_function() 871 list_add_tail(&fn->node, &data->function_list); in rmi_create_function()
|
/kernel/linux/linux-6.6/sound/soc/rockchip/ |
H A D | rockchip_i2s_tdm.c | 185 * passed to the driver as a device tree node. Violating abstractions in rockchip_snd_xfer_sync_reset() 1040 struct device_node *node = i2s_tdm->dev->of_node; in rockchip_i2s_tdm_init_dai() local 1042 of_property_for_each_string(node, "dma-names", dma_names, dma_name) { in rockchip_i2s_tdm_init_dai() 1218 struct device_node *node = pdev->dev.of_node; in rockchip_i2s_tdm_probe() local 1241 if (of_property_read_bool(node, "rockchip,trcm-sync-tx-only")) in rockchip_i2s_tdm_probe() 1243 if (of_property_read_bool(node, "rockchip,trcm-sync-rx-only")) { in rockchip_i2s_tdm_probe() 1255 i2s_tdm->grf = syscon_regmap_lookup_by_phandle(node, "rockchip,grf"); in rockchip_i2s_tdm_probe() 1291 of_property_read_bool(node, "rockchip,io-multiplex"); in rockchip_i2s_tdm_probe() 1318 ret = rockchip_i2s_tdm_tx_path_prepare(i2s_tdm, node); in rockchip_i2s_tdm_probe() 1324 ret = rockchip_i2s_tdm_rx_path_prepare(i2s_tdm, node); in rockchip_i2s_tdm_probe() [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | swap.c | 125 struct rb_node node; member 138 /* Figure out where to put the new node */ in swsusp_extents_insert() 140 ext = rb_entry(*new, struct swsusp_extent, node); in swsusp_extents_insert() 161 /* Add the new node and rebalance the tree. */ in swsusp_extents_insert() 168 rb_link_node(&ext->node, parent, new); in swsusp_extents_insert() 169 rb_insert_color(&ext->node, &swsusp_extents); in swsusp_extents_insert() 200 struct rb_node *node; in free_all_swap_pages() local 202 while ((node = swsusp_extents.rb_node)) { in free_all_swap_pages() 206 ext = rb_entry(node, struct swsusp_extent, node); in free_all_swap_pages() [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | psi.c | 458 list_for_each_entry(t, triggers, node) { in update_triggers() 603 list_for_each_entry(t, &group->rtpoll_triggers, node) in init_rtpoll_triggers() 1362 list_add(&t->node, &group->rtpoll_triggers); in psi_trigger_create() 1372 list_add(&t->node, &group->avg_triggers); in psi_trigger_create() 1405 if (!list_empty(&t->node)) { in psi_trigger_destroy() 1406 list_del(&t->node); in psi_trigger_destroy() 1412 if (!list_empty(&t->node)) { in psi_trigger_destroy() 1416 list_del(&t->node); in psi_trigger_destroy() 1425 list_for_each_entry(tmp, &group->rtpoll_triggers, node) in psi_trigger_destroy()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-mxc.c | 60 struct list_head node; member 303 list_for_each_entry(port, &mxc_gpio_ports, node) { in mx2_gpio_irq_handler() 518 list_add_tail(&port->node, &mxc_gpio_ports); in mxc_gpio_probe() 563 list_for_each_entry(port, &mxc_gpio_ports, node) { in mxc_gpio_syscore_suspend() 577 list_for_each_entry(port, &mxc_gpio_ports, node) { in mxc_gpio_syscore_resume()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | aclocal.h | 126 * The node is optimized for both 32-bit and 64-bit platforms: 139 struct acpi_namespace_node *parent; /* Parent node */ 165 #define ANOBJ_EVALUATED 0x20 /* Set on first evaluation of node */ 207 struct acpi_namespace_node *node; member 422 struct acpi_namespace_node *method_node; /* Method node for this GPE level (saved) */ 439 struct acpi_namespace_node *method_node; /* Method node for this GPE level */ 481 struct acpi_namespace_node *node; member 605 ACPI_STATE_COMMON struct acpi_namespace_node *node; member 656 struct acpi_namespace_node *node; member 744 struct acpi_namespace_node *node; /* Fo [all...] |