Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static void | pcache_kv_free (HtUPKv *kv) |
RZ_API bool | rz_io_desc_cache_init (RzIODesc *desc) |
RZ_API int | rz_io_desc_cache_write (RzIODesc *desc, ut64 paddr, const ut8 *buf, int len) |
RZ_API int | rz_io_desc_cache_read (RzIODesc *desc, ut64 paddr, ut8 *buf, int len) |
static void | __riocache_free (void *user) |
static bool | __desc_cache_list_cb (void *user, const ut64 k, const void *v) |
RZ_API RzList * | rz_io_desc_cache_list (RzIODesc *desc) |
static bool | __desc_cache_commit_cb (void *user, const ut64 k, const void *v) |
RZ_API bool | rz_io_desc_cache_commit (RzIODesc *desc) |
static bool | __desc_cache_cleanup_cb (void *user, const ut64 k, const void *v) |
RZ_API void | rz_io_desc_cache_cleanup (RzIODesc *desc) |
static bool | __desc_fini_cb (void *user, void *data, ut32 id) |
RZ_API void | rz_io_desc_cache_fini (RzIODesc *desc) |
RZ_API void | rz_io_desc_cache_fini_all (RzIO *io) |
Variables | |
const ut64 | cleanup_masks [] |
Definition at line 321 of file p_cache.c.
References rz_io_desc_cache_t::cached, cleanup_masks, desc, int, k, RZ_IO_DESC_CACHE_SIZE, rz_io_desc_size(), ut64(), and v.
Referenced by rz_io_desc_cache_cleanup().
Definition at line 278 of file p_cache.c.
References rz_io_desc_cache_t::cached, rz_io_desc_cache_t::cdata, desc, i, k, RZ_IO_DESC_CACHE_SIZE, rz_io_pwrite_at(), ut64(), and v.
Referenced by rz_io_desc_cache_commit().
Definition at line 199 of file p_cache.c.
References __riocache_free(), rz_interval_t::addr, rz_io_desc_cache_t::cached, rz_io_desc_cache_t::cdata, rz_io_cache_t::data, free(), i, rz_io_cache_t::itv, k, malloc(), NULL, realloc(), RZ_IO_DESC_CACHE_SIZE, rz_list_push(), RZ_NEW0, rz_interval_t::size, ut64(), and v.
Referenced by rz_io_desc_cache_list().
|
static |
Definition at line 190 of file p_cache.c.
References rz_io_cache_t::data, free(), and rz_io_cache_t::odata.
Referenced by __desc_cache_list_cb(), and rz_io_desc_cache_list().
|
static |
Definition at line 343 of file p_cache.c.
References __desc_cache_cleanup_cb(), and desc.
Referenced by rz_io_desc_exchange(), and rz_io_desc_resize().
Definition at line 302 of file p_cache.c.
References __desc_cache_commit_cb(), desc, NULL, and RZ_PERM_W.
Referenced by rz_write_pcache_commit_handler().
Definition at line 358 of file p_cache.c.
References __desc_fini_cb(), desc, and NULL.
Referenced by rz_io_desc_free().
Definition at line 362 of file p_cache.c.
References __desc_fini_cb(), rz_io_t::files, NULL, and rz_id_storage_foreach().
Referenced by cb_iopcache(), cb_iopcacheread(), cb_iopcachewrite(), and rz_io_fini().
Definition at line 79 of file p_cache.c.
References desc, NULL, pcache_kv_free(), and true.
Referenced by rz_io_desc_cache_write().
Definition at line 249 of file p_cache.c.
References __desc_cache_list_cb(), __riocache_free(), c, calloc(), desc, NULL, rz_io_pread_at(), rz_itv_begin(), rz_itv_size(), rz_list_free(), rz_list_newf(), and ut64().
Referenced by rz_core_io_pcache_print().
Definition at line 142 of file p_cache.c.
References rz_io_desc_cache_t::cached, rz_io_desc_cache_t::cdata, desc, int, len, NULL, RZ_IO_DESC_CACHE_SIZE, rz_io_desc_size(), and ut64().
Referenced by rz_io_desc_read().
Definition at line 86 of file p_cache.c.
References rz_io_desc_cache_t::cached, rz_io_desc_cache_t::cdata, desc, int, len, NULL, RZ_EVENT_IO_WRITE, rz_event_send(), rz_io_desc_cache_init(), RZ_IO_DESC_CACHE_SIZE, rz_io_desc_size(), RZ_NEW0, and ut64().
Referenced by rz_io_desc_write().
Definition at line 9 of file p_cache.c.
Referenced by __desc_cache_cleanup_cb().