Home
last modified time | relevance | path

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

/lib/math/
Dprime_numbers.c13 unsigned long last, sz; member
19 .last = 61,
44 .last = 31,
135 if (x < p->last) { in expand_to_next_prime()
147 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
150 BUG_ON(new->last <= x); in expand_to_next_prime()
194 while (x >= p->last) { in next_prime_number()
203 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
257 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
266 unsigned long x, last; in selftest() local
[all …]
/lib/
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()
385 next = to_klist_node(last->n_node.next); in klist_next()
386 if (!klist_dec_and_del(last)) in klist_next()
[all …]
Dinterval_tree_test.c30 search(struct rb_root_cached *root, unsigned long start, unsigned long last) in search() argument
35 for (node = interval_tree_iter_first(root, start, last); node; in search()
36 node = interval_tree_iter_next(node, start, last)) in search()
50 nodes[i].last = b; in init()
110 unsigned long last = search_all ? max_endpoint : queries[j]; in interval_tree_test_init() local
112 results += search(&root, start, last); in interval_tree_test_init()
Dinterval_tree.c8 #define LAST(node) ((node)->last)
Dxarray.c1508 unsigned long last) in xas_set_range() argument
1511 unsigned long sibs = last - first; in xas_set_range()
1531 if ((((first + sibs + 1) << shift) - 1) > last) in xas_set_range()
1557 unsigned long last, void *entry, gfp_t gfp) in xa_store_range() argument
1563 if (last < first) in xa_store_range()
1570 if (last + 1) in xa_store_range()
1571 order = __ffs(last + 1); in xa_store_range()
1572 xas_set_order(&xas, last, order); in xa_store_range()
1578 xas_set_range(&xas, first, last); in xa_store_range()
1583 } while (first <= last); in xa_store_range()
Ddynamic_debug.c351 char *last = strchr(first, '-'); in ddebug_parse_query() local
356 if (last) in ddebug_parse_query()
357 *last++ = '\0'; in ddebug_parse_query()
360 if (last) { in ddebug_parse_query()
362 if (parse_lineno(last, &query->last_lineno) < 0) in ddebug_parse_query()
Dstring.c445 const char *last = NULL; in strrchr() local
448 last = s; in strrchr()
450 return (char *)last; in strrchr()
Dtest_xarray.c1398 unsigned long last) in __check_store_range() argument
1401 xa_store_range(xa, first, last, xa_mk_index(first), GFP_KERNEL); in __check_store_range()
1404 XA_BUG_ON(xa, xa_load(xa, last) != xa_mk_index(first)); in __check_store_range()
1406 XA_BUG_ON(xa, xa_load(xa, last + 1) != NULL); in __check_store_range()
1408 xa_store_range(xa, first, last, NULL, GFP_KERNEL); in __check_store_range()
DKconfig.debug1326 last reference count put is not predictable, and the kobject can
1337 on the last reference count to improve the visibility of this
/lib/zlib_inflate/
Dinflate.c33 state->last = 0; in zlib_inflateReset()
329 code last; /* parent table entry */ in zlib_inflate() local
398 if (state->last) { in zlib_inflate()
404 state->last = BITS(1); in zlib_inflate()
577 last = this; in zlib_inflate()
579 this = state->lencode[last.val + in zlib_inflate()
580 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate()
581 if ((unsigned)(last.bits + this.bits) <= bits) break; in zlib_inflate()
584 DROPBITS(last.bits); in zlib_inflate()
619 last = this; in zlib_inflate()
[all …]
Dinffast.c92 const unsigned char *last; /* while in < last, enough input available */ in inflate_fast() local
119 last = in + (strm->avail_in - 5); in inflate_fast()
330 } while (in < last && out < end); in inflate_fast()
341 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
Dinflate.h74 int last; /* true if processing last block */ member
/lib/vdso/
Dgettimeofday.c35 u64 vdso_calc_delta(u64 cycles, u64 last, u64 mask, u32 mult) in vdso_calc_delta() argument
37 return ((cycles - last) & mask) * mult; in vdso_calc_delta()
45 u64 cycles, last, sec, ns; in do_hres() local
52 last = vd->cycle_last; in do_hres()
56 ns += vdso_calc_delta(cycles, last, vd->mask, vd->mult); in do_hres()
/lib/842/
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()
536 if (next == last) /* reached max repeat bits */ in sw842_compress()
549 last = next; in sw842_compress()