Lines Matching defs:key
110 (*table->delkeyfunc)(p->key, table->cb_arg);
209 table->space_used -= table->sizefunc(d->key, d->data);
211 (*table->markdelfunc)(d->key);
219 struct lruhash_bin* bin, hashvalue_type hash, void* key)
223 if(p->hash == hash && table->compfunc(p->key, key) == 0)
311 need_size = table->sizefunc(entry->key, data);
320 if(!(found=bin_find_entry(table, bin, hash, entry->key))) {
330 (*table->sizefunc)(found->key, found->data);
331 (*table->delkeyfunc)(entry->key, cb_arg);
349 (*table->delkeyfunc)(reclaimlist->key, cb_arg);
356 lruhash_lookup(struct lruhash* table, hashvalue_type hash, void* key, int wr)
365 if((entry=bin_find_entry(table, bin, hash, key)))
378 lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key)
392 if((entry=bin_find_entry(table, bin, hash, key))) {
401 table->space_used -= (*table->sizefunc)(entry->key, entry->data);
404 (*table->markdelfunc)(entry->key);
410 (*table->delkeyfunc)(entry->key, table->cb_arg);
427 (*table->markdelfunc)(p->key);
429 (*table->delkeyfunc)(p->key, table->cb_arg);
587 need_size = table->sizefunc(entry->key, data);
596 if ((found = bin_find_entry(table, bin, hash, entry->key)) != NULL) {
623 (*table->delkeyfunc)(reclaimlist->key, cb_arg);