Lines Matching defs:key

59 (*disk_cache_put_cb) (const void *key, signed long keySize,
63 (*disk_cache_get_cb) (const void *key, signed long keySize,
161 * name (or "key"). This is provided via disk_cache_put() and
164 * o The ability to store a key alone and check later whether the
165 * key was previously stored. This is provided via disk_cache_put_key()
195 * Remove the item in the cache under the name \key.
198 disk_cache_remove(struct disk_cache *cache, const cache_key key);
201 * Store an item in the cache under the name \key.
210 disk_cache_put(struct disk_cache *cache, const cache_key key,
215 * Store an item in the cache under the name \key without copying the data param.
226 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
231 * Retrieve an item previously stored in the cache with the name <key>.
244 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
247 * Store the name \key within the cache, (without any associated data).
249 * Later this key can be checked with disk_cache_has_key(), (unless the key
252 * Any call to disk_cache_put_key() may cause an existing, random key to be
256 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
259 * Test whether the name \key was previously recorded in the cache.
262 * \key, (and the key was not evicted in the interim).
266 * disk_cache_has_key() to return true for the same key.
269 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
272 * Compute the name \key from \data of given \size.
276 cache_key key);
297 disk_cache_put(struct disk_cache *cache, const cache_key key,
305 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
313 disk_cache_remove(struct disk_cache *cache, const cache_key key)
319 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size)
325 disk_cache_put_key(struct disk_cache *cache, const cache_key key)
331 disk_cache_has_key(struct disk_cache *cache, const cache_key key)
338 const cache_key key)