Home
last modified time | relevance | path

Searched refs:node (Results 51 – 75 of 6034) sorted by relevance

12345678910>>...242

/linux-6.15/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.c26 return node; in qtnf_sta_list_lookup()
42 return node; in qtnf_sta_list_lookup_index()
59 if (node) in qtnf_sta_list_add()
62 node = kzalloc(sizeof(*node), GFP_KERNEL); in qtnf_sta_list_add()
63 if (unlikely(!node)) in qtnf_sta_list_add()
72 return node; in qtnf_sta_list_add()
83 if (node) { in qtnf_sta_list_del()
84 list_del(&node->list); in qtnf_sta_list_del()
86 kfree(node); in qtnf_sta_list_del()
101 list_del(&node->list); in qtnf_sta_list_free()
[all …]
/linux-6.15/kernel/sched/
H A Dext_idle.c599 int node; in scx_idle_init_masks() local
700 int node; in reset_idle_masks() local
760 if (node < 0 || node >= nr_node_ids) { in validate_node()
771 return node; in validate_node()
855 node = validate_node(node); in scx_bpf_get_idle_cpumask_node()
856 if (node < 0) in scx_bpf_get_idle_cpumask_node()
902 node = validate_node(node); in scx_bpf_get_idle_smtmask_node()
903 if (node < 0) in scx_bpf_get_idle_smtmask_node()
1002 node = validate_node(node); in scx_bpf_pick_idle_cpu_node()
1003 if (node < 0) in scx_bpf_pick_idle_cpu_node()
[all …]
/linux-6.15/include/linux/
H A Dinterval_tree_generic.h42 ITTYPE start = ITSTART(node), last = ITLAST(node); \
59 node->ITSUBTREE = last; \
88 if (node->ITRB.rb_left) { \
100 node = left; \
107 node = rb_entry(node->ITRB.rb_right, ITSTRUCT, ITRB); \
118 ITSTRUCT *node, *leftmost; \
137 if (node->ITSUBTREE < start) \
169 rb = rb_parent(&node->ITRB); \
172 prev = &node->ITRB; \
174 rb = node->ITRB.rb_right; \
[all …]
H A Drbtree_latch.h41 struct rb_node node[2]; member
72 return container_of(node, struct latch_tree_node, node[idx]); in __lt_from_rb()
81 struct rb_node *node = &ltn->node[idx]; in __lt_insert() local
96 rb_insert_color(node, root); in __lt_insert()
113 while (node) { in __lt_find()
118 node = rcu_dereference_raw(node->rb_left); in __lt_find()
120 node = rcu_dereference_raw(node->rb_right); in __lt_find()
177 __lt_erase(node, root, 0); in latch_tree_erase()
179 __lt_erase(node, root, 1); in latch_tree_erase()
205 struct latch_tree_node *node; in latch_tree_find() local
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c102 list_add_tail(&node->entry, &node->esw->qos.domain->nodes); in esw_qos_node_attach_to_parent()
104 node->level = node->parent->level + 1; in esw_qos_node_attach_to_parent()
105 list_add_tail(&node->entry, &node->parent->children); in esw_qos_node_attach_to_parent()
305 esw_qos_normalize_min_rate(node->esw, node, extack); in esw_qos_normalize_min_rate()
381 node = kzalloc(sizeof(*node), GFP_KERNEL); in __esw_qos_alloc_node()
382 if (!node) in __esw_qos_alloc_node()
392 return node; in __esw_qos_alloc_node()
398 kfree(node); in __esw_qos_free_node()
423 if (!node) { in __esw_qos_create_vports_sched_node()
432 return node; in __esw_qos_create_vports_sched_node()
[all …]
/linux-6.15/drivers/clk/ti/
H A Ddpll.c152 struct device_node *node) in _register_dpll() argument
161 clk = of_clk_get(node, 0); in _register_dpll()
164 node); in _register_dpll()
173 clk = of_clk_get(node, 1); in _register_dpll()
177 node); in _register_dpll()
187 name = ti_dt_clk_name(node); in _register_dpll()
222 const char *name = ti_dt_clk_name(node); in _register_dpll_x2()
227 pr_err("%pOFn must have parent\n", node); in _register_dpll_x2()
299 init->name = ti_dt_clk_name(node); in of_ti_dpll_setup()
381 _register_dpll(&clk_hw->hw, node); in of_ti_dpll_setup()
[all …]
H A Dgate.c139 if (ti_clk_get_reg_addr(node, 0, &reg)) in _of_ti_gate_clk_setup()
145 if (of_clk_get_parent_count(node) != 1) { in _of_ti_gate_clk_setup()
146 pr_err("%pOFn must have 1 parent\n", node); in _of_ti_gate_clk_setup()
150 parent_name = of_clk_get_parent_name(node, 0); in _of_ti_gate_clk_setup()
152 if (of_property_read_bool(node, "ti,set-rate-parent")) in _of_ti_gate_clk_setup()
158 name = ti_dt_clk_name(node); in _of_ti_gate_clk_setup()
176 if (ti_clk_get_reg_addr(node, 0, &gate->enable_reg)) in _of_ti_composite_gate_clk_setup()
192 _of_ti_composite_gate_clk_setup(node, NULL); in of_ti_composite_no_wait_gate_clk_setup()
208 _of_ti_composite_gate_clk_setup(node, &clkhwops_wait); in of_ti_composite_gate_clk_setup()
245 _of_ti_gate_clk_setup(node, &omap_gate_clk_ops, in of_ti_am35xx_gate_clk_setup()
[all …]
/linux-6.15/drivers/gpu/drm/i915/
H A Di915_scheduler.c169 if (node_signaled(node)) in __i915_schedule()
172 stack.signaler = node; in __i915_schedule()
197 if (node_started(node)) in __i915_schedule()
225 node->attr = *attr; in __i915_schedule()
245 node = dep->signaler; in __i915_schedule()
250 if (prio <= node->attr.priority || node_signaled(node)) in __i915_schedule()
270 if (list_empty(&node->link)) in __i915_schedule()
300 INIT_LIST_HEAD(&node->link); in i915_sched_node_init()
308 node->semaphores = 0; in i915_sched_node_reinit()
309 node->flags = 0; in i915_sched_node_reinit()
[all …]
/linux-6.15/drivers/scsi/elx/libefc/
H A Defc_els.c47 efc = node->efc; in efc_els_io_alloc_size()
65 els->node = node; in efc_els_io_alloc_size()
116 node = els->node; in _efc_els_io_free()
117 efc = node->efc; in _efc_els_io_free()
141 efc_scsi_io_list_empty(node->efc, node); in _efc_els_io_free()
166 node = els->node; in efc_els_req_cb()
167 efc = node->efc; in efc_els_req_cb()
327 node = els->node; in efc_els_acc_cb()
328 efc = node->efc; in efc_els_acc_cb()
357 struct efc_node *node = els->node; in efc_els_send_rsp() local
[all …]
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Drbtree.rst60 struct rb_node node;
83 while (node) {
84 struct mytype *data = container_of(node, struct mytype, node);
90 node = node->rb_left;
92 node = node->rb_right;
181 for (node = rb_first(&mytree); node; node = rb_next(node))
182 printk("key=%s\n", rb_entry(node, struct mytype, node)->keystring);
287 node = left;
293 return node; /* node is leftmost match */
295 node = rb_entry(node->rb.rb_right,
[all …]
/linux-6.15/fs/hfsplus/
H A Dbtree.c273 node->tree->cnid, node->this, in hfs_btree_close()
290 if (IS_ERR(node)) in hfs_btree_write()
321 if (IS_ERR(node)) in hfs_bmap_new_bmap()
322 return node; in hfs_bmap_new_bmap()
343 return node; in hfs_bmap_new_bmap()
391 if (IS_ERR(node)) in hfs_bmap_alloc()
392 return node; in hfs_bmap_alloc()
469 i = node->next; in hfs_bmap_free()
474 node->this); in hfs_bmap_free()
486 node->this, node->type); in hfs_bmap_free()
[all …]
/linux-6.15/drivers/acpi/arm64/
H A Diort.c376 if (!node->mapping_offset || !node->mapping_count || in iort_node_get_id()
386 node, node->type); in iort_node_get_id()
439 node, node->type); in iort_get_id_mapping_index()
473 if (!node->mapping_offset || !node->mapping_count) in iort_node_map_id()
482 node, node->type); in iort_node_map_id()
561 if (node) in iort_find_dev_node()
590 if (!node) in iort_msi_map_id()
727 node, node->type); in iort_set_device_domain()
1342 info.node = node; in iort_iommu_configure_id()
1405 if (!node || node->revision < 1) in rc_dma_get_range()
[all …]
/linux-6.15/drivers/block/drbd/
H A Ddrbd_interval.c16 #define NODE_END(node) ((node)->sector + ((node)->size >> 9)) argument
74 while (node) { in drbd_contains_interval()
79 node = node->rb_left; in drbd_contains_interval()
81 node = node->rb_right; in drbd_contains_interval()
83 node = node->rb_left; in drbd_contains_interval()
85 node = node->rb_right; in drbd_contains_interval()
126 while (node) { in drbd_find_overlap()
130 if (node->rb_left && in drbd_find_overlap()
133 node = node->rb_left; in drbd_find_overlap()
140 node = node->rb_right; in drbd_find_overlap()
[all …]
/linux-6.15/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c774 memset(node, 0, sizeof(*node)); in bdisp_hw_build_node()
789 node->nip = 0; in bdisp_hw_build_node()
848 node->txy <<= 16; in bdisp_hw_build_node()
866 node->s2ty *= 2; in bdisp_hw_build_node()
899 node->s1ty = node->s2ty; in bdisp_hw_build_node()
900 node->s1xy = node->s2xy; in bdisp_hw_build_node()
913 node->s3xy = node->s2xy * 2; in bdisp_hw_build_node()
914 node->s3sz = node->s2sz * 2; in bdisp_hw_build_node()
918 node->s3xy = node->s2xy; in bdisp_hw_build_node()
919 node->s3sz = node->s2sz; in bdisp_hw_build_node()
[all …]
/linux-6.15/scripts/gdb/linux/
H A Dradixtree.py20 def is_internal_node(node): argument
24 def entry_to_node(node): argument
26 node_type = node.type
30 def node_maxindex(node): argument
40 node = root['xa_head']
41 if node == 0:
47 return node
49 node = entry_to_node(node)
64 node = slot.cast(node.type.pointer()).dereference()
65 if node == 0:
[all …]
/linux-6.15/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be.c467 node = &pispbe->node[CONFIG_NODE]; in pispbe_prepare_job()
525 node = &pispbe->node[i]; in pispbe_prepare_job()
890 node->pispbe->streaming_map |= BIT(node->id); in pispbe_node_start_streaming()
1000 if (!NODE_IS_CAPTURE(node) || NODE_IS_META(node)) { in pispbe_node_g_fmt_vid_cap()
1020 if (NODE_IS_CAPTURE(node) || NODE_IS_META(node)) { in pispbe_node_g_fmt_vid_out()
1040 if (!NODE_IS_META(node) || NODE_IS_CAPTURE(node)) { in pispbe_node_g_fmt_meta_out()
1179 if (!NODE_IS_OUTPUT(node) || NODE_IS_META(node)) { in pispbe_node_try_fmt_vid_out()
1369 if (NODE_IS_META(node) && NODE_IS_OUTPUT(node)) { in pispbe_node_def_fmt()
1397 struct pispbe_node *node = &pispbe->node[id]; in pispbe_init_node() local
1412 node->format.type = node->buf_type; in pispbe_init_node()
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c598 node->adev->gds.gws_size, &node->gws); in kfd_gws_init()
619 node->dqm = device_queue_manager_init(node); in kfd_init_node()
651 amdgpu_amdkfd_free_gws(node->adev, node->gws); in kfd_init_node()
654 kfree(node); in kfd_init_node()
856 if (!node) in kgd2kfd_device_init()
877 node->node_id, node->xcp->mem_id, in kgd2kfd_device_init()
907 &node->local_mem_info, node->xcp); in kgd2kfd_device_init()
1046 node->dqm->ops.stop(node->dqm); in kgd2kfd_suspend()
1079 err = node->dqm->ops.start(node->dqm); in kfd_resume()
1486 ret = node->dqm->ops.unhalt(node->dqm); in kgd2kfd_start_sched()
[all …]
/linux-6.15/kernel/trace/
H A Drethook.c23 struct llist_node *node; in rethook_flush_task() local
26 while (node) { in rethook_flush_task()
28 node = node->next; in rethook_flush_task()
148 objpool_push(node, &node->rethook->pool); in rethook_recycle()
211 if (!node) in __rethook_find_ret_addr()
214 node = node->next; in __rethook_find_ret_addr()
216 while (node) { in __rethook_find_ret_addr()
219 *cur = node; in __rethook_find_ret_addr()
222 node = node->next; in __rethook_find_ret_addr()
315 if (first == node) in rethook_trampoline_handler()
[all …]
/linux-6.15/lib/
H A Dtimerqueue.c18 rb_entry((_n), struct timerqueue_node, node)
35 bool timerqueue_add(struct timerqueue_head *head, struct timerqueue_node *node) in timerqueue_add() argument
38 WARN_ON_ONCE(!RB_EMPTY_NODE(&node->node)); in timerqueue_add()
40 return rb_add_cached(&node->node, &head->rb_root, __timerqueue_less); in timerqueue_add()
55 WARN_ON_ONCE(RB_EMPTY_NODE(&node->node)); in timerqueue_del()
57 rb_erase_cached(&node->node, &head->rb_root); in timerqueue_del()
58 RB_CLEAR_NODE(&node->node); in timerqueue_del()
73 struct timerqueue_node *timerqueue_iterate_next(struct timerqueue_node *node) in timerqueue_iterate_next() argument
77 if (!node) in timerqueue_iterate_next()
79 next = rb_next(&node->node); in timerqueue_iterate_next()
[all …]
/linux-6.15/kernel/locking/
H A Dosq_lock.c34 return node->cpu - 1; in node_cpu()
81 if (node->next) { in osq_wait_next()
100 node->locked = 0; in osq_lock()
101 node->next = NULL; in osq_lock()
102 node->cpu = curr; in osq_lock()
115 node->prev = prev; in osq_lock()
129 WRITE_ONCE(prev->next, node); in osq_lock()
165 cmpxchg(&prev->next, node, NULL) == node) in osq_lock()
182 prev = READ_ONCE(node->prev); in osq_lock()
224 node = this_cpu_ptr(&osq_node); in osq_unlock()
[all …]
/linux-6.15/drivers/interconnect/imx/
H A Dimx.c70 freq = (node->avg_bw + node->peak_bw) * node_data->desc->adj->bw_mul; in imx_icc_node_set()
74 node->avg_bw, node->peak_bw, freq); in imx_icc_node_set()
78 node->name); in imx_icc_node_set()
113 icc_node_del(node); in imx_icc_node_destroy()
129 node->name, node->id); in imx_icc_node_init_qos()
149 node->name, node->id, dn); in imx_icc_node_init_qos()
154 node->name, node->id, dn); in imx_icc_node_init_qos()
175 return node; in imx_icc_node_add()
178 if (node->data) { in imx_icc_node_add()
205 return node; in imx_icc_node_add()
[all …]
/linux-6.15/drivers/firewire/
H A Dcore-topology.c28 struct fw_node *node; in fw_node_create() local
30 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create()
31 if (node == NULL) in fw_node_create()
34 node->color = color; in fw_node_create()
45 return node; in fw_node_create()
112 node = NULL; in build_tree()
195 irm_node = node; in build_tree()
294 fw_node_put(node); in for_each_fw_node()
301 fw_node_put(node); in report_lost_node()
314 node->max_speed = parent->max_speed < node->phy_speed ? in report_found_node()
[all …]
/linux-6.15/drivers/clk/
H A Dclk-moxart.c22 const char *name = node->name; in moxart_of_pll_clk_init()
26 parent_name = of_clk_get_parent_name(node, 0); in moxart_of_pll_clk_init()
28 base = of_iomap(node, 0); in moxart_of_pll_clk_init()
30 pr_err("%pOF: of_iomap failed\n", node); in moxart_of_pll_clk_init()
37 ref_clk = of_clk_get(node, 0); in moxart_of_pll_clk_init()
39 pr_err("%pOF: of_clk_get failed\n", node); in moxart_of_pll_clk_init()
62 const char *name = node->name; in moxart_of_apb_clk_init()
68 base = of_iomap(node, 0); in moxart_of_apb_clk_init()
70 pr_err("%pOF: of_iomap failed\n", node); in moxart_of_apb_clk_init()
81 pll_clk = of_clk_get(node, 0); in moxart_of_apb_clk_init()
[all …]
/linux-6.15/arch/powerpc/platforms/cell/spufs/
H A Dsched.c142 node = ctx->spu->node; in spu_update_sched_info()
311 node = (node < MAX_NUMNODES) ? node : 0; in aff_ref_location()
370 BUG_ON(spu->node != node); in ctx_location()
581 node = (node < MAX_NUMNODES) ? node : 0; in spu_get_idle()
629 node = (node < MAX_NUMNODES) ? node : 0; in find_victim()
701 int node = spu->node; in __spu_schedule() local
747 int node = spu->node; in spu_unschedule() local
953 for (node = 0; node < MAX_NUMNODES; node++) in count_active_contexts()
996 for (node = 0; node < MAX_NUMNODES; node++) { in spusched_thread()
1047 node = spu->node; in spuctx_switch_state()
[all …]
/linux-6.15/tools/perf/util/
H A Dstrfilter.c21 if (node) { in strfilter_node__delete()
22 if (node->p && !is_operator(*node->p)) in strfilter_node__delete()
26 free(node); in strfilter_node__delete()
70 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc() local
72 if (node) { in strfilter_node__alloc()
73 node->p = op; in strfilter_node__alloc()
74 node->l = l; in strfilter_node__alloc()
75 node->r = r; in strfilter_node__alloc()
78 return node; in strfilter_node__alloc()
221 if (!node || !node->p) in strfilter_node__compare()
[all …]

12345678910>>...242