Home
last modified time | relevance | path

Searched refs:IWFS_FILE (Results 1 – 4 of 4) sorted by relevance

/third_party/iowow/src/fs/
Diwfile.h134 typedef struct IWFS_FILE { struct
147 iwrc(*write)(struct IWFS_FILE *f, off_t off, const void *buf, size_t siz, size_t *sp); argument
159 iwrc(*read)(struct IWFS_FILE *f, off_t off, void *buf, size_t siz, size_t *sp); argument
165 iwrc(*close)(struct IWFS_FILE *f); argument
172 iwrc(*sync)(struct IWFS_FILE *f, iwfs_sync_flags flags); argument
182 iwrc(*state)(struct IWFS_FILE *f, IWFS_FILE_STATE *state); argument
191 iwrc(*copy)(struct IWFS_FILE *f, off_t off, size_t siz, off_t noff); argument
193 } IWFS_FILE; typedef
216 IW_EXPORT WUR iwrc iwfs_file_open(IWFS_FILE *f, const IWFS_FILE_OPTS *opts);
Diwfile.c47 static iwrc _iwfs_write(struct IWFS_FILE *f, off_t off, const void *buf, size_t siz, size_t *sp) { in _iwfs_write()
63 static iwrc _iwfs_read(struct IWFS_FILE *f, off_t off, void *buf, size_t siz, size_t *sp) { in _iwfs_read()
72 static iwrc _iwfs_close(struct IWFS_FILE *f) { in _iwfs_close()
97 static iwrc _iwfs_sync(struct IWFS_FILE *f, iwfs_sync_flags flags) { in _iwfs_sync()
123 static iwrc _iwfs_state(struct IWFS_FILE *f, IWFS_FILE_STATE *state) { in _iwfs_state()
138 static iwrc _iwfs_copy(struct IWFS_FILE *f, off_t off, size_t siz, off_t noff) { in _iwfs_copy()
154 iwrc iwfs_file_open(IWFS_FILE *f, const IWFS_FILE_OPTS *_opts) { in iwfs_file_open()
Diwexfile.c41 IWFS_FILE file; /**< Underlying file */
/third_party/iowow/src/kv/
Diwkv.c3297 IWFS_FILE f = {0}, w = {0}; in _iwkv_check_online_backup()