Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 30) sorted by relevance

12

/lib/
A Dinterval_tree_test.c53 nodes[i].last = b; in init()
113 results += search(&root, start, last); in search_check()
133 unsigned long start, last; in intersection_range_check() local
164 last = ULONG_MAX; in intersection_range_check()
175 if (start <= node->last && last >= node->start) in intersection_range_check()
220 cur_last = mas->last > state->last_index ? in mas_cur_span()
221 state->last_index : mas->last; in mas_cur_span()
243 unsigned long start, last; in span_iteration_check() local
264 nodes[j].last, nodes + j, GFP_KERNEL)); in span_iteration_check()
271 last = ULONG_MAX; in span_iteration_check()
[all …]
A Dinterval_tree.c8 #define LAST(node) ((node)->last)
40 if (cur->last > state->nodes[0]->last) in interval_tree_span_iter_next_gap()
44 } while (cur && (state->nodes[0]->last >= cur->start || in interval_tree_span_iter_next_gap()
45 state->nodes[0]->last + 1 == cur->start)); in interval_tree_span_iter_next_gap()
79 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_first()
97 iter->last_used = iter->nodes[0]->last; in interval_tree_span_iter_next()
109 iter->start_hole = iter->nodes[0]->last + 1; in interval_tree_span_iter_next()
117 iter->start_hole = iter->nodes[0]->last + 1; in interval_tree_span_iter_next()
A Dklist.c336 struct klist_node *last = i->i_cur; in klist_prev() local
342 if (last) { in klist_prev()
343 prev = to_klist_node(last->n_node.prev); in klist_prev()
344 if (!klist_dec_and_del(last)) in klist_prev()
361 if (put && last) in klist_prev()
362 put(last); in klist_prev()
378 struct klist_node *last = i->i_cur; in klist_next() local
384 if (last) { in klist_next()
386 if (!klist_dec_and_del(last)) in klist_next()
403 if (put && last) in klist_next()
[all …]
A Dtest_maple_tree.c573 last = mas.last; in check_find()
588 MT_BUG_ON(mt, last != mas.last); in check_find()
1684 mas.last = index; in check_gap_combining()
2030 mas.last = 929; in check_iteration()
2047 mas.last = 785; in check_iteration()
2064 mas.last = 765; in check_iteration()
2099 newmas.last = mas.last; in check_mas_store_gfp()
2313 mas.last = 5; in next_prev_test()
2783 newmas.last = mas.last; in check_dup_gaps()
3693 mas.last = 0x1200; in check_state_handling()
[all …]
A Dmaple_tree.c2772 last = next; in mtree_range_walk()
2805 mas->last = max; in mtree_range_walk()
3492 unsigned long last = wr_mas->mas->last; in mas_is_span_wr() local
3497 if (last < max) in mas_is_span_wr()
3502 if (last < max) in mas_is_span_wr()
3777 r_mas.last++; in mas_wr_spanning_store()
3781 r_mas.last = r_mas.index = mas->last; in mas_wr_spanning_store()
3791 mas->last = l_mas.last = r_mas.last; in mas_wr_spanning_store()
4947 mas->last = 0; in mas_walk()
5462 unsigned long last = mas->last; in mas_store_gfp() local
[all …]
A Dtest_min_heap.c32 int last; in pop_verify_heap() local
34 last = values[0]; in pop_verify_heap()
38 if (last > values[0]) { in pop_verify_heap()
39 pr_err("error: expected %d <= %d\n", last, in pop_verify_heap()
44 if (last < values[0]) { in pop_verify_heap()
45 pr_err("error: expected %d >= %d\n", last, in pop_verify_heap()
50 last = values[0]; in pop_verify_heap()
A Ddebugobjects.c162 last = obj->batch_last; in pool_move_batch()
163 next_batch = last->next; in pool_move_batch()
172 if (last->next) in pool_move_batch()
173 last->next->pprev = &last->next; in pool_move_batch()
184 struct hlist_node *last; in pool_push_batch() local
191 last = obj->batch_last; in pool_push_batch()
210 last = obj->batch_last; in pool_pop_batch()
211 next = last->next; in pool_pop_batch()
213 last->next = NULL; in pool_pop_batch()
378 if (!last) in kmem_alloc_batch()
[all …]
A Dplist.c75 struct plist_node *first, *iter, *prev = NULL, *last, *reverse_iter; in plist_add() local
86 last = reverse_iter = list_entry(first->prio_list.prev, struct plist_node, prio_list); in plist_add()
96 if (likely(reverse_iter != last)) in plist_add()
A Dalloc_tag.c377 end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last); in clean_unused_module_areas_locked()
512 mas.last = offset - 1; in reserve_module_tags()
519 mas.last = offset + size - 1; in reserve_module_tags()
527 mas.last = offset + size - 1; in reserve_module_tags()
579 end_tag = (struct alloc_tag *)(module_tags.start_addr + mas.last); in release_module_tags()
A Dstring.c382 const char *last = NULL; in strrchr() local
385 last = s; in strrchr()
387 return (char *)last; in strrchr()
A Dxarray.c1824 unsigned long last) in xas_set_range() argument
1827 unsigned long sibs = last - first; in xas_set_range()
1847 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1873 unsigned long last, void *entry, gfp_t gfp) in xa_store_range() argument
1879 if (last < first) in xa_store_range()
1886 if (last + 1) in xa_store_range()
1887 order = __ffs(last + 1); in xa_store_range()
1888 xas_set_order(&xas, last, order); in xa_store_range()
1894 xas_set_range(&xas, first, last); in xa_store_range()
1899 } while (first <= last); in xa_store_range()
A Dobjpool.c39 slot->last = slot->tail; in objpool_init_percpu_slot()
A Ddynamic_debug.c355 char *last = strchr(first, '-'); in parse_linerange() local
361 if (last) in parse_linerange()
362 *last++ = '\0'; in parse_linerange()
365 if (last) { in parse_linerange()
367 if (parse_lineno(last, &query->last_lineno) < 0) in parse_linerange()
/lib/math/tests/
A Dprime_numbers_kunit.c16 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
22 unsigned long x, last, next; in prime_numbers_test() local
24 for (last = 0, x = 2; x < max; x++) { in prime_numbers_test()
33 next = next_prime_number(last); in prime_numbers_test()
34 KUNIT_ASSERT_EQ_MSG(test, next, x, "next-prime(%lu)", last); in prime_numbers_test()
35 last = next; in prime_numbers_test()
/lib/crypto/riscv/
A Dsha512-riscv64-zvknhb-zvkb.S77 .macro sha512_4rounds last, w0, w1, w2, w3
83 .if !\last
89 .macro sha512_16rounds last
90 sha512_4rounds \last, W0, W1, W2, W3
91 sha512_4rounds \last, W1, W2, W3, W0
92 sha512_4rounds \last, W2, W3, W0, W1
93 sha512_4rounds \last, W3, W0, W1, W2
A Dsha256-riscv64-zvknha_or_zvknhb-zvkb.S92 .macro sha256_4rounds last, k, w0, w1, w2, w3
96 .if !\last
102 .macro sha256_16rounds last, k0, k1, k2, k3
103 sha256_4rounds \last, \k0, W0, W1, W2, W3
104 sha256_4rounds \last, \k1, W1, W2, W3, W0
105 sha256_4rounds \last, \k2, W2, W3, W0, W1
106 sha256_4rounds \last, \k3, W3, W0, W1, W2
/lib/math/
A Dprime_numbers.c12 .last = 61,
37 .last = 31,
144 if (x < p->last) { in expand_to_next_prime()
156 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
159 BUG_ON(new->last <= x); in expand_to_next_prime()
203 while (x >= p->last) { in next_prime_number()
212 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
A Dprime_numbers_private.h7 unsigned long last, sz; member
/lib/zlib_inflate/
A Dinflate.c43 state->last = 0; in zlib_inflateReset()
413 if (state->last) { in zlib_inflate()
419 state->last = BITS(1); in zlib_inflate()
592 last = this; in zlib_inflate()
594 this = state->lencode[last.val + in zlib_inflate()
595 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
599 DROPBITS(last.bits); in zlib_inflate()
634 last = this; in zlib_inflate()
636 this = state->distcode[last.val + in zlib_inflate()
637 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
[all …]
A Dinffast.c71 const unsigned char *last; /* while in < last, enough input available */ in inflate_fast() local
98 last = in + (strm->avail_in - 5); in inflate_fast()
308 } while (in < last && out < end); in inflate_fast()
319 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
A Dinflate.h76 int last; /* true if processing last block */ member
/lib/zlib_dfltcc/
A Ddfltcc_inflate.c109 if (state->last) { in dfltcc_inflate()
141 state->last = cc == DFLTCC_CC_OK; in dfltcc_inflate()
/lib/842/
A D842_compress.c482 u64 last, next, pad, total; in sw842_compress() local
514 last = ~get_unaligned((u64 *)p->in); in sw842_compress()
528 if (next == last) { in sw842_compress()
538 if (next == last) /* reached max repeat bits */ in sw842_compress()
551 last = next; in sw842_compress()
/lib/crc/x86/
A Dcrc32c-3way.S123 sub $5, %eax # 4 for 4x_loop, 1 for special last iter
/lib/kunit/
A DKconfig24 test suite, which allow users to see results of the last test suite

Completed in 60 milliseconds

12