Home
last modified time | relevance | path

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

/lib/
Dstring_helpers.c297 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough() argument
301 if (out < end) in escape_passthrough()
307 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
332 if (out < end) in escape_space()
335 if (out < end) in escape_space()
343 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
362 if (out < end) in escape_special()
365 if (out < end) in escape_special()
373 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
380 if (out < end) in escape_null()
[all …]
Dsiphash.c55 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_aligned() local
59 for (; data != end; data += sizeof(u64)) { in __siphash_aligned()
72 case 7: b |= ((u64)end[6]) << 48; in __siphash_aligned()
73 case 6: b |= ((u64)end[5]) << 40; in __siphash_aligned()
74 case 5: b |= ((u64)end[4]) << 32; in __siphash_aligned()
76 case 3: b |= ((u64)end[2]) << 16; in __siphash_aligned()
78 case 1: b |= end[0]; in __siphash_aligned()
88 const u8 *end = data + len - (len % sizeof(u64)); in __siphash_unaligned() local
92 for (; data != end; data += sizeof(u64)) { in __siphash_unaligned()
105 case 7: b |= ((u64)end[6]) << 48; in __siphash_unaligned()
[all …]
Dvsprintf.c392 char *number(char *buf, char *end, unsigned long long num, in number() argument
454 if (buf < end) in number()
461 if (buf < end) in number()
468 if (buf < end) in number()
473 if (buf < end) in number()
483 if (buf < end) in number()
490 if (buf < end) in number()
496 if (buf < end) in number()
502 if (buf < end) in number()
511 char *string(char *buf, char *end, const char *s, struct printf_spec spec) in string() argument
[all …]
Dioremap.c54 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() argument
67 } while (pte++, addr += PAGE_SIZE, addr != end); in ioremap_pte_range()
72 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() argument
82 next = pmd_addr_end(addr, end); in ioremap_pmd_range()
94 } while (pmd++, addr = next, addr != end); in ioremap_pmd_range()
99 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() argument
109 next = pud_addr_end(addr, end); in ioremap_pud_range()
121 } while (pud++, addr = next, addr != end); in ioremap_pud_range()
126 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() argument
133 BUG_ON(addr >= end); in ioremap_page_range()
[all …]
Dbsearch.c37 size_t start = 0, end = num; in bsearch() local
40 while (start < end) { in bsearch()
41 size_t mid = start + (end - start) / 2; in bsearch()
45 end = mid; in bsearch()
Diomap_copy.c37 const u32 *end = src + count; in __iowrite32_copy() local
39 while (src < end) in __iowrite32_copy()
61 const u64 *end = src + count; in __iowrite64_copy() local
63 while (src < end) in __iowrite64_copy()
Diommu-common.c85 iommu->pools[i].end = start - 1; in iommu_tbl_pool_init()
93 p->end = num_entries; in iommu_tbl_pool_init()
105 unsigned long n, end, start, limit, boundary_size; in iommu_tbl_range_alloc() local
137 (*handle >= pool->start) && (*handle < pool->end)) in iommu_tbl_range_alloc()
142 limit = pool->end; in iommu_tbl_range_alloc()
215 end = n + npages; in iommu_tbl_range_alloc()
216 pool->hint = end; in iommu_tbl_range_alloc()
220 *handle = end; in iommu_tbl_range_alloc()
Doid_registry.c112 const unsigned char *v = data, *end = v + datasize; in sprint_oid() local
118 if (v >= end) in sprint_oid()
128 while (v < end) { in sprint_oid()
136 if (v >= end) in sprint_oid()
Dstring.c514 char *end; in strim() local
520 end = s + size - 1; in strim()
521 while (end >= s && isspace(*end)) in strim()
522 end--; in strim()
523 *(end + 1) = '\0'; in strim()
649 char *end; in strsep() local
654 end = strpbrk(sbegin, ct); in strsep()
655 if (end) in strsep()
656 *end++ = '\0'; in strsep()
657 *s = end; in strsep()
Ddynamic_debug.c217 char *end; in ddebug_tokenize() local
229 for (end = buf; *end && *end != quote; end++) in ddebug_tokenize()
231 if (!*end) { in ddebug_tokenize()
236 for (end = buf; *end && !isspace(*end); end++) in ddebug_tokenize()
238 BUG_ON(end == buf); in ddebug_tokenize()
246 if (*end) in ddebug_tokenize()
247 *end++ = '\0'; /* terminate the word */ in ddebug_tokenize()
249 buf = end; in ddebug_tokenize()
Dbitmap.c315 unsigned long index, end, i; in bitmap_find_next_zero_area_off() local
322 end = index + nr; in bitmap_find_next_zero_area_off()
323 if (end > size) in bitmap_find_next_zero_area_off()
324 return end; in bitmap_find_next_zero_area_off()
325 i = find_next_bit(map, end, index); in bitmap_find_next_zero_area_off()
326 if (i < end) { in bitmap_find_next_zero_area_off()
1015 unsigned int pos, end; /* scans bitmap by regions of size order */ in bitmap_find_free_region() local
1017 for (pos = 0 ; (end = pos + (1U << order)) <= bits; pos = end) { in bitmap_find_free_region()
Dflex_array.c274 unsigned int end; in flex_array_prealloc() local
284 end = start + nr_elements - 1; in flex_array_prealloc()
286 if (end >= fa->total_nr_elements) in flex_array_prealloc()
293 end_part = fa_element_to_part_nr(fa, end); in flex_array_prealloc()
Ddecompress_unlzo.c59 u8 *end = input + in_len; in parse_header() local
94 if (end - parse < 8 + 1 + 4) in parse_header()
104 if (end - parse < l + 4) in parse_header()
Didr.c450 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp_mask) in idr_alloc() argument
452 int max = end > 0 ? end - 1 : INT_MAX; /* inclusive upper limit */ in idr_alloc()
488 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, in idr_alloc_cyclic() argument
493 id = idr_alloc(idr, ptr, max(start, idr->cur), end, gfp_mask); in idr_alloc_cyclic()
495 id = idr_alloc(idr, ptr, start, end, gfp_mask); in idr_alloc_cyclic()
1078 int ida_simple_get(struct ida *ida, unsigned int start, unsigned int end, in ida_simple_get() argument
1086 BUG_ON((int)end < 0); in ida_simple_get()
1088 if (end == 0) in ida_simple_get()
1091 BUG_ON(end < start); in ida_simple_get()
1092 max = end - 1; in ida_simple_get()
Dseq_buf.c279 char *end = mangle_path(buf, p, esc); local
280 if (end)
281 res = end - buf;
Dnmi_backtrace.c39 static void print_seq_line(struct nmi_seq_buf *s, int start, int end) in print_seq_line() argument
43 printk("%.*s", (end - start) + 1, buf); in print_seq_line()
Dtest_rhashtable.c161 s64 start, end; in test_rhashtable() local
211 end = ktime_get_ns(); in test_rhashtable()
212 pr_info(" Duration of test: %lld ns\n", end - start); in test_rhashtable()
214 return end - start; in test_rhashtable()
Dchecksum.c74 const unsigned char *end = buff + ((unsigned)len & ~3); in do_csum() local
82 } while (buff < end); in do_csum()
Dgenalloc.c421 unsigned long end = start + size - 1; in addr_in_gen_pool() local
427 if (end <= chunk->end_addr) { in addr_in_gen_pool()
Ddma-debug.c1173 static inline bool overlap(void *addr, unsigned long len, void *start, void *end) in overlap() argument
1178 unsigned long b2 = (unsigned long)end; in overlap()
DKconfig.debug919 If the stack end location is found to be over written always panic as
1559 Provide fault-injection capability on end IO handling. This
/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.c74 unsigned char *end; /* while out < end, enough space available */ in inflate_fast() local
101 end = out + (strm->avail_out - 257); in inflate_fast()
309 } while (in < last && out < end); in inflate_fast()
321 strm->avail_out = (unsigned)(out < end ? in inflate_fast()
322 257 + (end - out) : 257 - (out - end)); in inflate_fast()
/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()
404 if (dict->pos == dict->end) in dict_uncompressed()
[all …]
/lib/lz4/
Dlz4hc_compress.c171 const BYTE *end; in lz4hc_insertandfindbestmatch() local
172 end = ip + repl - (MINMATCH-1); in lz4hc_insertandfindbestmatch()
174 while (ptr < end - delta) { in lz4hc_insertandfindbestmatch()
183 } while (ptr < end); in lz4hc_insertandfindbestmatch()
184 hc4->nexttoupdate = end; in lz4hc_insertandfindbestmatch()