Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 3818) sorted by relevance

12345678910>>...153

/linux-6.15/lib/
H A Dlist_debug.c23 struct list_head *next) in __list_add_valid_or_report() argument
29 CHECK_DATA_CORRUPTION(next->prev != prev, next, in __list_add_valid_or_report()
31 prev, next->prev, next) || in __list_add_valid_or_report()
32 CHECK_DATA_CORRUPTION(prev->next != next, prev, in __list_add_valid_or_report()
34 next, prev->next, prev) || in __list_add_valid_or_report()
37 new, prev, next)) in __list_add_valid_or_report()
50 next = entry->next; in __list_del_entry_valid_or_report()
56 CHECK_DATA_CORRUPTION(next == LIST_POISON1, next, in __list_del_entry_valid_or_report()
64 entry, prev->next, prev) || in __list_del_entry_valid_or_report()
65 CHECK_DATA_CORRUPTION(next->prev != entry, next, in __list_del_entry_valid_or_report()
[all …]
H A Dlist_sort.c22 tail = &a->next; in merge()
23 a = a->next; in merge()
30 tail = &b->next; in merge()
31 b = b->next; in merge()
58 tail->next = a; in merge_final()
61 a = a->next; in merge_final()
65 tail->next = b; in merge_final()
68 b = b->next; in merge_final()
77 tail->next = b; in merge_final()
90 b = b->next; in merge_final()
[all …]
/linux-6.15/tools/include/linux/
H A Dlist.h43 new->next = next; in __list_add()
90 WRITE_ONCE(prev->next, next); in __list_del()
126 new->next = old->next; in list_replace()
207 struct list_head *next = head->next; in list_empty_careful() local
238 list->next = head->next; in __list_cut_position()
284 last->next = next; in __list_splice()
665 n->next = next; in hlist_add_before()
666 next->pprev = &n->next; in hlist_add_before()
673 n->next = prev->next; in hlist_add_behind()
678 n->next->pprev = &n->next; in hlist_add_behind()
[all …]
/linux-6.15/include/linux/
H A Dlist.h83 if (likely(next->prev == prev && prev->next == next && new != prev && new != next)) in __list_add_valid()
112 struct list_head *next = entry->next; in __list_del_entry_valid() local
154 new->next = next; in __list_add()
196 WRITE_ONCE(prev->next, next); in __list_del()
244 new->next = old->next; in list_replace()
327 first->prev->next = last->next; in list_bulk_move_tail()
458 list->next = head->next; in __list_cut_position()
515 list->next = head->next; in list_cut_before()
533 last->next = next; in __list_splice()
1040 WRITE_ONCE(n->next, next); in hlist_add_before()
[all …]
H A Drculist.h93 new->next = next; in __list_add_rcu()
247 new->next = old->next; in list_replace_rcu()
308 last->next = next; in __list_splice_init_rcu()
576 struct hlist_node *next = old->next; in hlist_replace_rcu() local
578 new->next = next; in hlist_replace_rcu()
582 WRITE_ONCE(new->next->pprev, &new->next); in hlist_replace_rcu()
674 n->next = last->next; in hlist_add_tail_rcu()
704 n->next = next; in hlist_add_before_rcu()
706 WRITE_ONCE(next->pprev, &n->next); in hlist_add_before_rcu()
730 n->next = prev->next; in hlist_add_behind_rcu()
[all …]
H A Dlist_bl.h46 h->next = NULL; in INIT_HLIST_BL_NODE()
82 n->next = first; in hlist_bl_add_head()
95 n->next = next; in hlist_bl_add_before()
96 next->pprev = &n->next; in hlist_bl_add_before()
107 n->next = prev->next; in hlist_bl_add_behind()
109 prev->next = n; in hlist_bl_add_behind()
111 if (n->next) in hlist_bl_add_behind()
112 n->next->pprev = &n->next; in hlist_bl_add_behind()
117 struct hlist_bl_node *next = n->next; in __hlist_bl_del() local
127 if (next) in __hlist_bl_del()
[all …]
/linux-6.15/io_uring/
H A Dslist.h25 struct io_wq_work_node *next = pos->next; in wq_list_add_after() local
27 pos->next = node; in wq_list_add_after()
28 node->next = next; in wq_list_add_after()
29 if (!next) in wq_list_add_after()
36 node->next = NULL; in wq_list_add_tail()
50 if (!node->next) in wq_list_add_head()
63 prev->next = last->next; in wq_list_cut()
67 last->next = NULL; in wq_list_cut()
73 list->last->next = to->next; in __wq_list_splice()
91 node->next = stack->next; in wq_stack_add_head()
[all …]
/linux-6.15/kernel/locking/
H A Dosq_lock.c81 if (node->next) { in osq_wait_next()
84 next = xchg(&node->next, NULL); in osq_wait_next()
85 if (next) in osq_wait_next()
86 return next; in osq_wait_next()
101 node->next = NULL; in osq_lock()
129 WRITE_ONCE(prev->next, node); in osq_lock()
193 if (!next) in osq_lock()
205 WRITE_ONCE(prev->next, next); in osq_lock()
225 next = xchg(&node->next, NULL); in osq_unlock()
226 if (next) { in osq_unlock()
[all …]
/linux-6.15/tools/usb/usbip/libsrc/
H A Dlist.h20 struct list_head *next, *prev; member
30 list->next = list; in INIT_LIST_HEAD()
44 next->prev = new; in __list_add()
45 new->next = next; in __list_add()
47 prev->next = new; in __list_add()
72 next->prev = prev; in __list_del()
73 prev->next = next; in __list_del()
94 entry->next = LIST_POISON1; in list_del()
112 for (pos = (head)->next; pos != (head); pos = pos->next)
121 for (pos = (head)->next, n = pos->next; pos != (head); \
[all …]
/linux-6.15/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c67 if (h[j].next) in ___sym_malloc()
68 h[j].next->next = NULL; in ___sym_malloc()
74 a = h[j].next; in ___sym_malloc()
76 h[j].next = h[j].next->next; in ___sym_malloc()
81 h[j].next->next = NULL; in ___sym_malloc()
120 ((m_link_p) a)->next = h[i].next; in ___sym_mfree()
127 while (q->next && q->next != (m_link_p) b) { in ___sym_mfree()
128 q = q->next; in ___sym_mfree()
131 ((m_link_p) a)->next = h[i].next; in ___sym_mfree()
135 q->next = q->next->next; in ___sym_mfree()
[all …]
/linux-6.15/arch/mips/include/asm/
H A Dswitch_to.h62 next->thread.emulated_fp = 0; \
88 # define __sanitize_fcr31(next) \ argument
95 next->thread.fpu.fcr31 &= ~fcr31; \
96 force_fcr31_sig(fcr31, pc, next); \
100 # define __sanitize_fcr31(next) do { (void) (next); } while (0) argument
113 if (tsk_used_math(next)) \
114 __sanitize_fcr31(next); \
117 __restore_dsp(next); \
130 cop2_restore(next); \
138 __restore_watch(next); \
[all …]
/linux-6.15/rust/kernel/
H A Dlist.rs278 if next.is_null() { in insert_inner()
294 (*item).next = next; in insert_inner()
425 (*prev).next = next; in remove_internal_inner()
559 let next = unsafe { (*current).next }; in next() localVariable
563 next in next()
730 let mut next = self.next; in prev_ptr() localVariable
732 if next == first { in prev_ptr()
740 next = first; in prev_ptr()
792 let mut next = unsafe { (*self.next).next }; in move_next() localVariable
799 self.next = next; in move_next()
[all …]
/linux-6.15/arch/riscv/mm/
H A Dkasan_init.c54 unsigned long next; in kasan_populate_pmd() local
85 unsigned long next; in kasan_populate_pud() local
116 unsigned long next; in kasan_populate_p4d() local
146 unsigned long next; in kasan_populate_pgd() local
169 unsigned long next; in kasan_early_clear_pud() local
194 unsigned long next; in kasan_early_clear_p4d() local
219 unsigned long next; in kasan_early_clear_pgd() local
240 unsigned long next; in kasan_early_populate_pud() local
269 unsigned long next; in kasan_early_populate_p4d() local
306 unsigned long next; in kasan_early_populate_pgd() local
[all …]
/linux-6.15/scripts/include/
H A Dlist.h53 list->next = list; in INIT_LIST_HEAD()
67 next->prev = new; in __list_add()
68 new->next = next; in __list_add()
70 prev->next = new; in __list_add()
108 next->prev = prev; in __list_del()
109 prev->next = next; in __list_del()
140 new->next = old->next; in list_replace()
324 h->next = NULL; in INIT_HLIST_NODE()
343 struct hlist_node *next = n->next; in __hlist_del() local
346 *pprev = next; in __hlist_del()
[all …]
/linux-6.15/drivers/acpi/acpica/
H A Dpstree.c74 arg = arg->common.next; in acpi_ps_get_arg()
147 arg = arg->common.next; in acpi_ps_append_arg()
185 if (next) { in acpi_ps_get_depth_next()
187 return (next); in acpi_ps_get_depth_next()
192 next = op->common.next; in acpi_ps_get_depth_next()
193 if (next) { in acpi_ps_get_depth_next()
195 return (next); in acpi_ps_get_depth_next()
207 arg = arg->common.next; in acpi_ps_get_depth_next()
217 if (parent->common.next) { in acpi_ps_get_depth_next()
229 ASL_CV_LABEL_FILENODE(next); in acpi_ps_get_depth_next()
[all …]
/linux-6.15/rust/pin-init/examples/
H A Dlinked_list.rs24 next: Link, field
44 next: list.next.replace(unsafe { Link::new_unchecked(this)}), in insert_next()
52 next: list.prev.next().replace(unsafe { Link::new_unchecked(this)}), in insert_prev()
60 if ptr::eq(self.next.as_ptr(), self) { in next()
70 let mut cur = self.next.clone(); in size()
72 cur = cur.next().clone(); in size()
84 let next = unsafe { &*self.next.as_ptr() }; in drop() localVariable
86 next.prev.set(&self.prev); in drop()
87 prev.next.set(&self.next); in drop()
109 fn next(&self) -> &Link { in next() method
[all …]
/linux-6.15/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c329 current_res->next = current_res->next->next; in sort_by_size()
846 while (node1->next && node1->next->next) { in cpqhp_resource_sort_and_combine()
850 node1->next = node1->next->next; in cpqhp_resource_sort_and_combine()
867 node1->next = node1->next->next; in cpqhp_resource_sort_and_combine()
970 next = next->next; in cpqhp_slot_create()
1001 while ((next->next != old_slot) && (next->next != NULL)) in slot_remove()
1002 next = next->next; in slot_remove()
1005 next->next = old_slot->next; in slot_remove()
1046 while ((next->next != bridge) && (next->next != NULL)) in bridge_slot_remove()
1047 next = next->next; in bridge_slot_remove()
[all …]
/linux-6.15/drivers/memory/tegra/
H A Dtegra210-emc-cc-r21021.c78 ({ next->ptfv_list[(dev)] = \
79 next->ptfv_list[(dev)] / \
102 next->ptfv_list[dqs] = \
104 (next->ptfv_list[dqs] * \
105 next->ptfv_list[w])) / \
106 (next->ptfv_list[w] + 1); \
194 if (!next->periodic_training) in periodic_compensation_handler()
207 __COPY_EMA(next, last, idx); in periodic_compensation_handler()
211 __MOVAVG(next, idx) = 0; in periodic_compensation_handler()
359 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local
[all …]
/linux-6.15/tools/lib/
H A Dlist_sort.c22 tail = &a->next; in merge()
23 a = a->next; in merge()
30 tail = &b->next; in merge()
31 b = b->next; in merge()
57 tail->next = a; in merge_final()
60 a = a->next; in merge_final()
64 tail->next = b; in merge_final()
67 b = b->next; in merge_final()
76 tail->next = b; in merge_final()
80 b = b->next; in merge_final()
[all …]
/linux-6.15/net/ax25/
H A Dax25_iface.c35 struct listen_struct *next; member
48 ap->next = protocol_list; in ax25_register_pid()
65 protocol_list = protocol->next; in ax25_protocol_release()
71 protocol->next = protocol->next->next; in ax25_protocol_release()
75 protocol = protocol->next; in ax25_protocol_release()
115 listen->next = listen_list; in ax25_listen_register()
136 listen_list = listen->next; in ax25_listen_release()
143 if (ax25cmp(&listen->next->callsign, callsign) == 0 && listen->next->dev == dev) { in ax25_listen_release()
144 s = listen->next; in ax25_listen_release()
145 listen->next = listen->next->next; in ax25_listen_release()
[all …]
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() local
255 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_gddr5() local
326 if (next->bios.ramcfg_11_02_80) in gk104_ram_calc_gddr5()
399 if (!next->bios.ramcfg_11_07_08 && !next->bios.ramcfg_11_07_04) { in gk104_ram_calc_gddr5()
706 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_sddr3() local
731 if (next->bios.ramcfg_DLLoff) in gk104_ram_calc_sddr3()
1063 refclk = next->freq; in gk104_ram_calc_xits()
1090 ram->base.freq = next->freq; in gk104_ram_calc_xits()
1120 if (ram->base.next == NULL) { in gk104_ram_calc()
1236 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_prog() local
[all …]
H A Dgddr5.c41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc()
43 switch (ram->next->bios.ramcfg_ver) { in nvkm_gddr5_calc()
45 pd = ram->next->bios.ramcfg_11_01_80; in nvkm_gddr5_calc()
46 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc()
47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc()
48 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc()
49 vo = ram->next->bios.ramcfg_11_06; in nvkm_gddr5_calc()
50 l3 = !ram->next->bios.ramcfg_11_07_02; in nvkm_gddr5_calc()
56 switch (ram->next->bios.timing_ver) { in nvkm_gddr5_calc()
63 dt = ram->next->bios.timing_20_2e_03; in nvkm_gddr5_calc()
[all …]
/linux-6.15/mm/kasan/
H A Dinit.c113 unsigned long next; in zero_pmd_populate() local
116 next = pmd_addr_end(addr, end); in zero_pmd_populate()
148 unsigned long next; in zero_pud_populate() local
186 unsigned long next; in zero_p4d_populate() local
236 unsigned long next; in kasan_populate_early_shadow() local
349 unsigned long next; in kasan_remove_pte_table() local
354 if (next > end) in kasan_remove_pte_table()
355 next = end; in kasan_remove_pte_table()
371 unsigned long next; in kasan_remove_pmd_table() local
397 unsigned long next; in kasan_remove_pud_table() local
[all …]
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_sdlb.c116 u32 itr, next; in sparx5_sdlb_group_get_last() local
125 itr = next; in sparx5_sdlb_group_get_last()
146 *next = *first; in sparx5_sdlb_group_get_adjacent()
159 itr = *next; in sparx5_sdlb_group_get_adjacent()
165 u32 itr, next; in sparx5_sdlb_group_get_count() local
175 itr = next; in sparx5_sdlb_group_get_count()
210 u32 itr, next; in sparx5_sdlb_group_get_by_index() local
229 itr = next; in sparx5_sdlb_group_get_by_index()
268 next = idx; in sparx5_sdlb_group_add()
292 next = prev; in sparx5_sdlb_group_del()
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_core_read_macros.c13 struct callback_head___shuffled *next; member
41 k_probe_in.next = &k_probe_in; in handler()
42 __builtin_preserve_access_index(({k_core_in.next = &k_core_in;})); in handler()
44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); in handler()
45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); in handler()
46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func); in handler()
47 u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func); in handler()

12345678910>>...153