Lines Matching refs:entry

273 		     struct file_entry_new *entry)  in glibc_hwcaps_string()  argument
277 if (dl_cache_hwcap_extension (entry) && hwcaps_array != NULL) in glibc_hwcaps_string()
279 uint32_t index = (uint32_t) entry->hwcap; in glibc_hwcaps_string()
555 compute_hwcap_value (struct cache_entry *entry) in compute_hwcap_value() argument
557 if (entry->isa_level > DL_CACHE_HWCAP_ISA_LEVEL_MASK) in compute_hwcap_value()
559 entry->path->string, entry->isa_level, in compute_hwcap_value()
562 | (((uint64_t) entry->isa_level) << 32) in compute_hwcap_value()
563 | entry->hwcaps->section_index); in compute_hwcap_value()
574 struct cache_entry *entry; in save_cache() local
582 for (entry = entries; entry != NULL; entry = entry->next) in save_cache()
585 if (entry->hwcap == 0) in save_cache()
655 for (idx_old = 0, idx_new = 0, entry = entries; entry != NULL; in save_cache()
656 entry = entry->next, ++idx_new) in save_cache()
658 if (opt_format != opt_format_new && entry->hwcap == 0) in save_cache()
660 file_entries->libs[idx_old].flags = entry->flags; in save_cache()
663 file_entries->libs[idx_new].key = str_offset + entry->lib->offset; in save_cache()
665 = str_offset + entry->path->offset; in save_cache()
673 file_entries_new->libs[idx_new].flags = entry->flags; in save_cache()
674 file_entries_new->libs[idx_new].osversion = entry->osversion; in save_cache()
675 if (entry->hwcaps == NULL) in save_cache()
676 file_entries_new->libs[idx_new].hwcap = entry->hwcap; in save_cache()
679 = compute_hwcap_value (entry); in save_cache()
681 = str_offset + entry->lib->offset; in save_cache()
683 = str_offset + entry->path->offset; in save_cache()
687 if (entry->hwcap == 0) in save_cache()
785 entry = entries; in save_cache()
787 free (entry); in save_cache()
946 struct aux_cache_entry *entry; in search_aux_cache() local
947 for (entry = aux_hash[hash % aux_hash_size]; entry; entry = entry->next) in search_aux_cache()
948 if (id.ino == entry->id.ino in search_aux_cache()
949 && id.ctime == entry->id.ctime in search_aux_cache()
950 && id.size == entry->id.size in search_aux_cache()
951 && id.dev == entry->id.dev) in search_aux_cache()
953 *flags = entry->flags; in search_aux_cache()
954 *osversion = entry->osversion; in search_aux_cache()
955 *isa_level = entry->isa_level; in search_aux_cache()
956 if (entry->soname != NULL) in search_aux_cache()
957 *soname = xstrdup (entry->soname); in search_aux_cache()
960 entry->used = 1; in search_aux_cache()
973 struct aux_cache_entry *entry; in insert_to_aux_cache() local
974 for (entry = aux_hash[hash]; entry; entry = entry->next) in insert_to_aux_cache()
975 if (id->ino == entry->id.ino in insert_to_aux_cache()
976 && id->ctime == entry->id.ctime in insert_to_aux_cache()
977 && id->size == entry->id.size in insert_to_aux_cache()
978 && id->dev == entry->id.dev) in insert_to_aux_cache()
982 entry = xmalloc (sizeof (struct aux_cache_entry) + len); in insert_to_aux_cache()
983 entry->id = *id; in insert_to_aux_cache()
984 entry->flags = flags; in insert_to_aux_cache()
985 entry->osversion = osversion; in insert_to_aux_cache()
986 entry->isa_level = isa_level; in insert_to_aux_cache()
987 entry->used = used; in insert_to_aux_cache()
989 entry->soname = memcpy ((char *) (entry + 1), soname, len); in insert_to_aux_cache()
991 entry->soname = NULL; in insert_to_aux_cache()
992 entry->next = aux_hash[hash]; in insert_to_aux_cache()
993 aux_hash[hash] = entry; in insert_to_aux_cache()
1074 for (struct aux_cache_entry *entry = aux_hash[i]; in save_aux_cache() local
1075 entry != NULL; entry = entry->next) in save_aux_cache()
1076 if (entry->used) in save_aux_cache()
1079 if (entry->soname != NULL) in save_aux_cache()
1080 total_strlen += strlen (entry->soname) + 1; in save_aux_cache()
1107 for (struct aux_cache_entry *entry = aux_hash[i]; in save_aux_cache() local
1108 entry != NULL; entry = entry->next) in save_aux_cache()
1109 if (entry->used) in save_aux_cache()
1111 file_entries->libs[idx].id = entry->id; in save_aux_cache()
1112 file_entries->libs[idx].flags = entry->flags; in save_aux_cache()
1113 if (entry->soname == NULL) in save_aux_cache()
1119 size_t len = strlen (entry->soname) + 1; in save_aux_cache()
1120 str = mempcpy (str, entry->soname, len); 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()