Lines Matching refs:id
868 struct aux_cache_entry_id id; member
881 struct aux_cache_entry_id id; /* Unique id of entry. */ member
913 aux_cache_entry_id_hash (struct aux_cache_entry_id *id) in aux_cache_entry_id_hash() argument
915 uint64_t ret = ((id->ino * 11 + id->ctime) * 11 + id->size) * 11 + id->dev; in aux_cache_entry_id_hash()
939 struct aux_cache_entry_id id; in search_aux_cache() local
940 id.ino = (uint64_t) stat_buf->st_ino; in search_aux_cache()
941 id.ctime = (uint64_t) stat_buf->st_ctime; in search_aux_cache()
942 id.size = (uint64_t) stat_buf->st_size; in search_aux_cache()
943 id.dev = (uint64_t) stat_buf->st_dev; in search_aux_cache()
945 unsigned int hash = aux_cache_entry_id_hash (&id); 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()
968 insert_to_aux_cache (struct aux_cache_entry_id *id, int flags, in insert_to_aux_cache() argument
972 size_t hash = aux_cache_entry_id_hash (id) % aux_hash_size; 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()
983 entry->id = *id; in insert_to_aux_cache()
1001 struct aux_cache_entry_id id; in add_to_aux_cache() local
1002 id.ino = (uint64_t) stat_buf->st_ino; in add_to_aux_cache()
1003 id.ctime = (uint64_t) stat_buf->st_ctime; in add_to_aux_cache()
1004 id.size = (uint64_t) stat_buf->st_size; in add_to_aux_cache()
1005 id.dev = (uint64_t) stat_buf->st_dev; in add_to_aux_cache()
1006 insert_to_aux_cache (&id, flags, osversion, isa_level, soname, 1); in add_to_aux_cache()
1052 insert_to_aux_cache (&aux_cache->libs[i].id, in load_aux_cache()
1111 file_entries->libs[idx].id = entry->id; in save_aux_cache()