/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 947 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node() 975 rc = rhashtable_insert_fast(l2_table, &l2_node->node, in bnxt_tc_get_l2_node() 1082 /* Returns the final refcount of the node on success 1093 rc = rhashtable_remove_fast(tunnel_table, &tunnel_node->node, in bnxt_tc_put_tunnel_node() 1106 /* Get (or add) either encap or decap tunnel node from/to the supplied 1127 rc = rhashtable_insert_fast(tunnel_table, &tunnel_node->node, in bnxt_tc_get_tunnel_node() 1192 &decap_l2_node->node, in bnxt_tc_put_decap_l2_node() 1472 /* release reference to l2 node */ in __bnxt_tc_del_flow() 1477 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node, in __bnxt_tc_del_flow() 1525 /* allocate memory for the new flow and it's node */ in bnxt_tc_add_flow() [all...] |
/kernel/linux/linux-5.10/drivers/perf/ |
H A D | xgene_pmu.c | 122 struct hlist_node node; member 1482 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1502 /* A PMU device node without enable-bit-index is always enabled */ in acpi_get_pmu_hw_inf() 1654 /* A PMU device node without enable-bit-index is always enabled */ in fdt_get_pmu_hw_inf() 1790 static int xgene_pmu_online_cpu(unsigned int cpu, struct hlist_node *node) in xgene_pmu_online_cpu() argument 1792 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_online_cpu() 1793 node); in xgene_pmu_online_cpu() 1804 static int xgene_pmu_offline_cpu(unsigned int cpu, struct hlist_node *node) in xgene_pmu_offline_cpu() argument 1806 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_offline_cpu() 1807 node); in xgene_pmu_offline_cpu() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | smscufx.c | 1102 info->node, user, info, dev->fb_count); in ufx_ops_open() 1124 int node = info->node; in ufx_ops_destory() local 1129 pr_debug("fb_info for /dev/fb%d has been freed", node); in ufx_ops_destory() 1184 info->node, user, dev->fb_count); in ufx_ops_release() 1739 " Using %dK framebuffer memory\n", info->node, in ufx_usb_probe() 1842 struct list_head *node; in ufx_free_urb_list() local 1859 node = dev->urbs.list.next; /* have reserved one with sem */ in ufx_free_urb_list() 1860 list_del_init(node); in ufx_free_urb_list() 1864 unode = list_entry(node, struc in ufx_free_urb_list() [all...] |
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_core.c | 102 /* Put the new node there */ in smc_lgr_add_alert_token() 537 struct rb_node *node; in smc_switch_conns() local 559 for (node = rb_first(&lgr->conns_all); node; node = rb_next(node)) { in smc_switch_conns() 560 conn = rb_entry(node, struct smc_connection, alert_node); in smc_switch_conns() 910 struct rb_node *node; in __smc_lgr_terminate() local 920 node = rb_first(&lgr->conns_all); in __smc_lgr_terminate() 921 while (node) { in __smc_lgr_terminate() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_htb.c | 136 struct rb_node pq_node; /* node for event queue */ 137 struct rb_node node[TC_HTB_NUMPRIO]; /* node for self or feed tree */ member 202 * node). If we end up with classid MAJOR:0 we enqueue the skb into special 282 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree() 289 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree() 290 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree() 327 * htb_next_rb_node - finds next node in binary tree 383 if (hprio->ptr == cl->node + prio) in htb_remove_class_from_row() 386 htb_safe_rb_erase(cl->node in htb_remove_class_from_row() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 955 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node() 983 rc = rhashtable_insert_fast(l2_table, &l2_node->node, in bnxt_tc_get_l2_node() 1090 /* Returns the final refcount of the node on success 1101 rc = rhashtable_remove_fast(tunnel_table, &tunnel_node->node, in bnxt_tc_put_tunnel_node() 1114 /* Get (or add) either encap or decap tunnel node from/to the supplied 1135 rc = rhashtable_insert_fast(tunnel_table, &tunnel_node->node, in bnxt_tc_get_tunnel_node() 1200 &decap_l2_node->node, in bnxt_tc_put_decap_l2_node() 1480 /* release reference to l2 node */ in __bnxt_tc_del_flow() 1485 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node, in __bnxt_tc_del_flow() 1533 /* allocate memory for the new flow and it's node */ in bnxt_tc_add_flow() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | smscufx.c | 1103 info->node, user, info, dev->fb_count); in ufx_ops_open() 1125 int node = info->node; in ufx_ops_destory() local 1130 pr_debug("fb_info for /dev/fb%d has been freed", node); in ufx_ops_destory() 1185 info->node, user, dev->fb_count); in ufx_ops_release() 1740 " Using %dK framebuffer memory\n", info->node, in ufx_usb_probe() 1843 struct list_head *node; in ufx_free_urb_list() local 1860 node = dev->urbs.list.next; /* have reserved one with sem */ in ufx_free_urb_list() 1861 list_del_init(node); in ufx_free_urb_list() 1865 unode = list_entry(node, struc in ufx_free_urb_list() [all...] |
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-imx6q.c | 169 static void of_assigned_ldb_sels(struct device_node *node, in of_assigned_ldb_sels() argument 177 num_parents = of_count_phandle_with_args(node, "assigned-clock-parents", in of_assigned_ldb_sels() 180 rc = of_parse_phandle_with_args(node, "assigned-clock-parents", in of_assigned_ldb_sels() 189 if (clkspec.np != node || clkspec.args[0] >= IMX6QDL_CLK_END) { in of_assigned_ldb_sels() 195 rc = of_parse_phandle_with_args(node, "assigned-clocks", in of_assigned_ldb_sels() 199 if (clkspec.np != node || clkspec.args[0] >= IMX6QDL_CLK_END) { in of_assigned_ldb_sels() 223 static bool pll6_bypassed(struct device_node *node) in pll6_bypassed() argument 228 num_clocks = of_count_phandle_with_args(node, "assigned-clocks", in pll6_bypassed() 234 ret = of_parse_phandle_with_args(node, "assigned-clocks", in pll6_bypassed() 240 if (clkspec.np == node in pll6_bypassed() [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | xgene_pmu.c | 122 struct hlist_node node; member 1478 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf() 1498 /* A PMU device node without enable-bit-index is always enabled */ in acpi_get_pmu_hw_inf() 1648 /* A PMU device node without enable-bit-index is always enabled */ in fdt_get_pmu_hw_inf() 1784 static int xgene_pmu_online_cpu(unsigned int cpu, struct hlist_node *node) in xgene_pmu_online_cpu() argument 1786 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_online_cpu() 1787 node); in xgene_pmu_online_cpu() 1798 static int xgene_pmu_offline_cpu(unsigned int cpu, struct hlist_node *node) in xgene_pmu_offline_cpu() argument 1800 struct xgene_pmu *xgene_pmu = hlist_entry_safe(node, struct xgene_pmu, in xgene_pmu_offline_cpu() 1801 node); in xgene_pmu_offline_cpu() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_htb.c | 137 struct rb_node pq_node; /* node for event queue */ 138 struct rb_node node[TC_HTB_NUMPRIO]; /* node for self or feed tree */ member 214 * node). If we end up with classid MAJOR:0 we enqueue the skb into special 295 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree() 302 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree() 303 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree() 343 * htb_next_rb_node - finds next node in binary tree 344 * @n: the current node in binary tree 406 if (hprio->ptr == cl->node in htb_remove_class_from_row() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol.c | 52 struct list_head node; member 1269 list_add(&list_node->node, &md->maps); in kcore_mapfn() 1323 list_add_tail(&m->node, &merged); in maps__merge_in() 1355 old_node = list_entry(merged.next, struct map_list_node, node); in maps__merge_in() 1356 list_del_init(&old_node->node); in maps__merge_in() 1442 list_for_each_entry(new_node, &md.maps, node) { in dso__load_kcore() 1463 replacement_map = list_entry(md.maps.next, struct map_list_node, node)->map; in dso__load_kcore() 1467 struct map_list_node *new_node = list_entry(md.maps.next, struct map_list_node, node); in dso__load_kcore() 1470 list_del_init(&new_node->node); in dso__load_kcore() 1538 list_node = list_entry(md.maps.next, struct map_list_node, node); in dso__load_kcore() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | memory_hotplug.c | 189 * memory_hotplug.auto_movable_numa_aware: consider numa node stats 195 "Consider numa node stats in addition to global stats in " 696 static void node_states_set_node(int node, struct memory_notify *arg) in node_states_set_node() argument 699 node_set_state(node, N_NORMAL_MEMORY); in node_states_set_node() 702 node_set_state(node, N_MEMORY); in node_states_set_node() 1243 /* init node's zones as empty zones, we don't have any present pages.*/ in hotadd_init_pgdat() 1247 * The node we allocated has no zone fallback lists. For avoiding in hotadd_init_pgdat() 1256 * __try_online_node - online a node if offlined 1257 * @nid: the node ID 1258 * @set_node_online: Whether we want to online the node 1854 node_states_clear_node(int node, struct memory_notify *arg) node_states_clear_node() argument 1880 const int node = zone_to_nid(zone); offline_pages() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk.c | 463 * node's 'clock-names' property or as the 'con_id' matching the device's 486 * exist in the provider or the name can't be found in the DT node or 1612 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify() 2818 * Returns the phase shift of a clock node in degrees, otherwise returns 2990 * Returns the duty cycle ratio of a clock node multiplied by the provided 3008 * clock node. Put differently, returns true if struct clk *p and struct clk *q 3401 * clk_debug_register - add a clk node to the debugfs clk directory 3418 * clk_debug_unregister - remove a clk node from the debugfs clk directory 4032 * dev_or_parent_of_node() - Get device node of @dev or @dev's parent 4033 * @dev: Device to get device node o 4100 of_clk_hw_register(struct device_node *node, struct clk_hw *hw) of_clk_hw_register() argument 4523 struct device_node *node; global() member 5044 struct list_head node; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | amt.c | 100 hlist_for_each_entry_safe(snode, t, &gc_list, node) { in __amt_source_gc_work() 101 hlist_del_rcu(&snode->node); in __amt_source_gc_work() 190 hlist_for_each_entry_rcu(snode, &gnode->sources[hash], node) in amt_lookup_src() 213 hlist_for_each_entry_rcu(gnode, &tunnel->groups[hash], node) { in amt_lookup_group() 245 hlist_del_init_rcu(&snode->node); in amt_destroy_source() 249 hlist_add_head_rcu(&snode->node, &source_gc_list); in amt_destroy_source() 261 hlist_del_rcu(&gnode->node); in amt_del_group() 273 hlist_for_each_entry_safe(snode, t, &gnode->sources[i], node) in amt_del_group() 377 INIT_HLIST_NODE(&snode->node); in amt_alloc_snode() 432 &gnode->sources[i], node) { in amt_group_work() [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk.c | 368 * node's 'clock-names' property or as the 'con_id' matching the device's 391 * exist in the provider or the name can't be found in the DT node or 1749 list_for_each_entry(cn, &clk_notifier_list, node) { in __clk_notify() 2965 * Returns the phase shift of a clock node in degrees, otherwise returns 3137 * Returns the duty cycle ratio of a clock node multiplied by the provided 3155 * clock node. Put differently, returns true if struct clk *p and struct clk *q 3600 * clk_debug_register - add a clk node to the debugfs clk directory 3617 * clk_debug_unregister - remove a clk node from the debugfs clk directory 4237 * dev_or_parent_of_node() - Get device node of @dev or @dev's parent 4238 * @dev: Device to get device node o 4305 of_clk_hw_register(struct device_node *node, struct clk_hw *hw) of_clk_hw_register() argument 4780 struct device_node *node; global() member 5289 struct list_head node; global() member [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | mq-deadline.c | 79 struct rb_node *node = rb_next(&rq->rb_node); in deadline_latter_request() local 81 if (node) in deadline_latter_request() 82 return rb_entry_rq(node); in deadline_latter_request() 417 dd = kzalloc_node(sizeof(*dd), GFP_KERNEL, q->node); in dd_init_queue()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | powerdomain.c | 71 list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { in _pwrdm_lookup() 122 list_add(&pwrdm->node, &pwrdm_list); in _pwrdm_register() 372 list_for_each_entry(temp_p, &pwrdm_list, node) in pwrdm_complete_init() 446 list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { in pwrdm_for_each()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | vdso.c | 668 unsigned long cpu, node, val; in vdso_getcpu_init() local 671 * SPRG_VDSO contains the CPU in the bottom 16 bits and the NUMA node in vdso_getcpu_init() 677 node = cpu_to_node(cpu); in vdso_getcpu_init() 678 WARN_ON_ONCE(node > 0xffff); in vdso_getcpu_init() 680 val = (cpu & 0xffff) | ((node & 0xffff) << 16); in vdso_getcpu_init()
|
/kernel/linux/linux-5.10/arch/arm/mach-at91/ |
H A D | pm.c | 546 pr_err("unable to find compatible ram controller node in dtb\n"); in at91_dt_ramc() 587 struct device_node *node; in at91_pm_sram_init() local 590 for_each_compatible_node(node, NULL, "mmio-sram") { in at91_pm_sram_init() 591 pdev = of_find_device_by_node(node); in at91_pm_sram_init() 593 of_node_put(node); in at91_pm_sram_init()
|
/kernel/linux/linux-5.10/drivers/amba/ |
H A D | bus.c | 498 struct list_head node; member 515 list_for_each_entry_safe(ddev, tmp, &deferred_devices, node) { in amba_deferred_retry() 521 list_del_init(&ddev->node); in amba_deferred_retry() 569 list_add_tail(&ddev->node, &deferred_devices); in amba_device_add()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | moxart-dma.c | 431 list_del(&vd->node); in moxart_dma_start_desc() 569 struct device_node *node = dev->of_node; in moxart_probe() local 581 irq = irq_of_parse_and_map(node, 0); in moxart_probe() 627 ret = of_dma_controller_register(node, moxart_of_xlate, mdc); in moxart_probe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 106 static void xgetaddrinfo(const char *node, const char *service, in xgetaddrinfo() argument 110 int err = getaddrinfo(node, service, hints, res); in xgetaddrinfo() 116 node ? node : "", service ? service : "", errstr); in xgetaddrinfo()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | powerdomain.c | 71 list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { in _pwrdm_lookup() 122 list_add(&pwrdm->node, &pwrdm_list); in _pwrdm_register() 372 list_for_each_entry(temp_p, &pwrdm_list, node) in pwrdm_complete_init() 446 list_for_each_entry(temp_pwrdm, &pwrdm_list, node) { in pwrdm_for_each()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | omap-usb-host.c | 476 struct device_node *node = dev->of_node; in usbhs_omap_get_dt_pdata() local 478 ret = of_property_read_u32(node, "num-ports", &pdata->nports); in usbhs_omap_get_dt_pdata() 496 ret = of_property_read_string(node, prop, &mode); in usbhs_omap_get_dt_pdata() 513 pdata->single_ulpi_bypass = of_property_read_bool(node, in usbhs_omap_get_dt_pdata() 543 /* For DT boot we populate platform data from OF node */ in usbhs_omap_probe()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | sfp-bus.c | 25 struct list_head node; member 430 list_for_each_entry(sfp, &sfp_buses, node) { in sfp_bus_get() 441 list_add(&new->node, &sfp_buses); in sfp_bus_get() 457 list_del(&bus->node); in sfp_bus_release() 589 * @fwnode: firmware node for the parent device (MAC or PHY) 591 * Parse the parent device's firmware node for a SFP bus, and locate
|