Home
last modified time | relevance | path

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

12

/lib/
Dvsprintf.c416 char *number(char *buf, char *end, unsigned long long num, in number() argument
480 if (buf < end) in number()
487 if (buf < end) in number()
494 if (buf < end) in number()
499 if (buf < end) in number()
509 if (buf < end) in number()
516 if (buf < end) in number()
522 if (buf < end) in number()
528 if (buf < end) in number()
537 char *special_hex_number(char *buf, char *end, unsigned long long num, int size) in special_hex_number() argument
[all …]
Dioremap.c64 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() argument
77 } while (pte++, addr += PAGE_SIZE, addr != end); in ioremap_pte_range()
82 unsigned long end, phys_addr_t phys_addr, in ioremap_try_huge_pmd() argument
88 if ((end - addr) != PMD_SIZE) in ioremap_try_huge_pmd()
104 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() argument
113 next = pmd_addr_end(addr, end); in ioremap_pmd_range()
120 } while (pmd++, phys_addr += (next - addr), addr = next, addr != end); in ioremap_pmd_range()
125 unsigned long end, phys_addr_t phys_addr, in ioremap_try_huge_pud() argument
131 if ((end - addr) != PUD_SIZE) in ioremap_try_huge_pud()
147 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() argument
[all …]
Dstring_helpers.c303 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough() argument
307 if (out < end) in escape_passthrough()
313 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
338 if (out < end) in escape_space()
341 if (out < end) in escape_space()
349 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
368 if (out < end) in escape_special()
371 if (out < end) in escape_special()
379 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
386 if (out < end) in escape_null()
[all …]
Dsiphash.c54 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_aligned() local
58 for (; data != end; data += sizeof(u64)) { in __siphash_aligned()
71 case 7: b |= ((u64)end[6]) << 48; /* fall through */ in __siphash_aligned()
72 case 6: b |= ((u64)end[5]) << 40; /* fall through */ in __siphash_aligned()
73 case 5: b |= ((u64)end[4]) << 32; /* fall through */ in __siphash_aligned()
75 case 3: b |= ((u64)end[2]) << 16; /* fall through */ in __siphash_aligned()
77 case 1: b |= end[0]; in __siphash_aligned()
87 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_unaligned() local
91 for (; data != end; data += sizeof(u64)) { in __siphash_unaligned()
104 case 7: b |= ((u64)end[6]) << 48; /* fall through */ in __siphash_unaligned()
[all …]
Diomap_copy.c25 const u32 *end = src + count; in __iowrite32_copy() local
27 while (src < end) in __iowrite32_copy()
46 const u32 __iomem *end = src + count; in __ioread32_copy() local
48 while (src < end) in __ioread32_copy()
70 const u64 *end = src + count; in __iowrite64_copy() local
72 while (src < end) in __iowrite64_copy()
Dbitmap.c332 unsigned long index, end, i; in bitmap_find_next_zero_area_off() local
339 end = index + nr; in bitmap_find_next_zero_area_off()
340 if (end > size) in bitmap_find_next_zero_area_off()
341 return end; in bitmap_find_next_zero_area_off()
342 i = find_next_bit(map, end, index); in bitmap_find_next_zero_area_off()
343 if (i < end) { in bitmap_find_next_zero_area_off()
511 unsigned int end; member
519 if (r->end >= nbits) in bitmap_set_region()
522 for (start = r->start; start <= r->end; start += r->group_len) in bitmap_set_region()
523 bitmap_set(bitmap, start, min(r->end - start + 1, r->off)); in bitmap_set_region()
[all …]
Doid_registry.c108 const unsigned char *v = data, *end = v + datasize; in sprint_oid() local
114 if (v >= end) in sprint_oid()
124 while (v < end) { in sprint_oid()
132 if (v >= end) in sprint_oid()
Dstring.c503 char *end; in strim() local
509 end = s + size - 1; in strim()
510 while (end >= s && isspace(*end)) in strim()
511 end--; in strim()
512 *(end + 1) = '\0'; in strim()
638 char *end; in strsep() local
643 end = strpbrk(sbegin, ct); in strsep()
644 if (end) in strsep()
645 *end++ = '\0'; in strsep()
646 *s = end; in strsep()
Ddynamic_debug.c227 char *end; in ddebug_tokenize() local
239 for (end = buf; *end && *end != quote; end++) in ddebug_tokenize()
241 if (!*end) { in ddebug_tokenize()
246 for (end = buf; *end && !isspace(*end); end++) in ddebug_tokenize()
248 BUG_ON(end == buf); in ddebug_tokenize()
256 if (*end) in ddebug_tokenize()
257 *end++ = '\0'; /* terminate the word */ in ddebug_tokenize()
259 buf = end; in ddebug_tokenize()
Dtest_user_copy.c50 size_t start, end, i, zero_start, zero_end; in test_check_nonzero_user() local
91 for (end = start; end <= size; end++) { in test_check_nonzero_user()
92 size_t len = end - start; in test_check_nonzero_user()
98 retval, expected, start, end); in test_check_nonzero_user()
Didr.c79 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc() argument
87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc()
117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic() argument
120 int err, max = end > 0 ? end - 1 : INT_MAX; in idr_alloc_cyclic()
Ddecompress_unlzo.c45 u8 *end = input + in_len; in parse_header() local
80 if (end - parse < 8 + 1 + 4) in parse_header()
90 if (end - parse < l + 4) in parse_header()
Dseq_buf.c276 char *end = mangle_path(buf, p, esc); local
277 if (end)
278 res = end - buf;
Dchecksum.c70 const unsigned char *end = buff + ((unsigned)len & ~3); in do_csum() local
78 } while (buff < end); in do_csum()
Dlogic_pio.c37 resource_size_t end; in logic_pio_register_range() local
46 end = new_range->hw_start + new_range->size; in logic_pio_register_range()
58 end < range->hw_start) { in logic_pio_register_range()
Dbug.c209 static void clear_once_table(struct bug_entry *start, struct bug_entry *end) in clear_once_table() argument
213 for (bug = start; bug < end; bug++) in clear_once_table()
Derror-inject.c58 struct error_injection_entry *end, in populate_error_injection_list() argument
66 for (iter = start; iter < end; iter++) { in populate_error_injection_list()
/lib/dim/
Ddim.c57 void dim_calc_stats(struct dim_sample *start, struct dim_sample *end, in dim_calc_stats() argument
61 u32 delta_us = ktime_us_delta(end->time, start->time); in dim_calc_stats()
62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in dim_calc_stats()
63 u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, in dim_calc_stats()
65 u32 ncomps = BIT_GAP(BITS_PER_TYPE(u32), end->comp_ctr, in dim_calc_stats()
/lib/zlib_inflate/
Dinftrees.c43 int end; /* use base and extra for symbol > end */ in zlib_inflate_table() local
171 end = 19; in zlib_inflate_table()
178 end = 256; in zlib_inflate_table()
183 end = -1; in zlib_inflate_table()
205 if ((int)(work[sym]) < end) { in zlib_inflate_table()
209 else if ((int)(work[sym]) > end) { in zlib_inflate_table()
Dinffast.c95 unsigned char *end; /* while out < end, enough space available */ in inflate_fast() local
122 end = out + (strm->avail_out - 257); in inflate_fast()
330 } while (in < last && out < end); in inflate_fast()
342 strm->avail_out = (unsigned)(out < end ? in inflate_fast()
343 257 + (end - out) : 257 - (out - end)); in inflate_fast()
/lib/lz4/
Dlz4hc_compress.c67 hc4->end = start; in LZ4HC_init()
373 ctx->end += inputSize; in LZ4HC_compress_generic()
638 ctxPtr->end = (const BYTE *)dictionary + dictSize; in LZ4_loadDictHC()
649 if (ctxPtr->end >= ctxPtr->base + 4) { in LZ4HC_setExternalDict()
651 LZ4HC_Insert(ctxPtr, ctxPtr->end - 3); in LZ4HC_setExternalDict()
659 ctxPtr->dictLimit = (U32)(ctxPtr->end - ctxPtr->base); in LZ4HC_setExternalDict()
662 ctxPtr->end = newBlock; in LZ4HC_setExternalDict()
682 if ((size_t)(ctxPtr->end - ctxPtr->base) > 2 * GB) { in LZ4_compressHC_continue_generic()
683 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) in LZ4_compressHC_continue_generic()
688 (const char *)(ctxPtr->end) - dictSize, (int)dictSize); in LZ4_compressHC_continue_generic()
[all …]
/lib/zstd/
Dzstd_common.c32 (stack)->ptr <= (stack)->end ? ptr : NULL; \
46 stack->end = (char *)workspace + workspaceSize; in ZSTD_initStack()
54 *size = (BYTE const *)stack->end - (BYTE *)ZSTD_PTR_ALIGN(stack->ptr); in ZSTD_stackAllocAll()
Dfse_compress.c327 const BYTE *const end = ip + srcSize; in FSE_count_simple() local
337 while (ip < end) in FSE_count_simple()
593 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2() local
595 U32 const sEnd = (U32)(end >> vStepLog); in FSE_normalizeM2()
600 tmpTotal = end; in FSE_normalizeM2()
/lib/xz/
Dxz_dec_lzma2.c68 size_t end; member
290 dict->end = b->out_size - b->out_pos; in dict_reset()
302 if (dict->end - dict->pos <= out_max) in dict_limit()
303 dict->limit = dict->end; in dict_limit()
325 offset += dict->end; in dict_get()
359 back += dict->end; in dict_repeat()
363 if (back == dict->end) in dict_repeat()
383 if (copy_size > dict->end - dict->pos) in dict_uncompressed()
384 copy_size = dict->end - dict->pos; in dict_uncompressed()
397 if (dict->pos == dict->end) in dict_uncompressed()
[all …]
/lib/math/
Dprime_numbers.c93 unsigned long end) in clear_multiples() argument
101 while (m < end) { in clear_multiples()

12