Lines Matching refs:cb_arg
76 table->cb_arg = arg; in lruhash_create()
111 (*table->delkeyfunc)(p->key, table->cb_arg); in bin_delete()
112 (*table->deldatafunc)(d, table->cb_arg); in bin_delete()
306 struct lruhash_entry* entry, void* data, void* cb_arg) in lruhash_insert() argument
318 if(cb_arg == NULL) cb_arg = table->cb_arg; in lruhash_insert()
339 (*table->delkeyfunc)(entry->key, cb_arg); in lruhash_insert()
342 (*table->deldatafunc)(found->data, cb_arg); in lruhash_insert()
357 (*table->delkeyfunc)(reclaimlist->key, cb_arg); in lruhash_insert()
358 (*table->deldatafunc)(d, cb_arg); in lruhash_insert()
418 (*table->delkeyfunc)(entry->key, table->cb_arg); in lruhash_remove()
419 (*table->deldatafunc)(d, table->cb_arg); in lruhash_remove()
437 (*table->delkeyfunc)(p->key, table->cb_arg); in bin_clear()
438 (*table->deldatafunc)(d, table->cb_arg); in bin_clear()
532 lruhash_update_space_used(struct lruhash* table, void* cb_arg, int diff_size) in lruhash_update_space_used() argument
541 if(cb_arg == NULL) cb_arg = table->cb_arg; in lruhash_update_space_used()
559 (*table->delkeyfunc)(reclaimlist->key, cb_arg); in lruhash_update_space_used()
560 (*table->deldatafunc)(d, cb_arg); in lruhash_update_space_used()
619 struct lruhash_entry* entry, void* data, void* cb_arg) in lruhash_insert_or_retrieve() argument
631 if (cb_arg == NULL) cb_arg = table->cb_arg; in lruhash_insert_or_retrieve()
668 (*table->delkeyfunc)(reclaimlist->key, cb_arg); in lruhash_insert_or_retrieve()
669 (*table->deldatafunc)(d, cb_arg); in lruhash_insert_or_retrieve()