Lines Matching refs:CACHEFILE

67 typedef struct cachefile *CACHEFILE;  typedef
135 int toku_cachefile_of_filenum (CACHETABLE t, FILENUM filenum, CACHEFILE *cf);
139 int toku_cachefile_of_iname_in_env (CACHETABLE ct, const char *iname_in_env, CACHEFILE *cf);
143 char *toku_cachefile_fname_in_cwd (CACHEFILE cf);
164 int toku_cachetable_openf(CACHEFILE *,CACHETABLE, const char *fname_in_env, int flags, mode_t mode);
167 int toku_cachetable_openfd(CACHEFILE *,CACHETABLE, int fd,
169 int toku_cachetable_openfd_with_filenum (CACHEFILE *,CACHETABLE, int fd,
186 void toku_cachefile_fsync(CACHEFILE cf);
205 typedef void (*CACHETABLE_FLUSH_CALLBACK)(CACHEFILE, int fd, CACHEKEY key, void *value, void **disk…
212 typedef int (*CACHETABLE_FETCH_CALLBACK)(CACHEFILE, PAIR p, int fd, CACHEKEY key, uint32_t fullhash…
280 void toku_cachefile_set_userdata(CACHEFILE cf, void *userdata,
281 void (*log_fassociate_during_checkpoint)(CACHEFILE, void*),
282 void (*close_userdata)(CACHEFILE, int, void*, bool, LSN),
283 void (*free_userdata)(CACHEFILE, void*),
284 void (*checkpoint_userdata)(CACHEFILE, int, void*),
286 void (*end_checkpoint_userdata)(CACHEFILE, int, void*),
287 void (*note_pin_by_checkpoint)(CACHEFILE, void*),
288 void (*note_unpin_by_checkpoint)(CACHEFILE, void*));
294 void *toku_cachefile_get_userdata(CACHEFILE);
297 CACHETABLE toku_cachefile_get_cachetable(CACHEFILE cf);
300 CACHEFILE toku_pair_get_cachefile(PAIR);
316 CACHEFILE cachefile,
334 void toku_cachetable_put(CACHEFILE cf, CACHEKEY key, uint32_t fullhash,
351 CACHEFILE cachefile,
372 CACHEFILE cachefile,
389 CACHEFILE cf,
405 CACHEFILE cf,
418 int toku_cachetable_maybe_get_and_pin (CACHEFILE, CACHEKEY, uint32_t /*fullhash*/, pair_lock_type, …
425 int toku_cachetable_maybe_get_and_pin_clean (CACHEFILE, CACHEKEY, uint32_t /*fullhash*/, pair_lock_…
428 int toku_cachetable_get_attr(CACHEFILE, CACHEKEY, uint32_t /*fullhash*/, PAIR_ATTR *);
433 int toku_cachetable_unpin(CACHEFILE, PAIR, enum cachetable_dirty dirty, PAIR_ATTR size);
440 int toku_cachetable_unpin_ct_prelocked_no_flush(CACHEFILE, PAIR, enum cachetable_dirty dirty, PAIR_…
444 int toku_cachetable_unpin_and_remove (CACHEFILE, PAIR, CACHETABLE_REMOVE_KEY, void*); /* Removing s…
449 int toku_test_cachetable_unpin(CACHEFILE, CACHEKEY, uint32_t fullhash, enum cachetable_dirty dirty,…
452 int toku_test_cachetable_unpin_ct_prelocked_no_flush(CACHEFILE, CACHEKEY, uint32_t fullhash, enum c…
455 int toku_test_cachetable_unpin_and_remove (CACHEFILE, CACHEKEY, CACHETABLE_REMOVE_KEY, void*); /* R…
457 int toku_cachefile_prefetch(CACHEFILE cf, CACHEKEY key, uint32_t fullhash,
485 int toku_cachefile_count_pinned (CACHEFILE, int /*printthem*/ );
493 void toku_cachefile_close (CACHEFILE*, bool oplsn_valid, LSN oplsn);
502 int toku_cachefile_get_fd (CACHEFILE);
506 char * toku_cachefile_fname_in_env (CACHEFILE cf);
508 void toku_cachefile_set_fname_in_env(CACHEFILE cf, char *new_fname_in_env);
511 void toku_cachefile_unlink_on_close(CACHEFILE cf);
514 bool toku_cachefile_is_unlink_on_close(CACHEFILE cf);
516 void toku_cachefile_skip_log_recover_on_close(CACHEFILE cf);
517 void toku_cachefile_do_log_recover_on_close(CACHEFILE cf);
518 bool toku_cachefile_is_skip_log_recover_on_close(CACHEFILE cf);
521 struct tokulogger *toku_cachefile_logger(CACHEFILE cf);
524 FILENUM toku_cachefile_filenum(CACHEFILE cf);
527 uint32_t toku_cachetable_hash(CACHEFILE cf, CACHEKEY key);
529 uint32_t toku_cachefile_fullhash_of_header(CACHEFILE cf);
540 int toku_cachetable_get_key_state(CACHETABLE ct, CACHEKEY key, CACHEFILE cf,
547 void toku_cachefile_verify (CACHEFILE cf);
558 uint64_t toku_cachefile_size(CACHEFILE cf);
566 void cachefile_kibbutz_enq (CACHEFILE cf, void (*f)(void*), void *extra);
569 void remove_background_job_from_cf (CACHEFILE cf);