Home
last modified time | relevance | path

Searched refs:IWDLSNR (Results 1 – 8 of 8) sorted by relevance

/third_party/iowow/src/fs/
Diwdlsnr.h13 typedef struct IWDLSNR { struct
21 iwrc(*onopen)(struct IWDLSNR *self, const char *path, int mode); argument
26 iwrc(*onclosing)(struct IWDLSNR *self); argument
31 iwrc(*onset)(struct IWDLSNR *self, off_t off, uint8_t val, off_t len, int flags); argument
36 iwrc(*oncopy)(struct IWDLSNR *self, off_t off, off_t len, off_t noff, int flags); argument
41 iwrc(*onwrite)(struct IWDLSNR *self, off_t off, const void *buf, off_t len, int flags); argument
50 iwrc(*onresize)(struct IWDLSNR *self, off_t osize, off_t nsize, int flags, bool *handled); argument
55 iwrc(*onsynced)(struct IWDLSNR *self, int flags); argument
57 } IWDLSNR; typedef
Diwfile.h116 IWDLSNR *dlsnr; /**< Optional data listener */
Diwfile.c186 IWDLSNR *l = opts->dlsnr; in iwfs_file_open()
Diwexfile.c42 IWDLSNR *dlsnr; /**< Data events listener */
Diwfsmfile.c93 IWDLSNR *dlsnr; /**< Data events listener */
/third_party/iowow/src/kv/
Diwal.c23 IWDLSNR lsnr;
210 static iwrc _onopen(struct IWDLSNR *self, const char *path, int mode) { in _onopen()
214 static iwrc _onclosing(struct IWDLSNR *self) { in _onclosing()
228 static iwrc _onset(struct IWDLSNR *self, off_t off, uint8_t val, off_t len, int flags) { in _onset()
243 static iwrc _oncopy(struct IWDLSNR *self, off_t off, off_t len, off_t noff, int flags) { in _oncopy()
258 static iwrc _onwrite(struct IWDLSNR *self, off_t off, const void *buf, off_t len, int flags) { in _onwrite()
274 static iwrc _onresize(struct IWDLSNR *self, off_t osize, off_t nsize, int flags, bool *handled) { in _onresize()
296 static iwrc _onsynced(struct IWDLSNR *self, int flags) { in _onsynced()
1055 IWDLSNR *dlsnr = &wal->lsnr; in iwal_create()
1063 iwkv->dlsnr = (IWDLSNR *) wal; in iwal_create()
Diwkv_internal.h261 IWDLSNR *dlsnr; /**< WAL data events listener */
Diwkv.c408 IWDLSNR *dlsnr = db->iwkv->dlsnr; in _db_save()
940 IWDLSNR *dlsnr = kb->db->iwkv->dlsnr; in _kvblk_sync_mm()
981 IWDLSNR *dlsnr = kb->db->iwkv->dlsnr; in KSORT_INIT()
1039 IWDLSNR *dlsnr = kb->db->iwkv->dlsnr; in _kvblk_rmkv()
1118 IWDLSNR *dlsnr = kb->db->iwkv->dlsnr; in _kvblk_addkv()
1240 IWDLSNR *dlsnr = kb->db->iwkv->dlsnr; in _kvblk_updatev()
1369 IWDLSNR *dlsnr = lx->db->iwkv->dlsnr; in _sblk_destroy()
1536 IWDLSNR *dlsnr = lx->db->iwkv->dlsnr; in _sblk_create_v2()
1680 IWDLSNR *dlsnr = lx->db->iwkv->dlsnr; in _sblk_sync_mm()