Home
last modified time | relevance | path

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

12

/lib/
Dlist_debug.c24 struct list_head *next) in __list_add() argument
26 WARN(next->prev != prev, in __list_add()
29 prev, next->prev, next); in __list_add()
30 WARN(prev->next != next, in __list_add()
33 next, prev->next, prev); in __list_add()
34 WARN(new == prev || new == next, in __list_add()
36 new, prev, next); in __list_add()
37 next->prev = new; in __list_add()
38 new->next = next; in __list_add()
40 prev->next = new; in __list_add()
[all …]
Dlist_sort.c27 tail->next = a; in merge()
28 a = a->next; in merge()
30 tail->next = b; in merge()
31 b = b->next; in merge()
33 tail = tail->next; in merge()
35 tail->next = a?:b; in merge()
36 return head.next; in merge()
58 tail->next = a; in merge_and_restore_back_links()
60 a = a->next; in merge_and_restore_back_links()
62 tail->next = b; in merge_and_restore_back_links()
[all …]
Dplist.c37 WARN(n->prev != p || p->next != n, in plist_check_prev_next()
41 t, t->next, t->prev, in plist_check_prev_next()
42 p, p->next, p->prev, in plist_check_prev_next()
43 n, n->next, n->prev); in plist_check_prev_next()
48 struct list_head *prev = top, *next = top->next; in plist_check_list() local
50 plist_check_prev_next(top, prev, next); in plist_check_list()
51 while (next != top) { in plist_check_list()
52 prev = next; in plist_check_list()
53 next = prev->next; in plist_check_list()
54 plist_check_prev_next(top, prev, next); in plist_check_list()
[all …]
Dioremap.c38 unsigned long next; in ioremap_pmd_range() local
45 next = pmd_addr_end(addr, end); in ioremap_pmd_range()
46 if (ioremap_pte_range(pmd, addr, next, phys_addr + addr, prot)) in ioremap_pmd_range()
48 } while (pmd++, addr = next, addr != end); in ioremap_pmd_range()
56 unsigned long next; in ioremap_pud_range() local
63 next = pud_addr_end(addr, end); in ioremap_pud_range()
64 if (ioremap_pmd_range(pud, addr, next, phys_addr + addr, prot)) in ioremap_pud_range()
66 } while (pud++, addr = next, addr != end); in ioremap_pud_range()
75 unsigned long next; in ioremap_page_range() local
84 next = pgd_addr_end(addr, end); in ioremap_page_range()
[all …]
Dtimerqueue.c59 if (!head->next || node->expires.tv64 < head->next->expires.tv64) in timerqueue_add()
60 head->next = node; in timerqueue_add()
77 if (head->next == node) { in timerqueue_del()
80 head->next = rbn ? in timerqueue_del()
99 struct rb_node *next; in timerqueue_iterate_next() local
103 next = rb_next(&node->node); in timerqueue_iterate_next()
104 if (!next) in timerqueue_iterate_next()
106 return container_of(next, struct timerqueue_node, node); in timerqueue_iterate_next()
Dllist.c45 new_last->next = first = ACCESS_ONCE(head->first); in llist_add_batch()
68 struct llist_node *entry, *old_entry, *next; in llist_del_first() local
75 next = entry->next; in llist_del_first()
76 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first()
98 head = head->next; in llist_reverse_order()
99 tmp->next = new_head; in llist_reverse_order()
Dklist.c338 struct klist_node *next; in klist_next() local
343 next = to_klist_node(last->n_node.next); in klist_next()
347 next = to_klist_node(i->i_klist->k_list.next); in klist_next()
350 while (next != to_klist_node(&i->i_klist->k_list)) { in klist_next()
351 if (likely(!knode_dead(next))) { in klist_next()
352 kref_get(&next->n_ref); in klist_next()
353 i->i_cur = next; in klist_next()
356 next = to_klist_node(next->n_node.next); in klist_next()
Drhashtable.c165 struct rhash_head *he, *p, *next; in hashtable_chain_unzip() local
178 rht_for_each(he, p->next, ht) { in hashtable_chain_unzip()
183 RCU_INIT_POINTER(old_tbl->buckets[n], p->next); in hashtable_chain_unzip()
188 next = NULL; in hashtable_chain_unzip()
190 rht_for_each(he, he->next, ht) { in hashtable_chain_unzip()
192 next = he; in hashtable_chain_unzip()
201 RCU_INIT_POINTER(p->next, next); in hashtable_chain_unzip()
325 pprev = &rht_dereference(*pprev, ht)->next) in rhashtable_shrink()
365 RCU_INIT_POINTER(obj->next, tbl->buckets[hash]); in rhashtable_insert()
392 RCU_INIT_POINTER(*pprev, obj->next); in rhashtable_remove_pprev()
[all …]
Doid_registry.c83 goto next; in look_up_OID()
87 goto next; in look_up_OID()
91 next: in look_up_OID()
Dts_fsm.c141 struct ts_fsm_token *cur = NULL, *next; in fsm_find() local
173 next = &fsm->tokens[tok_idx + 1]; in fsm_find()
175 next = NULL; in fsm_find()
203 if (next == NULL) in fsm_find()
209 while (!match_token(next, data[block_idx])) { in fsm_find()
226 while (!match_token(next, data[block_idx])) { in fsm_find()
Dts_bm.c83 goto next; in bm_find()
89 next: bs = bm->bad_shift[text[shift-i]]; in bm_find()
Dscatterlist.c180 struct scatterlist *sgl, *next; in __sg_free_table() local
197 next = sg_chain_ptr(&sgl[max_ents - 1]); in __sg_free_table()
202 next = NULL; in __sg_free_table()
210 sgl = next; in __sg_free_table()
Dvsprintf.c2337 char *next; in vsscanf() local
2491 simple_strtol(str, &next, base) : in vsscanf()
2492 simple_strtoll(str, &next, base); in vsscanf()
2495 simple_strtoul(str, &next, base) : in vsscanf()
2496 simple_strtoull(str, &next, base); in vsscanf()
2498 if (field_width > 0 && next - str > field_width) { in vsscanf()
2501 while (next - str > field_width) { in vsscanf()
2506 --next; in vsscanf()
2548 if (!next) in vsscanf()
2550 str = next; in vsscanf()
Ddynamic_debug.c695 iter->table = list_entry(ddebug_tables.next, in ddebug_iter_first()
718 iter->table = list_entry(iter->table->link.next, in ddebug_iter_next()
812 .next = ddebug_proc_next,
945 struct ddebug_table *dt = list_entry(ddebug_tables.next, in ddebug_remove_all_tables()
/lib/lzo/
Dlzo1x_decompress_safe.c43 size_t t, next; in lzo1x_decompress_safe() local
57 next = t; in lzo1x_decompress_safe()
110 next = t & 3; in lzo1x_decompress_safe()
121 next = t & 3; in lzo1x_decompress_safe()
128 next = t & 3; in lzo1x_decompress_safe()
152 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
154 m_pos -= next >> 2; in lzo1x_decompress_safe()
155 next &= 3; in lzo1x_decompress_safe()
176 next = get_unaligned_le16(ip); in lzo1x_decompress_safe()
178 m_pos -= next >> 2; in lzo1x_decompress_safe()
[all …]
Dlzo1x_compress.c43 next: in lzo1x_1_do_compress()
210 goto next; in lzo1x_1_do_compress()
/lib/zlib_inflate/
Dinftrees.c40 code *next; /* next available space in table */ in zlib_inflate_table() local
190 next = *table; /* current table to fill in */ in zlib_inflate_table()
224 next[(huff >> drop) + fill] = this; in zlib_inflate_table()
252 next += min; /* here min is 1 << curr */ in zlib_inflate_table()
273 (*table)[low].val = (unsigned short)(next - *table); in zlib_inflate_table()
292 next = *table; in zlib_inflate_table()
297 next[huff >> drop] = this; in zlib_inflate_table()
Dinflate.c38 state->lencode = state->distcode = state->next = state->codes; in zlib_inflateReset()
170 next = strm->next_in; \
181 strm->next_in = next; \
200 hold += (unsigned long)(*next++) << bits; \
320 const unsigned char *next; /* next input */ in zlib_inflate() local
437 memcpy(put, next, copy); in zlib_inflate()
439 next += copy; in zlib_inflate()
472 state->next = state->codes; in zlib_inflate()
473 state->lencode = (code const *)(state->next); in zlib_inflate()
475 ret = zlib_inflate_table(CODES, state->lens, 19, &(state->next), in zlib_inflate()
[all …]
Dinflate.h106 code *next; /* next available space in codes[] */ member
/lib/mpi/
Dmpih-mul.c387 if (!ctx->next) { in mpihelp_mul_karatsuba_case()
388 ctx->next = kzalloc(sizeof *ctx, GFP_KERNEL); in mpihelp_mul_karatsuba_case()
389 if (!ctx->next) in mpihelp_mul_karatsuba_case()
395 ctx->next) < 0) in mpihelp_mul_karatsuba_case()
414 for (ctx = ctx->next; ctx; ctx = ctx2) { in mpihelp_release_karatsuba_ctx()
415 ctx2 = ctx->next; in mpihelp_release_karatsuba_ctx()
Dmpi-internal.h192 struct karatsuba_ctx *next; member
/lib/zlib_deflate/
Ddeflate.c179 char *next; in zlib_deflateInit2() local
208 next = (char *) mem; in zlib_deflateInit2()
209 next += sizeof(*mem); in zlib_deflateInit2()
210 mem->window_memory = (Byte *) next; in zlib_deflateInit2()
211 next += zlib_deflate_window_memsize(windowBits); in zlib_deflateInit2()
212 mem->prev_memory = (Pos *) next; in zlib_deflateInit2()
213 next += zlib_deflate_prev_memsize(windowBits); in zlib_deflateInit2()
214 mem->head_memory = (Pos *) next; in zlib_deflateInit2()
215 next += zlib_deflate_head_memsize(memLevel); in zlib_deflateInit2()
216 mem->overlay_memory = next; in zlib_deflateInit2()
/lib/raid6/
Dtilegx.uc31 * rolling over into the next byte
Dneon.uc35 * rolling over into the next byte
Dint.uc58 * rolling over into the next byte

12