/elf/ |
A D | dl-find_object.c | 111 size_t size; member 176 result->size = 0; in _dlfo_mappings_segment_allocate_unpadded() 197 if (size < minimum_growth) in _dlfo_mappings_segment_allocate() 198 size = minimum_growth; in _dlfo_mappings_segment_allocate() 223 result->size = 0; in _dlfo_mappings_segment_allocate() 317 while (size > 0) in _dlfo_lookup() 324 size -= half + 1; in _dlfo_lookup() 327 size = half; in _dlfo_lookup() 521 if (size < 2) in _dlfo_sort_mappings() 594 if (size < 2) in _dl_find_object_link_map_sort() [all …]
|
A D | dynamic-link.h | 83 struct { ElfW(Addr) start, size; \ 90 ranges[0].size = (map)->l_info[DT_##RELOC##SZ]->d_un.d_val; \ 99 ElfW(Addr) size = (map)->l_info[DT_PLTRELSZ]->d_un.d_val; \ 101 if (ranges[0].start + ranges[0].size == (start + size)) \ 102 ranges[0].size -= size; \ 104 && (ranges[0].start + ranges[0].size) == start) \ 107 ranges[0].size += size; \ 112 ranges[1].size = size; \ 120 ranges[ranges_index].size, \
|
A D | dl-runtime.h | 27 reloc_index (uintptr_t plt0, uintptr_t pltn, size_t size) in reloc_index() argument 29 return pltn / size; in reloc_index()
|
A D | dl-debug-symbols.S | 31 .size _r_debug, R_DEBUG_SIZE 35 .size _r_debug_extended, R_DEBUG_EXTENDED_SIZE
|
A D | dl-minimal-malloc.c | 77 __minimal_calloc (size_t nmemb, size_t size) in __minimal_calloc() argument 82 size_t bytes = nmemb * size; in __minimal_calloc() 85 if (__builtin_expect ((nmemb | size) >= HALF_SIZE_T, 0) in __minimal_calloc() 86 && size != 0 && bytes / size != nmemb) in __minimal_calloc()
|
A D | tst-ldconfig-bad-aux-cache.c | 77 long int size, new_size, i; in do_test() local 90 size = fs.st_size; in do_test() 94 new_size = size * i / 4; in do_test()
|
A D | tst-dlmodcount.c | 30 callback (struct dl_phdr_info *info, size_t size, void *ptr) in callback() argument 35 printf (" size = %Zu\n", size); in callback() 36 if (size < (offsetof (struct dl_phdr_info, dlpi_subs) in callback()
|
A D | dl-fptr.c | 72 new_fdesc_table (struct local *l, size_t *size) in new_fdesc_table() argument 83 *size = old_npages * GLRO(dl_pagesize); in new_fdesc_table() 84 new_table = __mmap (NULL, *size, in new_fdesc_table() 91 = (*size - sizeof (*new_table)) / sizeof (struct fdesc); in new_fdesc_table() 136 size_t size; in make_fdesc() local 137 struct fdesc_table *new_table = new_fdesc_table (l, &size); in make_fdesc() 149 __munmap (new_table, size); in make_fdesc() 173 size_t size; in ElfW() local 181 size = ((len * sizeof (fptr_table[0]) + GLRO(dl_pagesize) - 1) in ElfW() 187 fptr_table = __mmap (NULL, size, in ElfW()
|
A D | tst-dl-iter-static.c | 25 callback (struct dl_phdr_info *info, size_t size, void *data) in callback() argument
|
A D | readelflib.c | 129 ElfW(Addr) size = segment->p_filesz; in process_elf_file() 151 if (size - 32 < note_size || note_size == 0) in process_elf_file() 153 size = 0; in process_elf_file() 156 size -= note_size; in process_elf_file() 160 if (size == 0) in process_elf_file() 178 const ElfW(Addr) size = segment->p_filesz; in process_elf_file() 184 while ((ElfW(Addr)) (uintptr_t) (note + 1) - start < size) in process_elf_file()
|
A D | tst-stringtable.c | 34 TEST_COMPARE (f.size, 0); in do_test() 51 TEST_COMPARE (f.size, 1); in do_test() 68 TEST_COMPARE (f.size, 5); in do_test() 93 TEST_COMPARE (f.size, sizeof ("prefix-suffix")); in do_test() 159 TEST_COMPARE (f.size, 4 + 3 + 4 + 3); in do_test()
|
A D | stringtable.h | 51 size_t size; member
|
A D | dl-lookup.c | 170 size_t idx = hash % size; in enter_unique_sym() 175 if (idx >= size) in enter_unique_sym() 176 idx -= size; in enter_unique_sym() 227 size_t size = tab->size; in do_lookup_unique() local 230 size_t idx = new_hash % size; in do_lookup_unique() 258 if (idx >= size) in do_lookup_unique() 259 idx -= size; in do_lookup_unique() 279 for (idx = 0; idx < size; ++idx) in do_lookup_unique() 286 tab->size = newsize; in do_lookup_unique() 287 size = newsize; in do_lookup_unique() [all …]
|
A D | tst-pldd.c | 110 #define STRINPUT(size) "%" # size "s" in do_test() argument
|
A D | sprof.c | 156 size_t size; member 211 off_t size; member 558 shdr = (ElfW(Shdr) *) alloca (size); in load_shobj() 559 if (pread (fd, shdr, size, ehdr->e_shoff) != size) in load_shobj() 590 debuginfo_fname[size] = '\0'; in load_shobj() 592 != size) in load_shobj() 653 if (pread (fd2, shdr2, size, ehdr2.e_shoff) != size) in load_shobj() 831 result->size = st.st_size; in load_profdata() 1083 newsym->size = sym->st_size; in read_symbols() 1141 newsym->size = symtab->st_size; in read_symbols() [all …]
|
A D | cache.c | 307 ext->sections[cache_extension_tag_generator].size, stdout); in print_extensions() 527 ext->sections[xid].size = strlen (generator); in write_extensions() 535 ext->sections[xid].size = hwcaps_size; in write_extensions() 635 file_entries_new->len_strings = strings_finalized.size; in save_cache() 710 extension_offset += strings_finalized.size; in save_cache() 751 != (ssize_t) strings_finalized.size) in save_cache() 862 uint64_t size; member 942 id.size = (uint64_t) stat_buf->st_size; in search_aux_cache() 950 && id.size == entry->id.size in search_aux_cache() 977 && id->size == entry->id.size in insert_to_aux_cache() [all …]
|
A D | stringtable.c | 155 result->size = 0; in stringtable_finalize() 195 &result->size)) in stringtable_finalize() 201 result->strings = xcalloc (result->size, 1); in stringtable_finalize()
|
A D | dl-tls.c | 424 size_t size = GLRO (dl_tls_static_size); in _dl_allocate_tls_storage() local 430 size += TLS_PRE_TCB_SIZE; in _dl_allocate_tls_storage() 436 void *allocated = malloc (size + alignment + sizeof (void *)); in _dl_allocate_tls_storage() 446 result = aligned + size - TLS_TCB_SIZE; in _dl_allocate_tls_storage() 668 allocate_dtv_entry (size_t alignment, size_t size) in rtld_hidden_def() 673 void *ptr = malloc (size); in rtld_hidden_def() 679 size_t alloc_size = size + alignment; in rtld_hidden_def() 680 if (alloc_size < size) in rtld_hidden_def()
|
A D | dl-iteratephdr.c | 32 size_t size, void *data), void *data) in __dl_iterate_phdr() argument
|
A D | dl-load.c | 870 const ElfW(Addr) size = ph->p_memsz; in _dl_process_pt_gnu_property() 882 while ((ElfW(Addr)) (note + 1) - start < size) in _dl_process_pt_gnu_property() 1569 # define VALID_ELF_HEADER(hdr,exp,size) (memcmp (hdr, exp, size) == 0) in open_verify() argument 1771 ElfW(Addr) size = ph->p_filesz; in open_verify() 1779 if (size < __MAX_ALLOCA_CUTOFF) in open_verify() 1780 abi_note = alloca (size); in open_verify() 1791 ph->p_offset) != size) in open_verify() 1804 if (size - 32 < note_size) in open_verify() 1806 size = 0; in open_verify() 1809 size -= note_size; in open_verify() [all …]
|
A D | dl-close.c | 637 size_t idx, size = tab->size; in _dl_close_worker() local 638 for (idx = 0; idx < size; ++idx) in _dl_close_worker()
|
A D | dl-cache.c | 95 uint32_t length = (ext.sections[cache_extension_tag_glibc_hwcaps].size in glibc_hwcaps_priorities_init()
|
A D | elf.h | 1404 #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size)) argument 1408 #define ELF64_M_INFO(sym, size) ELF32_M_INFO (sym, size) argument 1802 unsigned char size; /* Size of descriptor, including header. */ member
|