Lines Matching refs:mtdoops_context
50 static struct mtdoops_context { struct
66 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used() argument
71 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused()
76 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used()
81 static int mtdoops_erase_block(struct mtdoops_context *cxt, int offset) in mtdoops_erase_block()
109 static void mtdoops_inc_counter(struct mtdoops_context *cxt) in mtdoops_inc_counter()
130 struct mtdoops_context *cxt = in mtdoops_workfunc_erase()
131 container_of(work, struct mtdoops_context, work_erase); in mtdoops_workfunc_erase()
184 static void mtdoops_write(struct mtdoops_context *cxt, int panic) in mtdoops_write()
224 struct mtdoops_context *cxt = in mtdoops_workfunc_write()
225 container_of(work, struct mtdoops_context, work_write); in mtdoops_workfunc_write()
230 static void find_next_position(struct mtdoops_context *cxt) in find_next_position()
288 struct mtdoops_context *cxt = container_of(dumper, in mtdoops_do_dump()
289 struct mtdoops_context, dump); in mtdoops_do_dump()
316 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_notify_add()
370 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_notify_remove()
391 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_init()
429 struct mtdoops_context *cxt = &oops_cxt; in mtdoops_exit()