Home
last modified time | relevance | path

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

12345678910>>...155

/kernel/linux/linux-5.10/include/linux/
Dlist.h35 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD()
42 struct list_head *next);
47 struct list_head *next) in __list_add_valid() argument
65 struct list_head *next) in __list_add() argument
67 if (!__list_add_valid(new, prev, next)) in __list_add()
70 next->prev = new; in __list_add()
71 new->next = next; in __list_add()
73 WRITE_ONCE(prev->next, new); in __list_add()
86 __list_add(new, head, head->next); in list_add()
110 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
[all …]
Drculist.h33 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU()
41 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next)))
86 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument
88 if (!__list_add_valid(new, prev, next)) in __list_add_rcu()
91 new->next = next; in __list_add_rcu()
94 next->prev = new; in __list_add_rcu()
115 __list_add_rcu(new, head, head->next); in list_add_rcu()
209 new->next = old->next; in list_replace_rcu()
212 new->next->prev = new; in list_replace_rcu()
237 struct list_head *next, in __list_splice_init_rcu() argument
[all …]
Dlist_bl.h39 struct hlist_bl_node *next, **pprev; member
46 h->next = NULL; in INIT_HLIST_BL_NODE()
82 n->next = first; in hlist_bl_add_head()
84 first->pprev = &n->next; in hlist_bl_add_head()
90 struct hlist_bl_node *next) in hlist_bl_add_before() argument
92 struct hlist_bl_node **pprev = next->pprev; in hlist_bl_add_before()
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()
108 n->pprev = &prev->next; in hlist_bl_add_behind()
[all …]
/kernel/linux/linux-5.10/tools/include/linux/
Dlist.h27 list->next = list; in INIT_LIST_HEAD()
40 struct list_head *next) in __list_add() argument
42 next->prev = new; in __list_add()
43 new->next = next; in __list_add()
45 prev->next = new; in __list_add()
50 struct list_head *next);
63 __list_add(new, head, head->next); in list_add()
87 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
89 next->prev = prev; in __list_del()
90 WRITE_ONCE(prev->next, next); in __list_del()
[all …]
/kernel/linux/linux-5.10/lib/
Dlist_debug.c21 struct list_head *next) in __list_add_valid() argument
25 CHECK_DATA_CORRUPTION(next == NULL, in __list_add_valid()
27 CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid()
29 prev, next->prev, next) || in __list_add_valid()
30 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid()
32 next, prev->next, prev) || in __list_add_valid()
33 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid()
35 new, prev, next)) in __list_add_valid()
44 struct list_head *prev, *next; in __list_del_entry_valid() local
47 next = entry->next; in __list_del_entry_valid()
[all …]
Dlist_sort.c25 tail = &a->next; in merge()
26 a = a->next; in merge()
33 tail = &b->next; in merge()
34 b = b->next; in merge()
61 tail->next = a; in merge_final()
64 a = a->next; in merge_final()
68 tail->next = b; in merge_final()
71 b = b->next; in merge_final()
80 tail->next = b; in merge_final()
93 b = b->next; in merge_final()
[all …]
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dzlist.c38 struct zlist_node *next) in zlist_before_add_check() argument
40 assert(idx2node(prev->next, tab) == next); in zlist_before_add_check()
41 assert(idx2node(next->prev, tab) == prev); in zlist_before_add_check()
43 assert(idx2node(node->next, tab) == node); in zlist_before_add_check()
48 struct zlist_node *next) in zlist_after_add_check() argument
50 assert(idx2node(prev->next, tab) == node); in zlist_after_add_check()
51 assert(idx2node(next->prev, tab) == node); in zlist_after_add_check()
53 assert(idx2node(node->next, tab) == next); in zlist_after_add_check()
58 struct zlist_node *next) in zlist_before_del_check() argument
60 assert(idx2node(prev->next, tab) == node); in zlist_before_del_check()
[all …]
/kernel/linux/linux-5.10/kernel/locking/
Dosq_lock.c46 struct optimistic_spin_node *next = NULL; in osq_wait_next() local
78 if (node->next) { in osq_wait_next()
79 next = xchg(&node->next, NULL); in osq_wait_next()
80 if (next) in osq_wait_next()
87 return next; in osq_wait_next()
93 struct optimistic_spin_node *prev, *next; in osq_lock() local
98 node->next = NULL; in osq_lock()
126 WRITE_ONCE(prev->next, node); in osq_lock()
161 if (data_race(prev->next) == node && in osq_lock()
162 cmpxchg(&prev->next, node, NULL) == node) in osq_lock()
[all …]
/kernel/linux/linux-5.10/drivers/soc/mediatek/
Dmtk-mmsys.c105 enum mtk_ddp_comp_id next, in mtk_mmsys_ddp_mout_en() argument
110 if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_COLOR0) { in mtk_mmsys_ddp_mout_en()
113 } else if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_RDMA0) { in mtk_mmsys_ddp_mout_en()
116 } else if (cur == DDP_COMPONENT_OD0 && next == DDP_COMPONENT_RDMA0) { in mtk_mmsys_ddp_mout_en()
119 } else if (cur == DDP_COMPONENT_UFOE && next == DDP_COMPONENT_DSI0) { in mtk_mmsys_ddp_mout_en()
122 } else if (cur == DDP_COMPONENT_OVL1 && next == DDP_COMPONENT_COLOR1) { in mtk_mmsys_ddp_mout_en()
125 } else if (cur == DDP_COMPONENT_GAMMA && next == DDP_COMPONENT_RDMA1) { in mtk_mmsys_ddp_mout_en()
128 } else if (cur == DDP_COMPONENT_OD1 && next == DDP_COMPONENT_RDMA1) { in mtk_mmsys_ddp_mout_en()
131 } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_DPI0) { in mtk_mmsys_ddp_mout_en()
134 } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_DPI1) { in mtk_mmsys_ddp_mout_en()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dlist.h20 struct list_head *next, *prev; member
30 list->next = list; in INIT_LIST_HEAD()
42 struct list_head *next) in __list_add() argument
44 next->prev = new; in __list_add()
45 new->next = next; in __list_add()
47 prev->next = new; in __list_add()
60 __list_add(new, head, head->next); in list_add()
70 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
72 next->prev = prev; in __list_del()
73 prev->next = next; in __list_del()
[all …]
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra210-emc-cc-r21021.c78 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] = \
79 next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] / \
80 next->ptfv_list[PTFV_DVFS_SAMPLES_INDEX]; })
86 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] += \
102 next->ptfv_list[dqs] = \
104 (next->ptfv_list[dqs] * \
105 next->ptfv_list[w])) / \
106 (next->ptfv_list[w] + 1); \
109 __stringify(dev), nval, next->ptfv_list[dqs]); \
120 struct tegra210_emc_timing *next = emc->next; in update_clock_tree_delay() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c64 while (!h[j].next) { in ___sym_malloc()
66 h[j].next = (m_link_p) M_GET_MEM_CLUSTER(); in ___sym_malloc()
67 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()
80 h[j].next = (m_link_p) (a+s); in ___sym_malloc()
81 h[j].next->next = NULL; in ___sym_malloc()
120 ((m_link_p) a)->next = h[i].next; in ___sym_mfree()
121 h[i].next = (m_link_p) a; in ___sym_mfree()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dswitch_to.h33 struct task_struct *next, struct thread_info *next_ti);
62 next->thread.emulated_fp = 0; \
88 # define __sanitize_fcr31(next) \ argument
90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \
94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \
95 next->thread.fpu.fcr31 &= ~fcr31; \
96 force_fcr31_sig(fcr31, pc, next); \
100 # define __sanitize_fcr31(next) argument
109 #define switch_to(prev, next, last) \ argument
113 if (tsk_used_math(next)) \
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h111 struct list_head *next, *prev; member
130 list->next = list->prev = list; in INIT_LIST_HEAD()
135 struct list_head *prev, struct list_head *next) in __list_add() argument
137 next->prev = entry; in __list_add()
138 entry->next = next; in __list_add()
140 prev->next = entry; in __list_add()
161 __list_add(entry, head, head->next); in list_add()
186 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
188 next->prev = prev; in __list_del()
189 prev->next = next; in __list_del()
[all …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dlist.h25 struct list_head *next, *prev; member
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 n = list_entry(pos->member.next, typeof(*pos), member); \
65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
73 return head->next == head; in list_empty()
84 struct list_head *next) in __list_add() argument
86 next->prev = _new; in __list_add()
87 _new->next = next; in __list_add()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dpstree.c74 arg = arg->common.next; in acpi_ps_get_arg()
133 while (prev_arg->common.next) { in acpi_ps_append_arg()
134 prev_arg = prev_arg->common.next; in acpi_ps_append_arg()
136 prev_arg->common.next = arg; in acpi_ps_append_arg()
147 arg = arg->common.next; in acpi_ps_append_arg()
172 union acpi_parse_object *next = NULL; in acpi_ps_get_depth_next() local
184 next = acpi_ps_get_arg(op, 0); in acpi_ps_get_depth_next()
185 if (next) { in acpi_ps_get_depth_next()
186 ASL_CV_LABEL_FILENODE(next); in acpi_ps_get_depth_next()
187 return (next); in acpi_ps_get_depth_next()
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dident_map.c24 unsigned long next; in ident_pud_init() local
26 for (; addr < end; addr = next) { in ident_pud_init()
30 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init()
31 if (next > end) in ident_pud_init()
32 next = end; in ident_pud_init()
48 ident_pmd_init(info, pmd, addr, next); in ident_pud_init()
54 ident_pmd_init(info, pmd, addr, next); in ident_pud_init()
64 unsigned long next; in ident_p4d_init() local
67 for (; addr < end; addr = next) { in ident_p4d_init()
71 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init()
[all …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dcpqphp_ctrl.c121 slot = slot->next; in cpqhp_find_slot()
307 if (!((*head)->next)) in sort_by_size()
314 if (((*head)->next) && in sort_by_size()
315 ((*head)->length > (*head)->next->length)) { in sort_by_size()
318 *head = (*head)->next; in sort_by_size()
319 current_res->next = (*head)->next; in sort_by_size()
320 (*head)->next = current_res; in sort_by_size()
325 while (current_res->next && current_res->next->next) { in sort_by_size()
326 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()
328 next_res = current_res->next; in sort_by_size()
[all …]
/kernel/linux/linux-5.10/net/ax25/
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()
69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release()
70 if (protocol->next->pid == pid) { 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()
142 while (listen != NULL && listen->next != NULL) { in ax25_listen_release()
[all …]
/kernel/uniproton/src/core/kernel/include/
Dprt_list_external.h22 struct TagListObject *next; member
31 (object)->next = (object); \
35 #define LIST_FIRST(object) ((object)->next)
36 #define OS_LIST_FIRST(object) ((object)->next)
40 struct TagListObject *next) in ListLowLevelAdd() argument
42 newNode->next = next; in ListLowLevelAdd()
44 next->prev = newNode; in ListLowLevelAdd()
45 prev->next = newNode; in ListLowLevelAdd()
51 ListLowLevelAdd(newNode, listObject, listObject->next); in ListAdd()
64 prevNode->next = nextNode; in ListLowLevelDelete()
[all …]
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c117 unsigned long next; in zero_pmd_populate() local
120 next = pmd_addr_end(addr, end); in zero_pmd_populate()
140 zero_pte_populate(pmd, addr, next); in zero_pmd_populate()
141 } while (pmd++, addr = next, addr != end); in zero_pmd_populate()
150 unsigned long next; in zero_pud_populate() local
153 next = pud_addr_end(addr, end); in zero_pud_populate()
177 zero_pmd_populate(pud, addr, next); in zero_pud_populate()
178 } while (pud++, addr = next, addr != end); in zero_pud_populate()
187 unsigned long next; in zero_p4d_populate() local
190 next = p4d_addr_end(addr, end); in zero_p4d_populate()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() local
211 u8 v0 = next->bios.ramcfg_11_03_c0; in r1373f4_fini()
212 u8 v1 = next->bios.ramcfg_11_03_30; in r1373f4_fini()
243 u32 next = (prev & ~mask) | data; in gk104_ram_nuts() local
244 nvkm_memx_wr32(fuc->memx, addr, next); in gk104_ram_nuts()
255 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_gddr5() local
256 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_gddr5()
257 int mv = !next->bios.ramcfg_11_02_04; in gk104_ram_calc_gddr5()
311 switch (next->bios.ramcfg_11_03_c0) { in gk104_ram_calc_gddr5()
318 switch (next->bios.ramcfg_11_03_30) { in gk104_ram_calc_gddr5()
[all …]
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()
58 WL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr5_calc()
[all …]
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dmmu_context.h53 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off() argument
55 if (prev != next) { in switch_mm_irqs_off()
59 spinlock_t *pgd_lock = &next->page_table_lock; in switch_mm_irqs_off()
62 mtctl(__pa(next->pgd), 25); in switch_mm_irqs_off()
63 load_context(next->context); in switch_mm_irqs_off()
68 struct mm_struct *next, struct task_struct *tsk) in switch_mm() argument
72 if (prev == next) in switch_mm()
76 switch_mm_irqs_off(prev, next, tsk); in switch_mm()
83 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument
93 BUG_ON(next == &init_mm); /* Should never happen */ in activate_mm()
[all …]
/kernel/linux/linux-5.10/block/
Dcmdline-parser.c43 char *next = strchr(++partdef, ')'); in parse_subpart() local
45 if (!next) { in parse_subpart()
51 length = min_t(int, next - partdef, in parse_subpart()
56 partdef = ++next; in parse_subpart()
93 char *next; in parse_parts() local
105 next = strchr(bdevdef, ':'); in parse_parts()
106 if (!next) { in parse_parts()
111 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts()
118 while (next && *(++next)) { in parse_parts()
119 bdevdef = next; in parse_parts()
[all …]

12345678910>>...155