Lines Matching defs:entry
101 * If key is already present data pointer in that entry is updated.
105 * @param entry: identifies the entry.
106 * If key already present, this entry->key is deleted immediately.
107 * But entry->data is set to NULL before deletion, and put into
108 * the existing entry. The data is then freed.
113 struct lruhash_entry* entry, void* data, void* cb_override);
116 * Lookup an entry in the hashtable. Uses lruhash_lookup.
117 * At the end of the function you hold a (read/write)lock on the entry.
118 * The LRU is updated for the entry (if found).
123 * @param wr: set to true if you desire a writelock on the entry.
125 * @return: pointer to the entry or NULL. The entry is locked.
126 * The user must unlock the entry when done.
132 * Remove entry from hashtable. Does nothing if not found in hashtable.
133 * Delfunc is called for the entry. Uses lruhash_remove.
192 /** the entry */
193 struct lruhash_entry entry;