Lines Matching defs:chfs_ebh
105 struct chfs_ebh;
218 int (*read_eb_hdr)(struct chfs_ebh *ebh, int pebnr,
220 int (*write_eb_hdr)(struct chfs_ebh *ebh, int pebnr,
222 int (*check_eb_hdr)(struct chfs_ebh *ebh, void *buf);
223 int (*mark_eb_hdr_dirty_flash)(struct chfs_ebh *ebh, int pebnr, int lid);
224 int (*invalidate_eb_hdr)(struct chfs_ebh *ebh, int pebnr);
225 int (*mark_eb_hdr_free)(struct chfs_ebh *ebh, int pebnr, int ec);
227 int (*process_eb)(struct chfs_ebh *ebh, struct chfs_scan_info *si,
231 int (*calc_data_offs)(struct chfs_ebh *ebh, int pebnr, int offset);
248 * struct chfs_ebh - eraseblock handler descriptor
267 struct chfs_ebh {
295 struct chfs_ebh *ebh;
301 int ebh_open(struct chfs_ebh *ebh, dev_t dev);
302 int ebh_close(struct chfs_ebh *ebh);
303 int ebh_read_leb(struct chfs_ebh *ebh, int lnr, char *buf,
305 int ebh_write_leb(struct chfs_ebh *ebh, int lnr, char *buf,
307 int ebh_erase_leb(struct chfs_ebh *ebh, int lnr);
308 int ebh_map_leb(struct chfs_ebh *ebh, int lnr);
309 int ebh_unmap_leb(struct chfs_ebh *ebh, int lnr);
310 int ebh_is_mapped(struct chfs_ebh *ebh, int lnr);
311 int ebh_change_leb(struct chfs_ebh *ebh, int lnr, char *buf,