Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 13 of 13) sorted by relevance

/elf/
A Dtlsdeschtab.h49 size_t idx = map->l_tls_modid; in map_generation() local
56 if (idx < listp->len) in map_generation()
62 if (listp->slotinfo[idx].map == map && listp->slotinfo[idx].gen) in map_generation()
63 return listp->slotinfo[idx].gen; in map_generation()
67 idx -= listp->len; in map_generation()
A Dtst-dl_find_object-threads.c227 long int idx; in do_test() local
228 lrand48_r (&state, &idx); in do_test()
229 idx %= array_length (temp_objects); in do_test()
230 if (temp_objects[idx].link_map == NULL) in do_test()
232 temp_objects[idx].link_map = xdlopen (temp_objects[idx].soname, in do_test()
234 temp_objects[idx].address = xdlsym (temp_objects[idx].link_map, in do_test()
235 temp_objects[idx].symbol); in do_test()
239 xdlclose (temp_objects[idx].link_map); in do_test()
240 temp_objects[idx].link_map = NULL; in do_test()
242 int ret = _dl_find_object (temp_objects[idx].address, &dlfo); in do_test()
[all …]
A Ddl-close.c53 if (idx - disp >= listp->len) in remove_slotinfo()
70 idx = disp + listp->len; in remove_slotinfo()
99 --idx; in remove_slotinfo()
175 int idx = 0; in _dl_close_worker() local
180 l->l_idx = idx; in _dl_close_worker()
181 maps[idx] = l; in _dl_close_worker()
182 ++idx; in _dl_close_worker()
184 assert (idx == nloaded); in _dl_close_worker()
638 for (idx = 0; idx < size; ++idx) in _dl_close_worker()
645 entries[idx].name = NULL; in _dl_close_worker()
[all …]
A Dsprof.c143 size_t idx; member
573 for (int idx = 0; idx < ehdr->e_shnum; ++idx) in load_shobj() local
577 symtab_entry = &shdr[idx]; in load_shobj()
666 for (int idx = 0; idx < ehdr2.e_shnum; ++idx) in load_shobj() local
670 symtab_entry = &shdr2[idx]; in load_shobj()
755 size_t idx; in load_profdata() local
937 for (idx = 0; idx < MIN (*narcsp, fromlimit); ++idx) in load_profdata()
1217 newp->idx = (size_t) -1l; in add_arcs()
1237 && (runp->idx == (size_t) -1l in add_arcs()
1352 (runp->idx != (size_t) -1l in generate_call_graph()
[all …]
A Ddl-object.c153 int idx = 0; in _dl_new_object() local
157 new->l_scope[idx++] = &GL(dl_ns)[nsid]._ns_loaded->l_searchlist; in _dl_new_object()
168 if (idx == 0 || &loader->l_searchlist != new->l_scope[0]) in _dl_new_object()
170 if ((mode & RTLD_DEEPBIND) != 0 && idx != 0) in _dl_new_object()
173 idx = 0; in _dl_new_object()
176 new->l_scope[idx] = &loader->l_searchlist; in _dl_new_object()
A Ddl-sysdep.c325 unsigned int idx = (unsigned int) (av->a_type - 2); in _dl_show_auxv() local
328 || (idx < sizeof (auxvars) / sizeof (auxvars[0]) in _dl_show_auxv()
329 && auxvars[idx].form == ignore)) in _dl_show_auxv()
339 if (idx < sizeof (auxvars) / sizeof (auxvars[0]) in _dl_show_auxv()
340 && auxvars[idx].form != unknown) in _dl_show_auxv()
344 if (__builtin_expect (auxvars[idx].form, dec) == dec) in _dl_show_auxv()
347 else if (__builtin_expect (auxvars[idx].form, hex) == hex) in _dl_show_auxv()
351 _dl_printf ("AT_%s%s\n", auxvars[idx].label, val); in _dl_show_auxv()
A Ddl-lookup.c174 idx += hash2; in enter_unique_sym()
175 if (idx >= size) in enter_unique_sym()
176 idx -= size; in enter_unique_sym()
180 table[idx].name = name; in enter_unique_sym()
181 table[idx].sym = sym; in enter_unique_sym()
182 table[idx].map = map; in enter_unique_sym()
257 idx += hash2; 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()
[all …]
A Ddl-tls.c736 while (idx >= listp->len) in _dl_update_slotinfo()
738 idx -= listp->len; in _dl_update_slotinfo()
854 while (idx >= listp->len) in tls_get_addr_tail()
856 idx -= listp->len; in tls_get_addr_tail()
977 size_t idx = l->l_tls_modid; in _dl_tls_get_addr_soft() local
979 while (idx >= listp->len) in _dl_tls_get_addr_soft()
981 idx -= listp->len; in _dl_tls_get_addr_soft()
1010 size_t idx = l->l_tls_modid; in _dl_add_to_slotinfo() local
1018 if (idx < listp->len) in _dl_add_to_slotinfo()
1020 idx -= listp->len; in _dl_add_to_slotinfo()
[all …]
A Ddl-profile.c192 size_t idx; in _dl_start_profile() local
446 for (idx = narcs = MIN (*narcsp, fromlimit); idx > 0; ) in _dl_start_profile()
450 --idx; in _dl_start_profile()
451 to_index = (data[idx].self_pc / (HASHFRACTION * sizeof (*tos))); in _dl_start_profile()
453 froms[newfromidx].here = &data[idx]; in _dl_start_profile()
A Ddl-find_object.c830 for (int idx = 0; idx < 2; ++idx) in _dl_find_object_freeres() local
832 for (struct dlfo_mappings_segment *seg = _dlfo_loaded_mappings[idx]; in _dl_find_object_freeres()
840 _dlfo_loaded_mappings[idx] = 0; in _dl_find_object_freeres()
A Ddl-hwcaps.c306 #define add(idx) \ in _dl_important_hwcaps() argument
307 cp = __mempcpy (__mempcpy (cp, temp[idx].str, temp[idx].len), "/", 1); in _dl_important_hwcaps()
A Ddl-load.c170 for (size_t idx = 0; idx < nsystem_dirs_len; ++idx) in is_trusted_path_normalize() local
172 if (wnp - npath >= system_dirs_len[idx] in is_trusted_path_normalize()
173 && memcmp (trun, npath, system_dirs_len[idx]) == 0) in is_trusted_path_normalize()
177 trun += system_dirs_len[idx] + 1; in is_trusted_path_normalize()
707 size_t idx; in _dl_init_paths() local
750 idx = 0; in _dl_init_paths()
762 pelem->dirnamelen = system_dirs_len[idx]; in _dl_init_paths()
763 strp += system_dirs_len[idx] + 1; in _dl_init_paths()
774 while (idx < nsystem_dirs_len); in _dl_init_paths()
2294 unsigned int idx; member
[all …]
A Dcache.c1105 size_t idx = 0; in save_aux_cache() local
1111 file_entries->libs[idx].id = entry->id; in save_aux_cache()
1112 file_entries->libs[idx].flags = entry->flags; in save_aux_cache()
1114 file_entries->libs[idx].soname = 0; in save_aux_cache()
1117 file_entries->libs[idx].soname = str_offset; in save_aux_cache()
1123 file_entries->libs[idx].osversion = entry->osversion; in save_aux_cache()
1124 file_entries->libs[idx++].isa_level = entry->isa_level; in save_aux_cache()

Completed in 25 milliseconds