/lib/ |
D | bsearch.c | 36 size_t start = 0, end = num; in bsearch() local 39 while (start < end) { in bsearch() 40 size_t mid = start + (end - start) / 2; in bsearch() 46 start = mid + 1; in bsearch()
|
D | pci_iomap.c | 28 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap() local 32 if (!len || !start) in pci_iomap() 37 return __pci_ioport_map(dev, start, len); in pci_iomap() 40 return ioremap(start, len); in pci_iomap() 41 return ioremap_nocache(start, len); in pci_iomap()
|
D | crc32.c | 786 u32 start; /* random 6 bit offset in buf */ member 1002 struct timespec start, stop; local 1015 test[i].start, test[i].length); 1022 getnstimeofday(&start); 1025 test[i].start, test[i].length)) 1033 nsec = stop.tv_nsec - start.tv_nsec + 1034 1000000000 * (stop.tv_sec - start.tv_sec); 1053 struct timespec start, stop; local 1066 test[i].start, test[i].length); 1069 test[i].start, test[i].length); [all …]
|
D | genalloc.c | 81 static int bitmap_set_ll(unsigned long *map, int start, int nr) in bitmap_set_ll() argument 83 unsigned long *p = map + BIT_WORD(start); in bitmap_set_ll() 84 const int size = start + nr; in bitmap_set_ll() 85 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_ll() 86 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set_ll() 116 static int bitmap_clear_ll(unsigned long *map, int start, int nr) in bitmap_clear_ll() argument 118 unsigned long *p = map + BIT_WORD(start); in bitmap_clear_ll() 119 const int size = start + nr; in bitmap_clear_ll() 120 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear_ll() 121 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear_ll() [all …]
|
D | iommu-helper.c | 20 unsigned long start, unsigned int nr, in iommu_area_alloc() argument 29 index = bitmap_find_next_zero_area(map, size, start, nr, align_mask); in iommu_area_alloc() 33 start = index + 1; in iommu_area_alloc()
|
D | string.c | 762 static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes) in check_bytes8() argument 765 if (*start != value) in check_bytes8() 766 return (void *)start; in check_bytes8() 767 start++; in check_bytes8() 782 void *memchr_inv(const void *start, int c, size_t bytes) in memchr_inv() argument 789 return check_bytes8(start, value, bytes); in memchr_inv() 803 prefix = (unsigned long)start % 8; in memchr_inv() 808 r = check_bytes8(start, value, prefix); in memchr_inv() 811 start += prefix; in memchr_inv() 818 if (*(u64 *)start != value64) in memchr_inv() [all …]
|
D | extable.c | 36 void sort_extable(struct exception_table_entry *start, in sort_extable() argument 39 sort(start, finish - start, sizeof(struct exception_table_entry), in sort_extable()
|
D | nlattr.c | 354 void *start; in __nla_reserve_nohdr() local 356 start = skb_put(skb, NLA_ALIGN(attrlen)); in __nla_reserve_nohdr() 357 memset(start, 0, NLA_ALIGN(attrlen)); in __nla_reserve_nohdr() 359 return start; in __nla_reserve_nohdr() 434 void *start; in __nla_put_nohdr() local 436 start = __nla_reserve_nohdr(skb, attrlen); in __nla_put_nohdr() 437 memcpy(start, data, attrlen); in __nla_put_nohdr()
|
D | ioremap.c | 74 unsigned long start; in ioremap_page_range() local 80 start = addr; in ioremap_page_range() 90 flush_cache_vmap(start, end); in ioremap_page_range()
|
D | flex_array.c | 263 int flex_array_prealloc(struct flex_array *fa, unsigned int start, in flex_array_prealloc() argument 272 if (!start && !nr_elements) in flex_array_prealloc() 274 if (start >= fa->total_nr_elements) in flex_array_prealloc() 279 end = start + nr_elements - 1; in flex_array_prealloc() 287 start_part = fa_element_to_part_nr(fa, start); in flex_array_prealloc()
|
D | bitmap.c | 276 void bitmap_set(unsigned long *map, int start, int nr) in bitmap_set() argument 278 unsigned long *p = map + BIT_WORD(start); in bitmap_set() 279 const int size = start + nr; in bitmap_set() 280 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set() 281 unsigned long mask_to_set = BITMAP_FIRST_WORD_MASK(start); in bitmap_set() 297 void bitmap_clear(unsigned long *map, int start, int nr) in bitmap_clear() argument 299 unsigned long *p = map + BIT_WORD(start); in bitmap_clear() 300 const int size = start + nr; in bitmap_clear() 301 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear() 302 unsigned long mask_to_clear = BITMAP_FIRST_WORD_MASK(start); in bitmap_clear() [all …]
|
D | interval_tree.c | 5 #define START(node) ((node)->start)
|
D | idr.c | 472 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp_mask) in idr_alloc() argument 481 if (WARN_ON_ONCE(start < 0)) in idr_alloc() 483 if (unlikely(max < start)) in idr_alloc() 487 id = idr_get_empty_slot(idr, start, pa, gfp_mask, NULL); in idr_alloc() 510 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, in idr_alloc_cyclic() argument 515 id = idr_alloc(idr, ptr, max(start, idr->cur), end, gfp_mask); in idr_alloc_cyclic() 517 id = idr_alloc(idr, ptr, start, end, gfp_mask); in idr_alloc_cyclic() 1095 int ida_simple_get(struct ida *ida, unsigned int start, unsigned int end, in ida_simple_get() argument 1102 BUG_ON((int)start < 0); in ida_simple_get() 1108 BUG_ON(end < start); in ida_simple_get() [all …]
|
D | interval_tree_test_main.c | 36 nodes[i].start = a; in init() 39 nodes[i].start = b; in init()
|
D | devres.c | 123 if (!devm_request_mem_region(dev, res->start, size, name)) { in devm_ioremap_resource() 129 dest_ptr = devm_ioremap(dev, res->start, size); in devm_ioremap_resource() 131 dest_ptr = devm_ioremap_nocache(dev, res->start, size); in devm_ioremap_resource() 135 devm_release_mem_region(dev, res->start, size); in devm_ioremap_resource()
|
D | vsprintf.c | 645 p = number(p, pend, res->start, *specp); in resource_string() 646 if (res->start != res->end) { in resource_string() 1172 const char *start = fmt; in format_decode() local 1202 if (fmt != start || !*fmt) in format_decode() 1203 return fmt - start; in format_decode() 1234 return ++fmt - start; in format_decode() 1249 return ++fmt - start; in format_decode() 1275 return ++fmt - start; in format_decode() 1279 return ++fmt - start; in format_decode() 1283 return fmt - start; in format_decode() [all …]
|
D | btree.c | 374 static int getfill(struct btree_geo *geo, unsigned long *node, int start) in getfill() argument 378 for (i = start; i < geo->no_pairs; i++) in getfill()
|
D | dma-debug.c | 953 static inline bool overlap(void *addr, unsigned long len, void *start, void *end) in overlap() argument 957 unsigned long a2 = (unsigned long)start; in overlap()
|
D | dynamic_debug.c | 812 .start = ddebug_proc_start,
|
D | Kconfig.debug | 980 Say Y here if you want the RCU torture tests to start during 982 Say N here if you want the RCU torture tests to start only
|
/lib/zlib_inflate/ |
D | inffast.h | 11 void inflate_fast (z_streamp strm, unsigned start);
|
D | inffast.c | 88 void inflate_fast(z_streamp strm, unsigned start) in inflate_fast() argument 121 beg = out - (start - strm->avail_out); in inflate_fast()
|
/lib/zlib_deflate/ |
D | deflate.c | 80 static void check_match (deflate_state *s, IPos start, IPos match, 842 IPos start, in check_match() argument 849 (char *)s->window + start, length) != EQUAL) { in check_match() 851 start, match, length); in check_match() 853 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); in check_match() 858 fprintf(stderr,"\\[%d,%d]", start-match, length); in check_match() 859 do { putc(s->window[start++], stderr); } while (--length != 0); in check_match() 863 # define check_match(s, start, match, length) argument
|
/lib/xz/ |
D | xz_dec_lzma2.c | 49 size_t start; member 293 dict->start = 0; in dict_reset() 404 dict->start = dict->pos; in dict_uncompressed() 418 size_t copy_size = dict->pos - dict->start; in dict_flush() 424 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush() 428 dict->start = dict->pos; in dict_flush()
|